Hi, IIRC, the gfortran ABI is not compatible with Intel Fortran ABI. You can't mix them together. So you need to compile SZLIB for Intel Fortran first.
Cheers, Matthieu 2013/11/3 Eduardo Jauch <[email protected]>: > Hello! > > I think maybe someone crossed with this problem. > I'm trying to use an HDF5 library with SZIP compiled with intel compilers > (icc, icpc, ifort), in a system (Scientific Linux 6.4) that has already a > version of SZIP compiled with gfortran. > > I put HDF5, SZIP and ZLIB in /usr/local/ > Everything is fine with my program during compilation, but when I try to > execute, it can't find SZLIB. > I tried to put the path to the library in the ld config file, but than, > while this solved my problem and the program runs ok, it broke my system for > other programs (including sudo) that relay on the system version of ZLIB. > > I found that is possible to, through options passed to the linker, to define > the path of a library so that this information is stored in the executable > itself (the path will be fixed, but this is not a problem). > I would like to know if the same can apply to the HDF5 itself, passing such > arguments during ./configure, so that when a program uses HDF5, the lib > knows where to look for the SZLIB... > > I'll do some tests tomorrow or the day after, but if anyone already did this > or know if it's possible or not, it would be nice to hear. > > I thought also to rename the libraries so I can use the first method (adding > the path in the ld config) without the problem of breaking the system, but I > don't know if it is possible or recommended... > > If you have any suggestions, I'm listening. ;) > > Thanks in advance, > Eduardo Jauch > > -- > > > TECNICO Lisboa - MARETEC > Secção de Ambiente e Energia > > Av. Rovisco Pais > 1049-001 Lisboa > > Tel.: +351 21 8419424 > Fax: +351 21 8417365 > > URL: www.mohid.com > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > -- Information System Engineer, Ph.D. Blog: http://matt.eifelle.com LinkedIn: http://www.linkedin.com/in/matthieubrucher Music band: http://liliejay.com/ _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
