Hello,

I can see that Patrick posted my same error on:

http://www.open-mpi.org/community/lists/devel/2006/12/1230.php

Can I please find out the status?   I have a simple test case which
demonstrates the --prefix is not working on mpirun. I build into /usr/local/openmpi-1.1.3 and it works. However, if I copy the files, remove the /usr/local/openmpi-1.1.3/lib
and try to point to my new directory of /tmp/openmpi-1.1.3, it fails.


prompt <154> /usr/local/openmpi-1.1.3/bin/mpirun -n 1 --host em64t hostname
em64t
prompt <155> cp -r /usr/local/openmpi-1.1.3 /tmp
prompt <156> /tmp/openmpi-1.1.3/bin/mpirun -n 1 --host em64t hostname
em64t

# As ROOT:
[root@em64t openmpi-1.1.3]# mv /usr/local/openmpi-1.1.3/lib /usr/local/openmpi-1.1.3/LLL


prompt <157> /tmp/openmpi-1.1.3/bin/mpirun -n 1 --host em64t --prefix /tmp/openmpi-1.1.3 hostname [em64t:26023] [NO-NAME] ORTE_ERROR_LOG: Not found in file runtime/orte_init_stage1.c at line 214
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

 orte_sds_base_select failed
 --> Returned value -13 instead of ORTE_SUCCESS

--------------------------------------------------------------------------
[em64t:26023] [NO-NAME] ORTE_ERROR_LOG: Not found in file runtime/orte_system_init.c at line 42 [em64t:26023] [NO-NAME] ORTE_ERROR_LOG: Not found in file runtime/orte_init.c at line 49
--------------------------------------------------------------------------
Open RTE was unable to initialize properly.  The error occured while
attempting to orte_init().  Returned value -13 instead of ORTE_SUCCESS.
--------------------------------------------------------------------------


The man page implies that --prefix would work. I know my example is silly. The real case involves going over a cluster, but the above is the simpliest case I could create.
From the man page:

  --prefix <dir>
Prefix directory that will be used to set the PATH and LD_LIBRARY_PATH on the remote node before invoking Open MPI or the target process. See the "Remote Execution" section,
                below.

BTW - I am trying to migrate from LAM to OpenMPI.  The switch was
very painless.   Thanks for the good work.

Regards,
Joe


Reply via email to