Compile issue
Posted: Thu Jun 30, 2016 9:18 am
Hello all,
I have some difficulties getting subroutines to compile for Code_Saturne V.4.0.4.
I am working on a renewed batch system, and when I was trying to compile a user subroutine for code (using code_saturne compile) on this new system; I got the following error massage:
###
/usr/bin/f95 -I /home/firozi/LES/CASE1/SRC -I /home/firozi/Code_Saturne/4.0.4/code_saturne-4.0.4/arch/Linux_x86_64/include/code_saturne -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -O -c /home/firozi/LES/CASE1/SRC/cs_user_boundary_conditions.f90
/home/firozi/LES/CASE1/SRC/cs_user_boundary_conditions.f90:402.4:
use paramx
1
Fatal Error: Cannot read module file 'paramx.mod' opened at (1), because it was created by a different version of GNU Fortran
######
I am not sure about the source of error (is it from the code or the server?), nor if the modules file are created with the same version of the compiler that is being used for the compilation of subroutines.
I appreciate any help you can offer.
Many thanks.
Kind regards,
Amir
I have some difficulties getting subroutines to compile for Code_Saturne V.4.0.4.
I am working on a renewed batch system, and when I was trying to compile a user subroutine for code (using code_saturne compile) on this new system; I got the following error massage:
###
/usr/bin/f95 -I /home/firozi/LES/CASE1/SRC -I /home/firozi/Code_Saturne/4.0.4/code_saturne-4.0.4/arch/Linux_x86_64/include/code_saturne -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -O -c /home/firozi/LES/CASE1/SRC/cs_user_boundary_conditions.f90
/home/firozi/LES/CASE1/SRC/cs_user_boundary_conditions.f90:402.4:
use paramx
1
Fatal Error: Cannot read module file 'paramx.mod' opened at (1), because it was created by a different version of GNU Fortran
######
I am not sure about the source of error (is it from the code or the server?), nor if the modules file are created with the same version of the compiler that is being used for the compilation of subroutines.
I appreciate any help you can offer.
Many thanks.
Kind regards,
Amir