Mahmood,

you need to manually remove /opt/openmpi/lib from your LD_LIBRARY_PATH
(or have your sysadmin do it if this is somehow done automatically)

the point of configuring with --enable-mpirun-prefix-by-default is you do *not* need
to add /export/apps/siesta/openmpi-1.8.8/lib in your LD_LIBRARY_PATH

Cheers,

Gilles

On 9/12/2016 5:28 PM, Mahmood Naderan wrote:
Is the following output OK?


...
Making install in util
make[2]: Entering directory `/export/apps/siesta/openmpi-1.8.8/test/util'
make[3]: Entering directory `/export/apps/siesta/openmpi-1.8.8/test/util'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/export/apps/siesta/openmpi-1.8.8/test/util'
make[2]: Leaving directory `/export/apps/siesta/openmpi-1.8.8/test/util'
make[2]: Entering directory `/export/apps/siesta/openmpi-1.8.8/test'
make[3]: Entering directory `/export/apps/siesta/openmpi-1.8.8/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/export/apps/siesta/openmpi-1.8.8/test'
make[2]: Leaving directory `/export/apps/siesta/openmpi-1.8.8/test'
make[1]: Leaving directory `/export/apps/siesta/openmpi-1.8.8/test'
make[1]: Entering directory `/export/apps/siesta/openmpi-1.8.8'
make[2]: Entering directory `/export/apps/siesta/openmpi-1.8.8'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/export/apps/siesta/openmpi-1.8.8'
make[1]: Leaving directory `/export/apps/siesta/openmpi-1.8.8'
root@cluster:openmpi-1.8.8# ls bin/
mpic++     mpif90-vt     orte-clean   otfcompress shmemrun         vtjava
mpicc      mpifort       orted        otfconfig vtc++            vtrun
mpiCC mpifort-vt orte-info otfdecompress vtcc vtsetup
mpicc-vt   mpirun        orte-ps      otfinfo vtCC             vtsetup.jar
mpiCC-vt   ompi-clean    orterun      otfmerge vtcxx            vtunify
mpic++-vt ompi_info orte-server otfmerge-mpi vtf77 vtunify-mpi
mpicxx     ompi-ps       orte-top     otfprint vtf90            vtwrapper
mpicxx-vt  ompi-server   oshcc        otfprofile      vtfilter
mpiexec    ompi-top      oshfort      otfprofile-mpi vtfiltergen
mpif77     opal_wrapper  oshmem_info  otfshrink vtfiltergen-mpi
mpif77-vt  opari         oshrun       shmemcc vtfilter-mpi
mpif90     ortecc        otfaux       shmemfort       vtfort
root@cluster:openmpi-1.8.8# echo $LD_LIBRARY_PATH
/opt/gridengine/lib/linux-x64:/opt/openmpi/lib
root@cluster:openmpi-1.8.8# grep -r mpirun config.log
$ ./configure --prefix=/export/apps/siesta/openmpi-1.8.8 --enable-mpirun-prefix-by-default configure:66027: result: '--prefix=/export/apps/siesta/openmpi-1.8.8' '--enable-mpirun-prefix-by-default' configure:97538: running /bin/sh './configure' --disable-dns --disable-http --disable-rpc --disable-openssl --enable-thread-support --disable-evport '--prefix=/export/apps/siesta/openmpi-1.8.8' '--enable-mpirun-prefix-by-default' --cache-file=/dev/null --srcdir=. --disable-option-checking configure:290550: running /bin/sh './configure' --disable-option-checking --with-openmpi-inside=1.7 '--prefix=/export/apps/siesta/openmpi-1.8.8' '--enable-mpirun-prefix-by-default' CPPFLAGS=-I/export/apps/siesta/openmpi-1.8.8/ompi/include LDFLAGS=-L/export/apps/siesta/openmpi-1.8.8/ompi/.libs --cache-file=/dev/null --srcdir=. --disable-option-checking
root@cluster:openmpi-1.8.8#






So I ran

# ./configure --prefix=/export/apps/siesta/openmpi-1.8.8 --enable-mpirun-prefix-by-default
# make
# make install

However, LD_LIBRARY_PATH still shows the previous install (/opt/openmpi)


Regards,
Mahmood




_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to