Page 1 of 1

Facing an error

Posted: Mon Nov 11, 2019 8:15 am
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$

Re: Facing an error

Posted: Tue Nov 12, 2019 8:16 am
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

Re: Facing an error

Posted: Tue Nov 19, 2019 6:34 am
by Muhammad Talha
Hi, Samuel

Got it. Thanks
Regards: Talha