Page 1 of 1

Cannot open qe_pseudo_m.mod error

Posted: Wed Apr 19, 2023 1:16 pm
by aziz.ogutlu
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

Re: Cannot open qe_pseudo_m.mod error

Posted: Wed Apr 19, 2023 4:34 pm
by Davide Sangalli
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.

Re: Cannot open qe_pseudo_m.mod error

Posted: Mon Apr 24, 2023 1:21 pm
by aziz.ogutlu
Dear Davide,
Thank you for your response.
I could compile Yambo with the flags.

Best regards,
Aziz