[CIG-SHORT] Pylith install error

Brad Aagaard baagaard at usgs.gov
Tue Sep 10 21:08:04 PDT 2013


Birendra,

Check to make sure than mpicc, mpicxx, and mpif90 are pointing to the 
correct compilers using mpicc -show, mpicxx -show, and mpif90 -show. If 
a consistent set of compilers and paths are being used for MPI and your 
environment, you should not get an error like this.

Regards,
Brad



On 9/10/13 8:32 PM, Birendra jha wrote:
> Hi
>
> I am installing pylith-1.9.0 from the installer on a different computer and I got following error during the make step:
>
> Making all in fortran
> make[5]: Entering directory `/share/home/bjha/build/pylith-1.9.0/hdf5-build/fortran'
> Making all in src
> make[6]: Entering directory `/share/home/bjha/build/pylith-1.9.0/hdf5-build/fortran/src'
>    FC     H5test_kind.o
>    FCLD   H5test_kind
> /usr/bin/ld: warning: libgfortran.so.1, needed by /share/apps/openmpi/openmpi-1.3.3/lib/libmpi_f90.so, not found (try using -rpath or -rpath-link)
> ./H5test_kind > H5fortran_detect.f90
> ./H5test_kind: error while loading shared libraries: libgfortran.so.1: cannot open shared object file: No such file or directory
> make[6]: *** [H5fortran_detect.f90] Error 127
> make[6]: Leaving directory `/share/home/bjha/build/pylith-1.9.0/hdf5-build/fortran/src'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/share/home/bjha/build/pylith-1.9.0/hdf5-build/fortran'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/share/home/bjha/build/pylith-1.9.0/hdf5-build'
> make[3]: *** [hdf5] Error 2
> make[3]: Leaving directory `/share/home/bjha/build/pylith-1.9.0'
> make[2]: *** [installed_hdf5] Error 2
> make[2]: Leaving directory `/share/home/bjha/build/pylith-1.9.0'
> make[1]: *** [installed_netcdf] Error 2
> make[1]: Leaving directory `/share/home/bjha/build/pylith-1.9.0'
> make: *** [installed_pylith] Error 2
>
> I checked that the computer has libgfortran.so.1 in both /usr/lib and /usr/lib64.
>
> Is it a path issue?
>
> Thanks and regards
> Birendra
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



More information about the CIG-SHORT mailing list