That option is only available on the trunk at the moment. I filed a
ticket to move the functionality to the 1.5 branch:
  https://svn.open-mpi.org/trac/ompi/ticket/2890

The work around would be to take the appfile generated from
"ompi-restart --apponly ompi_snapshot...", and then run mpirun with
the options followed by the generated appfile.
 shell$ mpirun -np 10 -npernode 2 appfile_from_ompi_restart

Not as pretty, but it should work.

-- Josh

On Tue, Oct 18, 2011 at 11:28 AM, Faisal Shahzad <itsfa...@hotmail.com> wrote:
> I am using openmpi v1.5.3
> regards,
> Faisal
>
>> Date: Tue, 18 Oct 2011 11:17:33 -0400
>> From: jjhur...@open-mpi.org
>> To: us...@open-mpi.org
>> Subject: Re: [OMPI users] Question regarding mpirun options with
>> ompi-restart
>>
>> That command line option may be only available on the trunk. What
>> version of Open MPI are you using?
>>
>> -- Josh
>>
>> On Tue, Oct 18, 2011 at 11:14 AM, Faisal Shahzad <itsfa...@hotmail.com>
>> wrote:
>> > Hi,
>> > Thank you for your reply.
>> > I actually do not see option flag '--mpirun_opts' with 'ompi-restart
>> > --help'.
>> > Besides, I could only find 'mpirun_opts'
>> > in /ompi-trunk/orte/tools/orte-restart/
>> >
>> > https://svn.open-mpi.org/source/search?q=mpirun_opts+&defs=&refs=&path=&hist=
>> > Kind regards,
>> > Faisal
>> >> Date: Tue, 18 Oct 2011 10:01:25 -0400
>> >> From: jjhur...@open-mpi.org
>> >> To: us...@open-mpi.org
>> >> Subject: Re: [OMPI users] Question regarding mpirun options with
>> >> ompi-restart
>> >>
>> >> I'll preface my response with the note that I have not tried any of
>> >> those options with the C/R functionality. It should just work, but I
>> >> am not 100% certain. If it doesn't, let me know and I'll file a bug to
>> >> fix it.
>> >>
>> >> You can pass any mpirun option through ompi-restart by using the
>> >> --mpirun_opts option.
>> >> http://osl.iu.edu/research/ft/ompi-cr/tools.php#ompi-restart
>> >>
>> >> So something like:
>> >> shell$ ompi-restart --mpirun_opts "-npernode 2"
>> >> ompi-global-snapshot-1234
>> >>
>> >> -- Josh
>> >>
>> >> On Tue, Oct 18, 2011 at 7:45 AM, Faisal Shahzad <itsfa...@hotmail.com>
>> >> wrote:
>> >> > Dear Group,
>> >> > I am using  openmpi/1.5.3 and using ompi-checkpoint to checkpoint my
>> >> > applicaiton. I use some mpirun option flags (-npernode, -npersocket,
>> >> > binding
>> >> > options etc. ) for mpirun. It works fine.
>> >> > My question is that is it possible to specify these mpirun options
>> >> > (-npernode, -npersocket, binding options etc. ) for ompi-restart?
>> >> > I will be thankful for your reply.
>> >> > Kind regards,
>> >> > Faisal
>> >> > _______________________________________________
>> >> > users mailing list
>> >> > us...@open-mpi.org
>> >> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Joshua Hursey
>> >> Postdoctoral Research Associate
>> >> Oak Ridge National Laboratory
>> >> http://users.nccs.gov/~jjhursey
>> >>
>> >> _______________________________________________
>> >> users mailing list
>> >> us...@open-mpi.org
>> >> http://www.open-mpi.org/mailman/listinfo.cgi/users
>> >
>> > _______________________________________________
>> > users mailing list
>> > us...@open-mpi.org
>> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>> >
>>
>>
>>
>> --
>> Joshua Hursey
>> Postdoctoral Research Associate
>> Oak Ridge National Laboratory
>> http://users.nccs.gov/~jjhursey
>>
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



-- 
Joshua Hursey
Postdoctoral Research Associate
Oak Ridge National Laboratory
http://users.nccs.gov/~jjhursey

Reply via email to