Page 2 of 2

Re: Yambo 4.2.1, ompi_mpi_comm_world error

Posted: Tue Mar 06, 2018 5:10 pm
by Daniele Varsano
Dear Fabio,
set FC to ifort and not mpiifort.

Daniele

Re: Yambo 4.2.1, ompi_mpi_comm_world error

Posted: Tue Mar 06, 2018 5:24 pm
by Fabiof
Dear Daniele,

I changed it, FC = ifort

Code: Select all

MPIFC='mpif90' CPP='icc -E' CC='icc' MPICC='mpiicc'  F77='ifort' FC='ifort'
I get the error:

checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in `/home/fabiof/bin/yambo-4.2.1':
configure: error: linking to Fortran libraries from C fails

When I check the config log, I see FC='mpif90' and F77='mpif90'. Is that right?

Re: Yambo 4.2.1, ompi_mpi_comm_world error

Posted: Tue Mar 06, 2018 5:35 pm
by Daniele Varsano
Dear Fabio,
you can try the following:

1) check if mpif90 link to intel compilers, just type mpif90 --version or similar.
2) if QE do works with your mpirun, can you check which compilers and wrappers were used?
3) specify the precompiler only CPP='icc -E' and see if the configure does the right job, even if I presume mpiifort will be used.
4) specify MPIFC='mpif90' only.
5) Try a compilation with gfortran instead than intel, in case you have gfortran installed.

Do not have much more more solution.

Daniele

Re: Yambo 4.2.1, ompi_mpi_comm_world error

Posted: Tue Mar 06, 2018 6:07 pm
by Fabiof
Dear Daniele,


1) Yes it links to intel compilers (ifort).
2) QE is using the mpif90 which links to ifort.
3) To be tested.
4) It works now. I can run yambo in parallel mode. :)

Thank you,

Fabio

Re: Yambo 4.2.1, ompi_mpi_comm_world error

Posted: Tue Mar 06, 2018 6:36 pm
by Daniele Varsano
Great!!

Enjoy the yambo experience,

Daniele