Cannot open qe_pseudo_m.mod error

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
aziz.ogutlu
Posts: 6
Joined: Mon Apr 17, 2023 3:26 pm

Cannot open qe_pseudo_m.mod error

Post by aziz.ogutlu » Wed Apr 19, 2023 1:16 pm

Hi there all,
I'm compiling Yambo 5.1.1 on Rocky Linux 8 with gcc 12.2.0.

I'm following these steps:

Code: Select all

./configure --prefix=/opt/ohpc/pub/apps/yambo/5.1.1
make all
I got error below:

Code: Select all

make[2]: *** [/opt/ohpc/tmp/work/yambo-5.1.1/config/mk/local/rules.mk:9: mod_pseudo.o] Error 1
Fatal Error: Cannot open module file ‘qe_pseudo_m.mod’ for reading at (1): No such file or directory
        [driver] yambo (checking work to be done)
yambo linking failed. Check log/compile_yambo.log
Fatal Error: Cannot open module file ‘qe_pseudo_m.mod’ for reading at (1): No such file or directory
make[1]: *** [config/mk/global/actions/compile_yambo.mk:42: yambo] Error 1
yambo build failed

Could anybody help me on this error?

Thanks,
Best regards,
Aziz
You do not have the required permissions to view the files attached to this post.

User avatar
Davide Sangalli
Posts: 610
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: Cannot open qe_pseudo_m.mod error

Post by Davide Sangalli » Wed Apr 19, 2023 4:34 pm

Dear Aziz,
in this case the failure is due to an error during the compilation of the qe_pseudo library.
See your

Code: Select all

log/compile_qe_pseudo.log
The reason is an internal check introduced in recent versions of the gfortran compiler.
To solve this you need to set the flag -fallow-argument-mismatch, adding to your configure command

Code: Select all

FCFLAGS="-O3 -g -mtune=native -fallow-argument-mismatch"
Best,
D.

P.S.: please add a default signature associated to your user. it is a rule of the forum.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

aziz.ogutlu
Posts: 6
Joined: Mon Apr 17, 2023 3:26 pm

Re: Cannot open qe_pseudo_m.mod error

Post by aziz.ogutlu » Mon Apr 24, 2023 1:21 pm

Dear Davide,
Thank you for your response.
I could compile Yambo with the flags.

Best regards,
Aziz

Post Reply