[Pw_forum] Compilation Error With ICC

Axel Kohlmeyer akohlmey at gmail.com
Wed Mar 25 21:37:24 CET 2015


On Wed, Mar 25, 2015 at 4:23 PM, Cameron Foss <cjfoss at umass.edu> wrote:
> Hello,
>
> I am trying to install Quantum-Espresso on the parallel machine MGHPCC. I am
> trying to use intel compilers to do so (ie ifort, icc, and icpc). Note I
> have installed and tested the serial version to confirm that the issues I am
> seeing are not coming from the cluster environment itself.
>
> I've load the necessary modules containing these compilers:
>
> [cf79a at ghpcc06 espresso-5.1]$ which ifort
> /share/pkg/intel/composer_xe_2013_sp1.0.080/bin/intel64/ifort
> [cf79a at ghpcc06 espresso-5.1]$ which icc
> /share/pkg/intel/composer_xe_2013_sp1.0.080/bin/intel64/icc
> [cf79a at ghpcc06 espresso-5.1]$ which icpc
> /share/pkg/intel/composer_xe_2013_sp1.0.080/bin/intel64/icpc
>
> however when I run ./configure --enable-parallel I get the following error
> (NOTE: I get the same error when just running ./configure:
> setting CC... icc
> checking how to run the C preprocessor... icc -E
> configure: error: in `/home/cf79a/ESPRESSO-PAR/espresso-5.1':
> configure: error: C preprocessor "icc -E" fails sanity check
>
> and in the config.log file it states ac_cv_env_CPP_value=icc
> however when I explicitly set CPP via export
> CPP=/share/pkg/intel/composer_xe_2013_sp1.0.080/bin/intel64/icpc
>
>  I now get this error:
> setting CC... icc
> checking how to run the C preprocessor...
> /share/pkg/intel/composer_xe_2013_sp1.0.080/bin/intel64/icpc
> configure: error: in `/home/cf79a/ESPRESSO-PAR/espresso-5.1/install':
> configure: error: C preprocessor
> "/share/pkg/intel/composer_xe_2013_sp1.0.080/bin/intel64/icpc" fails sanity
> check
>
> It sets CC to icc but when checking the C preprocessor it references the
> icpc compiler.
>
> Any idea's as to fix this issue? or perhaps why it is happening?

most likely there is something not fully working with the installation
of the intel compiler package.

i have composer_xe_2013_sp1.1.106 on my desktop machine here and
configure works fine.
you should check the config.log file to see what kind of error message you get.

axel.

>
> Best,
> Cameron
>
>
>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum



-- 
Dr. Axel Kohlmeyer  akohlmey at gmail.com  http://goo.gl/1wk0
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.



More information about the users mailing list