Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] opal_cr_tmp_dir
From: Josh Hursey (jjhursey_at_[hidden])
Date: 2010-05-18 10:23:50


When you defined them in your environment did you prefix them with
'OMPI_MCA_'? Open MPI looks for this prefix to identify which
parameters are intended for it specifically.

-- Josh

On May 12, 2010, at 11:09 PM, <ananda.mudar_at_[hidden]> <ananda.mudar_at_[hidden]
> wrote:

> Ralph
>
> Defining these parameters in my environment also did not resolve the
> problem. Whenever I restart my program, the temporary files are
> getting stored in the default /tmp directory instead of the
> directory I had defined.
>
> Thanks
>
> Ananda
>
> =================
>
> Subject: Re: [OMPI users] opal_cr_tmp_dir
> From: Ralph Castain (rhc_at_[hidden])
> Date: 2010-05-12 19:48:16
>
> • Previous message: ananda.mudar_at_[hidden]: "Re: [OMPI users]
> opal_cr_tmp_dir"
> • In reply to: ananda.mudar_at_[hidden]: "Re: [OMPI users]
> opal_cr_tmp_dir"
> Define them in your environment prior to executing any of those
> commands.
>
> On May 12, 2010, at 4:43 PM, <ananda.mudar_at_[hidden]> wrote:
>
> > Ralph
> >
> > When you say manually, do you mean setting these parameters in the
> command line while calling mpirun, ompi-restart, and ompi-
> checkpoint? Or is there another way to set these parameters?
> >
> > Thanks
> >
> > Ananda
> >
> > ==================
> >
> > Subject: Re: [OMPI users] opal_cr_tmp_dir
> > From: Ralph Castain (rhc_at_[hidden])
> > Date: 2010-05-12 18:09:17
> >
> > Previous message: ananda.mudar_at_[hidden]: "Re: [OMPI users]
> opal_cr_tmp_dir"
> > In reply to: ananda.mudar_at_[hidden]: "Re: [OMPI users]
> opal_cr_tmp_dir"
> > You shouldn't have to, but there may be a bug in the system. Try
> manually setting both envars and see if it fixes the problem.
> >
> > On May 12, 2010, at 3:59 PM, <ananda.mudar_at_[hidden]> wrote:
> >
> > > Ralph
> > >
> > > I have these parameters set in ~/.openmpi/mca-params.conf file
> > >
> > > $ cat ~/.openmpi/mca-params.conf
> > >
> > > orte_tmpdir_base = /home/ananda/ORTE
> > >
> > > opal_cr_tmp_dir = /home/ananda/OPAL
> > >
> > > $
> > >
> > >
> > >
> > > Should I be setting OMPI_MCA_opal_cr_tmp_dir?
> > >
> > >
> > >
> > > FYI, I am using openmpi 1.3.4 with blcr 0.8.2
> > >
> > >
> > > Thanks
> > >
> > > Ananda
> > >
> > > =============================
> > >
> > > Subject: Re: [OMPI users] opal_cr_tmp_dir
> > > From: Ralph Castain (rhc_at_[hidden])
> > > Date: 2010-05-12 16:47:16
> > >
> > > Previous message: Jeff Squyres: "Re: [OMPI users] getc in openmpi"
> > > In reply to: ananda.mudar_at_[hidden]: "Re: [OMPI users]
> opal_cr_tmp_dir"
> > > ompi-restart just does a fork/exec of the mpirun, so it should
> get the param if it is in your environ. How are you setting it? Have
> you tried adding OMPI_MCA_opal_cr_tmp_dir=<whatever> to your
> environment?
> > >
> > > On May 12, 2010, at 12:45 PM, <ananda.mudar_at_[hidden]> wrote:
> > >
> > > > Thanks Ralph.
> > > >
> > > > Another question. Even though I am setting opal_cr_tmp_dir to
> a directory other than /tmp while calling ompi-restart command, this
> setting is not getting passed to the mpirun command that gets
> generated by ompi-restart. How do I overcome this constraint?
> > > >
> > > >
> > > >
> > > > Thanks
> > > >
> > > > Ananda
> > > >
> > > > ==============
> > > >
> > > > Subject: Re: [OMPI users] opal_cr_tmp_dir
> > > > From: Ralph Castain (rhc_at_[hidden])
> > > > Date: 2010-05-12 14:38:00
> > > >
> > > > Previous message: ananda.mudar_at_[hidden]: "[OMPI users]
> opal_cr_tmp_dir"
> > > > In reply to: ananda.mudar_at_[hidden]: "[OMPI users]
> opal_cr_tmp_dir"
> > > > It's a different MCA param: orte_tmpdir_base
> > > >
> > > > On May 12, 2010, at 12:33 PM, <ananda.mudar_at_[hidden]> wrote:
> > > >
> > > > > I am setting the MCA parameter “opal_cr_tmp_dir” to a
> directory other than /tmp while calling “mpirun”, “ompi-restart”,
> and “ompi-checkpoint” commands so that I don’t fill up /tmp
> filesystem. But I see that openmpi-sessions* directory is still
> getting created under /tmp. How do I overcome this problem so that
> openmpi-sessions* directory also gets created under the same
> directory I have defined for “opal_cr_tmp_dir”?
> > > > >
> > > > > Is there a way to clean up these temporary files after their
> requirement is over?
> > > > >
> > > > > Thanks
> > > > > Ananda
> > > > > Please do not print this email unless it is absolutely
> necessary.
> > > > >
> > > > > The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of
> the addressee(s) and may contain proprietary, confidential or
> privileged information. If you are not the intended recipient, you
> should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately and destroy all copies of this message
> and any attachments.
> > > > >
> > > > > WARNING: Computer viruses can be transmitted via email. The
> recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email.
> > > > >
> > > > > www.wipro.com
> > > > >
> > > > > _______________________________________________
> > > > > users mailing list
> > > > > users_at_[hidden]
> > > > > http://www.open-mpi.org/mailman/listinfo.cgi/users
> > > >
> > > > Please do not print this email unless it is absolutely
> necessary.
> > > >
> > > > The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of
> the addressee(s) and may contain proprietary, confidential or
> privileged information. If you are not the intended recipient, you
> should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately and destroy all copies of this message
> and any attachments.
> > > >
> > > > WARNING: Computer viruses can be transmitted via email. The
> recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email.
> > > >
> > > > www.wipro.com
> > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > users_at_[hidden]
> > > > http://www.open-mpi.org/mailman/listinfo.cgi/users
> > >
> > >
> > >
> > > Ananda B Mudar, PMP
> > > Senior Technical Architect
> > > Wipro Technologies
> > > Ph: 972 765 8093 972 765 8093
> > > ananda.mudar_at_[hidden]
> > >
> > > Please do not print this email unless it is absolutely necessary.
> > >
> > > The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of
> the addressee(s) and may contain proprietary, confidential or
> privileged information. If you are not the intended recipient, you
> should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately and destroy all copies of this message
> and any attachments.
> > >
> > > WARNING: Computer viruses can be transmitted via email. The
> recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email.
> > >
> > > www.wipro.com
> > >
> > > _______________________________________________
> > > users mailing list
> > > users_at_[hidden]
> > > http://www.open-mpi.org/mailman/listinfo.cgi/users
> >
> > Please do not print this email unless it is absolutely necessary.
> >
> > The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of
> the addressee(s) and may contain proprietary, confidential or
> privileged information. If you are not the intended recipient, you
> should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately and destroy all copies of this message
> and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The
> recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email.
> >
> > www.wipro.com
> >
> > _______________________________________________
> > users mailing list
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of
> the addressee(s) and may contain proprietary, confidential or
> privileged information. If you are not the intended recipient, you
> should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately and destroy all copies of this message
> and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The
> recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email.
>
> www.wipro.com
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users