Page 1 of 1
Compiling Yambo-4.4.0
Posted: Sun Dec 15, 2019 8:34 am
by Longjun Xiang
I have used the following options [make-yambo-4.4.0.sh] to compile the recent released Yambo-4.4.0 version.
But when I create the input file I see the serial build information in the generated input file, is there any problem in my [make-yambo-4.4.0.sh] file?
![Image]()
Re: Compiling Yambo-4.4.0
Posted: Sun Dec 15, 2019 10:13 am
by Daniele Varsano
Dear Longjun,
you can try to set the parallel compilers directly to the FC/CC/F// variables:
FC=mpiifort
CC=mpiicc
F77=mpiifort
if it does not work can you post the config.log file, config/setup and config/report files?
Best,
Daniele
Re: Compiling Yambo-4.4.0
Posted: Sun Dec 15, 2019 12:15 pm
by Longjun Xiang
The problem still exist. All files have been attached.
Re: Compiling Yambo-4.4.0
Posted: Sun Dec 15, 2019 7:05 pm
by Daniele Varsano
Dear Longjun,
you should move the commented line in your script at the end. In the way you modified it, the configure run without any option:
see at the beginning of config.log
and only serial gfortran compilers were found, see at the end of the report:
Code: Select all
# - COMPILERS -
#
# FC kind = gfortran GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
# MPI kind=
# [ CPP ] gcc -E -P -D_FFTW -D_TIMING
# [ FPP ] gfortran -E -P -cpp -D_FFTW -D_TIMING
# [ CC ] gcc -O2 -D_C_US -D_FORTRAN_US
# [ FC ] gfortran -O3 -g -mtune=native
# [ FCUF] -O0 -g -mtune=native
# [ F77 ] gfortran -O3 -g -mtune=native
# [ F77U] -O0 -g -mtune=native
# [Cmain]
#
Try to run simply,
Code: Select all
./configure FC=mpiifort CC=mpiicc F77=mpiifort
and see if the MPI compilers are recognized, you should find at the end of the configure, or in the ./config/report
Code: Select all
# - PARALLEL SUPPORT -
#
# [-] MPI
The MPI checkbox coressed.
Best,
Daniele
Re: Compiling Yambo-4.4.0
Posted: Mon Dec 16, 2019 5:02 am
by Longjun Xiang
Thanks. The problem is solved.