Re: [Wien] Query about compiling Wien2k-17.1

2018-02-03 Thread Nacir GUECHI
Thank you very much Gavin Abo.
the error was fixed when I add "-lifcore" to the compiler settings.

With Best wishes


**
Nacir GUECHI
Dr. Physique de la matière solide.Enseignant-Chercheur à l'université du Dr. 
Yahia FARES de Médéa,  Algeria (www.univ-media.dz).Laboratoire d'études des 
surfaces et interfaces des matériaux solides (L.E.S.I.M.S), université Sétif1 
(Algeria)http://laboratoires.univ-setif.dz/L.E.S.I.M.S/ 

Le samedi 3 février 2018 à 16:29:12 UTC+1, Gavin Abo  
a écrit :  
 
  
Some possible causes:
 a) Installation is corrupt 
[https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/748744
 ]
  - You might want to check your Intel installation and see if the 
libifcore.so.5 file exists 
[http://ladon.iqfr.csic.es/intel/doc/main_for/mergedProjects/bldaps_for/files_32.htm
 ]
 
Are you compiling with Intel MPI (mpiifort), OpenMPI (mpifort [ 
https://www.open-mpi.org/faq/?category=mpi-apps ]), or MVAPICH2/MPICH (mpif90 
[http://mvapich.cse.ohio-state.edu/static/media/mvapich/mvapich2-2.0-userguide.html#x1-220005.1
 , https://www.mpich.org/static/downloads/3.2.1/mpich-3.2.1-userguide.pdf ("4 
Compiling and Linking" on page 3) ])?
 
What WIEN2k compiler settings did you use?
 
 
b) It could be due to a problem with the mpi installation and reinstalled might 
fix it such as was reported for MPICH 
[https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/593731
 ]
 
c) It might be caused by the mpi program being built with the wrong compiler 
(e.g., gfortran instead of ifort) or wrong compiler version (e.g., ifort 2015 
instead of 2018) as was mentioned for OpenMPI 
[https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/590325
 ]
 
d) Since it looks like -lifcore (libifcore.so.5) is needed to provide the 
for_ifcore_version function, it may be that you need to add "-lifcore" to your 
compiler settings [ https://www.psc.edu/phase2-earlyuser-info?id=2192 (refer to 
MVAPICH2 for Fortran in the Table under the "Compile with this command" column) 
].
 
 On 2/3/2018 3:11 AM, Nacir GUECHI wrote:
  
   Dear WIEN2k users,  I wanted to compile Wien2k with  
"parallel_studio_xe_2018_update1_cluster_edition" but I get the error: 
/opt/intel_18/compilers_and_libraries_2018.1.148/linux/compiler/lib/intel64/libifport.so.5:
 undefined reference to `for_ifcore_version'. The environment variables are set 
in .bashrc as: 
source/opt/intel_18/compilers_and_libraries_2018.1.148/linux/mpi/bin64/mpivars.sh
 
source/opt/intel_18/compilers_and_libraries_2018.1.148/linux/bin/compilervars.sh
 -arch intel64 -platform linux What did I do wrong?
  
 
 ___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
  ___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


Re: [Wien] Query about compiling Wien2k-17.1

2018-02-03 Thread Gavin Abo

Some possible causes:

a) Installation is corrupt [ 
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/748744 
]
 - You might want to check your Intel installation and see if the 
libifcore.so.5 file exists [ 
http://ladon.iqfr.csic.es/intel/doc/main_for/mergedProjects/bldaps_for/files_32.htm 
]


Are you compiling with Intel MPI (mpiifort), OpenMPI (mpifort [ 
https://www.open-mpi.org/faq/?category=mpi-apps ]), or MVAPICH2/MPICH 
(mpif90 [ 
http://mvapich.cse.ohio-state.edu/static/media/mvapich/mvapich2-2.0-userguide.html#x1-220005.1 
, https://www.mpich.org/static/downloads/3.2.1/mpich-3.2.1-userguide.pdf 
("4 Compiling and Linking" on page 3) ])?


What WIEN2k compiler settings did you use?

b) It could be due to a problem with the mpi installation and 
reinstalled might fix it such as was reported for MPICH [ 
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/593731 
]


c) It might be caused by the mpi program being built with the wrong 
compiler (e.g., gfortran instead of ifort) or wrong compiler version 
(e.g., ifort 2015 instead of 2018) as was mentioned for OpenMPI [ 
https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/590325 
]


d) Since it looks like -lifcore (libifcore.so.5) is needed to provide 
the for_ifcore_version function, it may be that you need to add 
"-lifcore" to your compiler settings [ 
https://www.psc.edu/phase2-earlyuser-info?id=2192 (refer to MVAPICH2 for 
Fortran in the Table under the "Compile with this command" column) ].


On 2/3/2018 3:11 AM, Nacir GUECHI wrote:

Dear WIEN2k users,
I wanted to compile Wien2k with 
"parallel_studio_xe_2018_update1_cluster_edition" but I get the error:
/opt/intel_18/compilers_and_libraries_2018.1.148/linux/compiler/lib/intel64/libifport.so.5: 
undefined reference to `for_ifcore_version'.

The environment variables are set in .bashrc as:
source 
/opt/intel_18/compilers_and_libraries_2018.1.148/linux/mpi/bin64/mpivars.sh
source 
/opt/intel_18/compilers_and_libraries_2018.1.148/linux/bin/compilervars.sh 
-arch intel64 -platform linux

What did I do wrong?


___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


[Wien] Query about compiling Wien2k-17.1

2018-02-03 Thread Nacir GUECHI
Dear WIEN2k users,I wanted to compile Wien2k with  
"parallel_studio_xe_2018_update1_cluster_edition" but I get the 
error:/opt/intel_18/compilers_and_libraries_2018.1.148/linux/compiler/lib/intel64/libifport.so.5:
 undefined reference to `for_ifcore_version'.The environment variables are set 
in .bashrc as:source 
/opt/intel_18/compilers_and_libraries_2018.1.148/linux/mpi/bin64/mpivars.sh
source 
/opt/intel_18/compilers_and_libraries_2018.1.148/linux/bin/compilervars.sh 
-arch intel64 -platform linuxWhat did I do wrong?




___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html