Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Name in only-list does not exist

Hiram_Abif_M_
Beginner
1,137 Views

Hello everybody

I am Compiling a Regional Atmospheric Model (BRAMS), but I got many errors, like the following

make[1]: Leaving directory '/home/brams/brams5/BRAMS-5.0/build/bin'
cp -f ../../src/brams/cuparm/cup_grell3.f90 cup_grell3.f90
/home/brams/brams5/LIBRARIES2/hdf5/bin/h5pfc -c -O0 -traceback -CB -g -I../../src/jules/LIB/MODS/  -I../../src/jules/LIB/UTILS/netcdf_dummy/ -I./../../src/utils/include cup_grell3.f90
cup_grell3.f90(9): error #7013: This module file was not generated by any release of this compiler.   [MODNAMELISTFILE]
  use ModNamelistFile, only: namelistFile
------^
cup_grell3.f90(318): error #6457: This derived type name has not been declared.   [GRID]
  type(Grid), pointer :: OneGrid ! intent(in)
---------^
cup_grell3.f90(9): error #6580: Name in only-list does not exist.   [NAMELISTFILE]
  use ModNamelistFile, only: namelistFile.

these errors are repeated (see attachment file)

how can I fix these errors?

I am using Fortran Composer xe 2015.3.187 for Linux

thank you for your help

Regards

Hiram

0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,137 Views

It's really the first error that is of concern. modnamelistfile.mod wasn't generated by the Intel Fortran compiler - probably by some other Fortran. You will need to recompile ALL the Fortran sources with Intel Fortran.

0 Kudos
Reply