Re: [JLSE-Intel-NDA] Fortran and shared libraries
Are you running interactively or by a script? I have your source command and an mpirun command (without -F) in a script and it works fine. I also have the same source command in my .bash_profile but I don't think that is relevant. Steve Steven C. Pieper, Senior Physicist Emeritus: [email protected] Argonne National Laboratory, Physics Division, Bldg. 203, Argonne, IL 60439 Phone: 630-252-4232 Fax -6008 Secretary, Debra Beres, -4100 http://www.phy.anl.gov/theory/staff/scp.html On 10/18/2016 09:01 AM, Tom LeCompte wrote:
Hi everyone-
I already have a workaround, but I am puzzled as to why I need one.
If I compile with:
mpiifort -O3 -xMIC_AVX512 -mcmodel medium -shared-intel -o toys mt19937.o toys.f
and run with
source /soft/compilers/intel/compilers_and_libraries/linux/mpi/bin64/mpivars.sh mpirun -f $COBALT_NODEFILE -ppn 2 ./toys
I get the error (twice)
./toys: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
This persists when I put /soft/compilers/intel_beta/compilers_and_libraries_2017.0.042/linux/compiler/lib/intel64_lin_mic in my LD_LIBRARY_PATH, and even when I copy libifport.so.5 into the run area and put the run area in my LD_LIBRARY_PATH. Echoing $LD_LIBRARY_PATH shows that this "took".
If I instead compile with:
mpiifort -O3 -xMIC_AVX512 -static-intel -o toys mt19937.o toys.f
It runs perfectly.
Any ideas?
Cheers,
Tom
_______________________________________________ Intel-nda mailing list [email protected] https://lists.jlse.anl.gov/mailman/listinfo/intel-nda
participants (1)
-
Steven Pieper