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

Paolo Giannozzi p.giannozzi at gmail.com
Tue Jun 21 19:11:34 CEST 2016


Try "configure ARCH=crayxt", inspect and edit the "make.sys" file.
Note that if for some reason "ftn" doesn't call the compiler you
think, you will not get the behavior you expect.

Paolo

On Tue, Jun 21, 2016 at 6:22 PM, Downs, Andrew S CTR USARMY ARL (US)
<andrew.s.downs3.ctr at mail.mil> wrote:
> 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
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum



-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222



More information about the users mailing list