Hi John Doe What you need to add to LD_LIBRARY_PATH is /opt/ompi/gnu/1.4.4/lib [note 'lib' at the end]. Your email seems to say that you added /opt/ompi/gnu/1.4.4/lib/openmpi instead, if I understood it right. And to your PATH you need to add the corresponding 'bin' directory: /opt/ompi/gnu/1.4.4/bin. The rule here is your installation prefix /opt/ompi/gnu/1.4.4/ with 'lib' or 'bin' at the end.
I hope this helps, Frank Capra On Dec 6, 2011, at 5:54 PM, John Doe wrote: > I recently built and installed openmpi on my 64 bit linux machine running > centOS 6. > However whenever I try mpirun I get the error message: > > [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file runtime/orte_init.c at > line 125 > orte_ess_base_select failed > > Actually here's the full error transcript: > ==================================================================================================== > >> mpiexec -n 4 object/a.out > [ellipse:01480] mca: base: component_find: unable to open > /opt/ompi/gnu/1.4.4/lib/openmpi/mca_paffinity_linux: file not found (ignored) > [ellipse:01480] mca: base: component_find: unable to open > /opt/ompi/gnu/1.4.4/lib/openmpi/mca_carto_auto_detect: file not found > (ignored) > [ellipse:01480] mca: base: component_find: unable to open > /opt/ompi/gnu/1.4.4/lib/openmpi/mca_carto_file: file not found (ignored) > [ellipse:01480] mca: base: component_find: unable to open > /opt/ompi/gnu/1.4.4/lib/openmpi/mca_ess_env: file not found (ignored) > [ellipse:01480] mca: base: component_find: unable to open > /opt/ompi/gnu/1.4.4/lib/openmpi/mca_ess_hnp: file not found (ignored) > [ellipse:01480] mca: base: component_find: unable to open > /opt/ompi/gnu/1.4.4/lib/openmpi/mca_ess_singleton: file not found (ignored) > [ellipse:01480] mca: base: component_find: unable to open > /opt/ompi/gnu/1.4.4/lib/openmpi/mca_ess_slurm: file not found (ignored) > [ellipse:01480] mca: base: component_find: unable to open > /opt/ompi/gnu/1.4.4/lib/openmpi/mca_ess_tool: file not found (ignored) > [ellipse:01480] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file > runtime/orte_init.c at line 125 > -------------------------------------------------------------------------- > 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_ess_base_select failed > --> Returned value Not found (-13) instead of ORTE_SUCCESS > -------------------------------------------------------------------------- > > ============================================================================================================= > > > Here are the configure options I used to build openmpi: > ./configure --prefix=/opt/ompi/gnu/1.4.4 CC=gcc -m64 CXX=g++ -m64 FC=gfortran > -m64 F77=gfortran -m64 CFLAGS=-O2 -g CXXFLAGS=-O2 -g FCFLAGS=-O2 -g > FFLAGS=-O2 -g --enable-debug --enable-shared=gcc > --with-valgrind=/opt/valgrind --with-devel-headers --enable-mem-profile > --enable-orterun-prefix-by-default --enable-memchecker > > Does anyone have any idea what these errors are. I tried recompiling with the > --enable-orterun-prefix-by-default flag. Also while those files e.g > mca_ess_tool are not found, the static versions e.g mca_ess_tool.a and > mca_ess_tool.la exist in the /opt/ompi/gnu/1.4.4/lib/openmpi directory. I've > also tried adding that directory to my LD_LIBRARY_PATH but still get the same > error. Help would be much appreciated. > > Thanks, > Sam > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users