pmodels / mpich

Official MPICH Repository
http://www.mpich.org
Other
536 stars 280 forks source link

smpd + mpiexec_rsh.c #354

Closed mpichbot closed 7 years ago

mpichbot commented 7 years ago

Originally by Jeffrey Frey frey@UDel.Edu on 2009-01-13 13:54:31 -0600



Another bug with smpd and mpiexec_rsh startup:  the working directory
is never passed to the rsh invocations.  E.g. I run the job from /
home/frey/mpitest and have the program attempting to open "test.in"
and it fails since the "rsh" puts me in /home/frey.  So relative
paths will never work with mpiexec_rsh startup.

::::::::::::::::::::::::::::::::::::::::::::::::::::::
   Jeffrey T. Frey, Ph.D.
   Systems Programmer IV / Cluster Management
   Network & Systems Services / College of Engineering
   University of Delaware, Newark DE  19716
   Office: (302) 831-6034  Mobile: (302) 419-4976
   http://turin.nss.udel.edu/

   99 A1 7F 5E 71 70 8A 38  3C 4A A2 B1 4D 0A B2 49
::::::::::::::::::::::::::::::::::::::::::::::::::::::
mpichbot commented 7 years ago

Originally by Jeffrey Frey on 2009-01-13 13:54:31 -0600


This message has 0 attachment(s)

mpichbot commented 7 years ago

Originally by jayesh on 2009-05-11 09:38:54 -0500


Moving this ticket to 1.1.1 since we are too close to 1.1rc1 . We need to handle the case where changing directory to the working directory fails for the launched processes. We need to at least document this case and a solution before fixing this ticket.

Regards, Jayesh

mpichbot commented 7 years ago

Originally by jayesh on 2009-06-30 15:35:50 -0500


It is not trivial to handle the failure case (if path not existent back off to home directory) in the current code. The default case should work without any surprises for existing users (Users specifying full path of executable). So the fix is not to fix anything in the code (Moreover we are moving to hydra - the new process manager for MPICH2 - soon...). Added document regarding usage of relative paths in the windev guide ([1064056754958bb573f026c9688d6c386c8260f4]).

Regards, Jayesh