[QE-users] Compiling qe git version with parallel_studio_xe/2020.0.088 will still invoke mpif90.

Hongyi Zhao hongyi.zhao at gmail.com
Thu Jun 4 07:50:26 CEST 2020


Ye Luo <xw111luoye at gmail.com> 于2020年6月4日周四 上午11:25写道:
>
> mpif90 from intel MPI invokes gfortran.
> You should use mpiifort instead.
> $ ./configure --with-scalapack=intel MPIF90=mpiifort
> assuming mpiifort exists on your path.

Thanks a lot, it does the trick.

HY

> Ye
> ===================
> Ye Luo, Ph.D.
> Computational Science Division & Leadership Computing Facility
> Argonne National Laboratory
>
>
> On Wed, Jun 3, 2020 at 9:47 PM Hongyi Zhao <hongyi.zhao at gmail.com> wrote:
>>
>> Hi,
>>
>> See my following steps on compiling the latest qe git verson with
>> parallel_studio_xe/2020.0.088:
>>
>> $ module load parallel_studio_xe/2020.0.088
>> $ ./configure --with-scalapack=intel
>> checking build system type... x86_64-pc-linux-gnu
>> checking ARCH... x86_64
>> checking setting AR... ... ar
>> checking setting ARFLAGS... ... ruv
>> checking for gfortran... no
>> checking for g95... no
>> checking for xlf95... no
>> checking for f95... no
>> checking for fort... no
>> checking for ifort... ifort
>> 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... no
>> checking whether ifort accepts -g... yes
>> 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
>>
>> Then I try the following command for inspecting the problem:
>>
>> $ mpif90 --help
>> /opt/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/bin/mpif90:
>> 1: gfortran: not found
>> /opt/intel/compilers_and_libraries_2020.0.166/linux/mpi/intel64/bin/mpif90:
>> 1: eval: gfortran: not found
>>
>> It complains gfortran cann't be found. But the module file I used
>> above has already set the environments for using intel tool chain.
>>
>> Any hints for this problem?
>>
>> Regards.
>> --
>> Hongyi Zhao <hongyi.zhao at gmail.com>
>> _______________________________________________
>> Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)
>> users mailing list users at lists.quantum-espresso.org
>> https://lists.quantum-espresso.org/mailman/listinfo/users
>
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)
> users mailing list users at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/users



-- 
Hongyi Zhao <hongyi.zhao at gmail.com>


More information about the users mailing list