Message Boards

RE: ir_precision.mod created by a different version of GNU Fortran

Robert Diersing, modified 3 Years ago.

ir_precision.mod created by a different version of GNU Fortran

Youngling Posts: 2 Join Date: 3/10/16 Recent Posts
I am attempting to build delft3d4 on CentOS 7 Linux (essentially rhel 7).  In the make ds-install step I get the following.Compiling Data_Type_Command_Line_Interface.F90
src/Data_Type_Command_Line_Interface.F90:11:4: USE IR_Precision                                                                ! Integers an
    1
Fatal Error: Cannot read module file ‘ir_precision.mod’ opened at (1), because it was created by a different version of GNU FortranThe standard GCC on CentOS 7 is 4.8.5.  Since the instructions recommend >= 4.9.1, I have tried 4.9.1, 4.9.3, 5.2.0 and 5.5.0 all with the same result.  I presume I could solve the problem by recompiling ir_precision and producing a new .mod file but I don't find ir_precision as part of the distribution.Am I not looking in the right place for ir_precision.f* ?Can someone who has successfully build delft3d4 on Linux suggest a solution?Thank you.
Robert Diersing, modified 3 Years ago.

RE: ir_precision.mod created by a different version of GNU Fortran

Youngling Posts: 2 Join Date: 3/10/16 Recent Posts
Shortly after I posted this I got an idea of what I did wrong.  My idea has proven correct.  I will soon delete this post.
Zoe Hughes, modified 2 Years ago.

RE: ir_precision.mod created by a different version of GNU Fortran

Youngling Post: 1 Join Date: 2/11/12 Recent Posts
Having a similar issue - what was the issue - did you have to recompile FLAP with an earlier version of fortran? Thanks