I successfully compiled and ran ROMS last week (upwelling case), but fail to compile today without changing anything.
I got strange warning message from ROMS/Utility/Module.mk like:
Code: Select all
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
GNU Build script command: build_roms.sh -j 2
ROMS source directory: xxx/MyROMS_0325
ROMS header file: xxx/upwelling.h
ROMS build directory: xxx/MyROMS_0325/Build_romsM
ROMS Application: UPWELLING
fatal: Not a git repository (or any of the parent directories): .git
ROMS/Utility/Module.mk:15: warning: overriding commands for target `xxx/MyROMS_0325/Build_romsM/yaml_parser'
ROMS/Utility/Module.mk:15: warning: ignoring old commands for target `xxx/MyROMS_0325/Build_romsM/yaml_parser'
ROMS/Utility/Module.mk:15: warning: overriding commands for target `xxx/MyROMS_0325/Build_romsM/-'
ROMS/Utility/Module.mk:15: warning: ignoring old commands for target `xxx/MyROMS_0325/Build_romsM/-'
Fortran compiler: ifort
Fortran flags: -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Code: Select all
make: Circular xxx/MyROMS_0325/Build_romsM/yaml_parser <- xxx/MyROMS_0325/Build_romsM/yaml_parser dependency dropped.
/usr/bin/cpp -P -traditional-cpp -w -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="xxx/MyROMS_0325"' -DUPWELLING -D'HEADER="upwelling.h"' -D'ROMS_HEADER="xxx/MyROMS_0325/upwelling.h"' -DNestedGrids= -D'ANALYTICAL_DIR="xxx/MyROMS_0325"' -D'MY_ANALYTICAL="on"' -D'GIT_URL=""' -D'GIT_REV=""' -D'SVN_URL="https://www.myroms.org/svn/src/trunk"' -D'SVN_REV="1219"' -IROMS/Include -Ixxx/MyROMS_0325 -IROMS/Nonlinear -IROMS/Nonlinear/BBL -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -Ixxx/MyROMS_0325 -IMaster -ICompilers -D'HEADER_DIR="xxx/MyROMS_0325"' ROMS/Utility/yaml_parser > xxx/MyROMS_0325/Build_romsM/yaml_parser
make: *** No rule to make target `-', needed by `xxx/MyROMS_0325/Build_romsM/-'. Stop.
make: *** Waiting for unfinished jobs....