after typing make (upw case), I get:
fortcom: Error: mod_ncparam.f90, line 692: This name does not have a type, and must have an explicit type. [HEADER]
Hfile=HEADER
--------------^
fortcom: Error: mod_ncparam.f90, line 692: A CHARACTER data type is required in this context. [HEADER]
Hfile=HEADER
--------------^
compilation aborted for mod_ncparam.f90 (code 1)
gmake: *** [Build/mod_ncparam.o] Error 1
========================================
then going to mod_ncparam.f90 line 692, I see:
====================================
Rdir="/home/auad/Models"
Hdir="/home/auad/Models/ROMS/Include"
Hfile=HEADER
Adir="./ROMS/Functionals"
=====================================
where line 692 is Hfile=........
how and where is this fixed? thx
Guiyo.
compil error
The string HEADER should be converted to something else by the C preprocessor. I think the string should be ROMS_HEADER. If you look in the makefile, there is stuff like this:
and
This is telling you that ROMS_HEADER will be converted to what's in the makefile variable HEADER.
Code: Select all
HEADER := $(addsuffix .h, \
$(shell echo ${ROMS_APPLICATION} | tr [A-Z] [a-z]))
Code: Select all
ROMS_CPPFLAGS += -D'ROMS_HEADER="$(HEADER)"'