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.mu...@wipro.com> 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
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to