[Pw_forum] Trouble linking fortran to c on Cray XC-40

Downs, Andrew S CTR USARMY ARL (US) andrew.s.downs3.ctr at mail.mil
Tue Jun 21 18:22:03 CEST 2016


Hello All,

I'm building from scratch qe 5.4.0 for a user of mine, and I'm trying to get it to compile with the Cray compiler, not intel, gnu or pgi.  

At the ./configure stage, the problem I run into is that some nested part of the configure script seems to think I'm using gfortran when I'm not.

I set:
FC=ftn
F77=ftn
F90=ftn
CC=cc
CXX=CC

Somehow it's still finding gfortran it actually tells me that ftn has been discarded in favor of gfortran.

Trying to dig around on my own...I looked into the configure script that gets called by the main configure script and did a 'replace all' on 'gfortran' with 'ftn'
Now it stops picking up gfortran, even though I see "checking whether we are using the GNU Fortran 77 compiler... yes" in the configure output, but I still run into the same linking error.

Any suggestions would be fantastic.  My apologies if this email is too detailed or not detailed enough.

-Andrew Downs, ARL HPC Specialist





More information about the users mailing list