Jan You were right, the problem was the linking process. The LD_LIBRARY_PATH was not proper set. By using fenics_install.sh, everything runs fine, I did only have to update my LD_LIBRARY_PATH with the right address for the mpi. Having that, I can now try to install it by using correctly my own installation.
Thanks a lot. Great support from your guys! ________________________________________ Prof. Aldo Humberto Romero Physics and Astronomy Department West Virginia University Phone: (304) 2936317 email: [email protected] El 07/01/15 4:37, "Jan Blechta" <[email protected]> escribió: >[please keep [email protected] in CC] > >On Tue, 6 Jan 2015 17:34:45 +0000 >Aldo Romero <[email protected]> wrote: > >> I did used bothŠ one compiling my version and also allowing the one >> obtained from the fenics_install.sh. Both are failing.. The result is >> >> /home/aldo/.hashdist/bld/mpi/uypp5r7iktyt/lib/libmpi_f77.so >> /home/aldo/.hashdist/bld/mpi/uypp5r7iktyt/lib/libmpi_f77.so.1 >> /home/aldo/.hashdist/bld/mpi/uypp5r7iktyt/lib/libmpi_f77.so.1.0.7 > >Hashdist version (fenics_install.sh) should probably link to >/home/aldo/.hashdist/bld/mpi/uypp5r7iktyt/lib/libmpi_f77.so >but I'm not sure how to debug it so I'm CCing to Johannes. > >Did you update your environment according to instructions issued by the >script before trying to import dolfin? > >What is the output of > > ldd /home/aldo/.hashdist/bld/dolfin/<hash>/lib/libdolfin.so | grep -i mpi > >> /usr/lib/libmpi_f77.so >> /usr/lib/libmpi_f77.so.1 >> /usr/lib/libmpi_f77.so.1.0.7 >> /usr/lib/openmpi/lib/libmpi_f77.so >> /usr/lib/openmpi/lib/libmpi_f77.so.1.0.7 > >Regarding your own build, you said that you compiled your own OpenMPI. >Where is it located? You should make sure that path to it is incuded in >LD_LIBRARY_PATH before importing dolfin. > >Also try > > ldd /path/to/your/own/build/of/FEniCS/lib/libdolfin.so | grep -i mpi > >It should point to MPI you linked to at build time. > >Jan > >> >> >> Thanks again! >> >> ________________________________________ >> >> Prof. Aldo Humberto Romero >> Physics and Astronomy Department >> West Virginia University >> Phone: (304) 2936317 >> email: [email protected] >> >> >> >> >> >> El 06/01/15 12:27, "Jan Blechta" <[email protected]> >> escribió: >> >> >locate libmpi_f77.so > _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
