Facing an error

This section is dedicated to compilation problems

Moderator: stiwari

Post Reply
Muhammad Talha
Posts: 6
Joined: Fri Oct 18, 2019 10:11 am
Affiliation:

Facing an error

Post by Muhammad Talha »

after doing "./configure" i got this issue in below. need guidelines. i am installing EPW

abdul@abdul-OptiPlex-7760-AIO:~/Documents/qe_release_6.4$ ./configure
checking build system type... x86_64-pc-linux-gnu
checking ARCH... x86_64
checking setting AR... ... ar
checking setting ARFLAGS... ... ruv
checking for gfortran... gfortran
checking whether the Fortran compiler works... yes
checking for Fortran compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mpif90... mpif90
checking whether we are using the GNU Fortran compiler... no
checking whether mpif90 accepts -g... no
checking version of mpif90... unknown, assuming gfortran
checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files
abdul@abdul-OptiPlex-7760-AIO:~/Documents/qe_release_6.4$
sponce
Site Admin
Posts: 616
Joined: Wed Jan 13, 2016 7:25 pm
Affiliation: EPFL

Re: Facing an error

Post by sponce »

Hello Muhammad,

It looks like your fortran compiler might not be working or not in your PATH.

What do you get when you do "gfortran --version" and "mpirun --version" ?

Best,
Samuel
Prof. Samuel Poncé
Chercheur qualifié F.R.S.-FNRS / Professeur UCLouvain
Institute of Condensed Matter and Nanosciences
UCLouvain, Belgium
Web: https://www.samuelponce.com
Muhammad Talha
Posts: 6
Joined: Fri Oct 18, 2019 10:11 am
Affiliation:

Re: Facing an error

Post by Muhammad Talha »

Hi, Samuel

Got it. Thanks
Regards: Talha
Post Reply