Closed LadaF closed 8 years ago
I always disable-fortran on Crays and never ran into compilation issues.
Fortran is crucial for me. Dne 4. 9. 2015 3:00 "Yu Feng" notifications@github.com napsal(a):
I always disable-fortran on Crays and never ran into compilation issues.
— Reply to this email directly or view it on GitHub https://github.com/mpip/pfft/issues/11#issuecomment-137623080.
./configure --disable-shared --prefix=/global/homes/y/yfeng1/.local --with-fftw3=/global/homes/y/yfeng1/source/pfft-python/build/depends --enable-openmp MPICC=cc --enable-fortran MPIFC="ftn -N1023" FCLIBS=" "
works fine on Cray Fortran : Version 8.3.11 Fri Sep 04, 2015 15:03:29
Thanks a lot, it indeed works. Probably, the FCLIBS=" "
is the main difference which fixed it.
I have problems compiling the library using the Cray compiler. It is first detected to be a gcc compiler and then the configure has troubles finding the correct flags and options.
I was able to fix the unknown flag for extending the line width in Fortran by supplying
-N 255
in FCFLAGS.However, the configure than tries to link a C program with a Fortran object with
-lgfortran
, which fails.The actual way how to link them with Cray is just
The configure fails in this step:
and
config.log
contains several variations toHow to fix the configure to accept the Cray compilers?