Page 1 of 1

Fatal Error: Can't open module file 'ieee_arithmetic.mod'

Posted: Sun Apr 03, 2022 7:57 pm
by xiaoyu_wang
Hi all,

I am trying to install VASP 6 with GNU compiler. I came across the error:

use ieee_arithmetic, only: ieee_is_normal
1
Fatal Error: Can't open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
make[2]: *** [string.o] Error 1

Am I missing some library files?

Thanks for any help.

Re: Fatal Error: Can't open module file 'ieee_arithmetic.mod'

Posted: Mon Apr 04, 2022 8:54 am
by andreas.singraber
Hello!

Welcome to the VASP forum! Please have a look at the forum posting guidelines and add some more information about your build setup so that we can give some useful advice. Which operating system are you working with and which compiler version is installed? Please always add your makefile.include, so we can have a look at your settings.

From your error message I have a suspicion that you may be using a too old compiler, can you please check the gfortran version with

Code: Select all

gfortran --version
Thank you!

Best,

Andreas Singraber

Re: Fatal Error: Can't open module file 'ieee_arithmetic.mod'

Posted: Mon Apr 04, 2022 4:05 pm
by xiaoyu_wang
Hello Andreas,

Thanks for you suggestions!

I am uploading the makefile.include file. The operating system is CentOS. I also checked the gfortran version, and it is 4.8.5. Look forward to your suggestions.

Thanks,
Andy

Re: Fatal Error: Can't open module file 'ieee_arithmetic.mod'

Posted: Tue Apr 05, 2022 12:31 pm
by merzuk.kaltak
Dear Andy,

unfortunately, your gfortran version is not supported. You will need at least 7.5.0 to compile vasp with the GNU compilers.
Please take a look at our supported toolchains.