Compiling on HPE/SGI ICE XA
Posted: Mon May 06, 2019 9:36 pm
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.
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.