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

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
xiaoyu_wang
Newbie
Newbie
Posts: 2
Joined: Wed Nov 17, 2021 7:39 pm

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

#1 Post by xiaoyu_wang » Sun Apr 03, 2022 7:57 pm

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.

andreas.singraber
Global Moderator
Global Moderator
Posts: 236
Joined: Mon Apr 26, 2021 7:40 am

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

#2 Post by andreas.singraber » Mon Apr 04, 2022 8:54 am

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

xiaoyu_wang
Newbie
Newbie
Posts: 2
Joined: Wed Nov 17, 2021 7:39 pm

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

#3 Post by xiaoyu_wang » Mon Apr 04, 2022 4:05 pm

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
You do not have the required permissions to view the files attached to this post.

merzuk.kaltak
Administrator
Administrator
Posts: 282
Joined: Mon Sep 24, 2018 9:39 am

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

#4 Post by merzuk.kaltak » Tue Apr 05, 2022 12:31 pm

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.

Locked