Hi Ralph,

 I may have been a little promiscous in my use of build flags. My initial
configure line was much simpler then I kept throwing in flags when it
wouldn't run. I'll try to build it again with the your config line and see
if that resolves the issue.

Sam

On Wed, Dec 7, 2011 at 11:11 AM, Ralph Castain <r...@open-mpi.org> wrote:

> I don't understand your configure line - why did you give an argument to
> enable-shared?? That option doesn't take an argument, and may be causing
> the confusion. Also, enable-debug by default turns off optimization as
> otherwise the optimizer removes all debug symbols.
>
> If you want a debug version, try just this:
>
> ./configure --prefix=/opt/ompi/gnu/1.4.4 --enable-debug
> --with-valgrind=/opt/valgrind --enable-orterun-prefix-by-default
> --enable-memchecker --enable-mem-profile
>
> You don't need --with-devel-headers unless you intend to write code that
> directly drives the OMPI internals.
>
>
> On Dec 7, 2011, at 10:00 AM, John Doe wrote:
>
> Hi Gustavo,
>
>  I do have /opt/ompi/gnu/1.4.4/lib in my LD_LIBRARY_PATH and the bin
> directory in my path as well but that didn't seem to help.
>
> Sam
>
> On Tue, Dec 6, 2011 at 5:18 PM, Gustavo Correa <g...@ldeo.columbia.edu>wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> 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
>
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

Reply via email to