Hello,
Using Intel 2017 as my compiler and SGIMPT 2.18 as my MPI stack, it seems like 'configure' gets confused.
At the end, it shows::
# - COMPILERS -
#
# FC kind = gfortran GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
# MPI kind= Intel(R) MPI Library 2017 Update 1 for Linux* OS
#
# [ CPP ] icc -E -ansi -D_MPI -D_FFTW -D_TIMING
# [ FPP ] gfortran -E -P -cpp -D_MPI -D_FFTW -D_TIMING -D_MPI -D_FFTW -D_TIMING
# [ CC ] mpiicc -O2 -D_C_US -D_FORTRAN_US
# [ FC ] mpiifort -O3 -g -mtune=native
# [ FCUF] -O0 -g -mtune=native
# [ F77 ] mpiifort -O3 -g -mtune=native
# [ F77U] -O0 -g -mtune=native
# [Cmain]
#
I don't want it to use the system's gfortran (which is ancient as you can see) but I want it to use the proper intel fortran pre-processor
when I configure with "configure FPP=ifort" I get errors, so I'm missing something. Is there a better way to set it?
Thank you.
Compiling on HPE/SGI ICE XA
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani
Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
-
- Posts: 7
- Joined: Fri Dec 22, 2017 4:04 pm
Compiling on HPE/SGI ICE XA
Andrew Downs
Customer Support
Customer Support
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Compiling on HPE/SGI ICE XA
Dear andrew.downs ,
please sign your post with your name and affiliation, you can do once for all by filling your signature in the user profile of the forum.
It seems that something is not set properly in your path. What it does worry is.
What happens if you specify directly the fortran preprocessor as:
or alternatively:
If it fails to recognize it, please post the config.log file.
Best,
Daniele
please sign your post with your name and affiliation, you can do once for all by filling your signature in the user profile of the forum.
It seems that something is not set properly in your path. What it does worry is
Code: Select all
FC kind = gfortran
What happens if you specify directly the fortran preprocessor as:
Code: Select all
FPP="fpp -free -P"
Code: Select all
FPP="ifort -fpp"
Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
-
- Posts: 7
- Joined: Fri Dec 22, 2017 4:04 pm
Re: Compiling on HPE/SGI ICE XA
Daniele,
FPP="fpp -free -P" results in the same behavior as not setting FPP
FPP="ifort -fpp" results in an error:
checking fortran 90 modules inclusion flag... -I
configure: testing C-preprocessor icc -E -ansi
checking if C precompiler works on C source... yes
configure: testing FC-preprocessor ifort -fpp
checking if FC precompiler works on FC source... no
configure: error: Found FC precompiler problems in processing FC source.
I looked at my $PATH and 'ifort' is in my path before gfortran is, but both are available. The gfortran Yambo is finding is the -really- old one that's built into the base-system. Is there a way to tell Yambo to ignore gfortran entirely? Is gfortran required?
Thank you
FPP="fpp -free -P" results in the same behavior as not setting FPP
FPP="ifort -fpp" results in an error:
checking fortran 90 modules inclusion flag... -I
configure: testing C-preprocessor icc -E -ansi
checking if C precompiler works on C source... yes
configure: testing FC-preprocessor ifort -fpp
checking if FC precompiler works on FC source... no
configure: error: Found FC precompiler problems in processing FC source.
I looked at my $PATH and 'ifort' is in my path before gfortran is, but both are available. The gfortran Yambo is finding is the -really- old one that's built into the base-system. Is there a way to tell Yambo to ignore gfortran entirely? Is gfortran required?
Thank you
Andrew Downs
Customer Support
Customer Support
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Compiling on HPE/SGI ICE XA
Dear Andrew,
can you please post your config.log file?
Daniele
can you please post your config.log file?
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/