Hi, It works with mpiicc instead of mpicc. I updated all the paths to use intel_beta. However, even if the compilation succeeds, a call to mpirun gives the same error related to "for_ifcore_version". Is there a specific wrapper to use instead of mpirun to run the application on KNL? Maybe all of this should be added to http://jlse.anl.gov/installed-software/ Thanks, Fran�ois On 09/22/2016 10:42 PM, Hammond, Jeff R wrote:
Why do you mix /soft/compilers/intel_beta
and /soft/compilers/intel
?
Jeff
On 9/22/16, 1:42 PM, "[email protected] on behalf of Fran�ois Tessier" <[email protected] on behalf of [email protected]> wrote:
Hi All,
I'm trying to compile a MPI application with the Intel Compiler for KNL. However, I have issues like that:
----------------------- --> mpicc -g -O3 -xMIC-AVX512 hello.c -o hello /soft/compilers/intel_beta/compilers_and_libraries_2017.0.042/linux/compil er/lib/intel64/libifport.so.5: undefined reference to `for_ifcore_version' -----------------------
According to some posts on Intel forums, it seems to come from a conflict between the mpivars.sh script and $PATH and $LD_LIBRARY_PATH set for mpich-intel-3.1.4. I tried several combinations of these but without any success. Here is the configuration I use:
----------------------- export INTEL_LICENSE_FILE=28518@ftsn2 source /soft/compilers/intel_beta/compilers_and_libraries/linux/bin/compilervars. sh intel64 source /soft/compilers/intel/vtune_amplifier_xe/amplxe-vars.sh source /soft/compilers/intel/advisor_xe/advixe-vars.sh source /soft/compilers/intel/inspector_xe/inspxe-vars.sh #source /soft/compilers/intel_beta/impi/2017.0.042/bin64/mpivars.sh
export PATH=/soft/libraries/mpi/mpich-intel-3.1.4/bin:$PATH export LD_LIBRARY_PATH=/soft/libraries/mpi/mpich-intel-3.1.4/lib:$LD_LIBRARY_PATH -----------------------
To confirm that MPI is set properly:
----------------------- --> mpicc --version icc (ICC) 17.0.0 20160315 Copyright (C) 1985-2016 Intel Corporation. All rights reserved. --> mpif90 --version ifort (IFORT) 17.0.0 20160315 Copyright (C) 1985-2016 Intel Corporation. All rights reserved. -----------------------
Any idea?
Thanks,
Fran�ois
-- -- Fran�ois TESSIER, Ph.D. Postdoctoral Appointee Argonne National Laboratory LCF Division - Bldg 240, 4E 19 Tel : +1 (630)-252-5068 http://www.francoistessier.info
_______________________________________________ Intel-nda mailing list [email protected] https://lists.jlse.anl.gov/mailman/listinfo/intel-nda
-- -- Fran�ois TESSIER, Ph.D. Postdoctoral Appointee Argonne National Laboratory LCF Division - Bldg 240, 4E 19 Tel : +1 (630)-252-5068 http://www.francoistessier.info