All,

Thank you for your help, I got it working yesterday with ARCH=crayxc

-Andrew


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of nicola varini
Sent: Wednesday, June 22, 2016 9:01 AM
To: [email protected]
Subject: [Non-DoD Source] Re: [Pw_forum] Trouble linking fortran to c on Cray 
XC-40

All active links contained in this email were disabled.  Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser.  




----

Dear Andrew, this should work on XC-40 with quantum-espresso-5.4.0.
Here I used intel environment: module swap PrgEnv-cray PrgEnv-intel and 
scalapack.
Generally, on CRAY machines you need to use ftn for fortran and cc for C.
Those are wrappers that call the environment compiler (pgi,cray,intel or
gnu)
under the hood.

Let me know if you experience any problems.

Nicola


On 06/21/2016 06:22 PM, Downs, Andrew S CTR USARMY ARL (US) 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
> [email protected]
> Caution-http://pwscf.org/mailman/listinfo/pw_forum

--
Nicola Varini, PhD

Scientific IT and Application Support (SCITAS) Theory and simulation of 
materials (THEOS) ME B2 464 (Bâtiment ME) Station 1
CH-1015 Lausanne
+41 21 69 31332
Caution-http://scitas.epfl.ch

Nicola Varini


_______________________________________________
Pw_forum mailing list
[email protected]
http://pwscf.org/mailman/listinfo/pw_forum

Reply via email to