cd Build; -c -fno-second-underscore -O3 -ffast-math mod_kinds.f90
/bin/sh: 1: -c: not found
ROMS/Modules/Module.mk:15: recipe for target 'Build/mod_kinds.o' failed
make: *** [Build/mod_kinds.o] Error 127
please help me
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
Code: Select all
#--------------------------------------------------------------------------
# If applicable, use my specified library paths.
#--------------------------------------------------------------------------
setenv USE_MY_LIBS no # use system default library paths
#setenv USE_MY_LIBS yes # use my customized library paths
set MY_PATHS = ${COMPILERS}/my_build_paths.sh
if ($USE_MY_LIBS == 'yes') then
source ${MY_PATHS} ${MY_PATHS}
endif
Code: Select all
# Set path of the directory containing makefile configuration (*.mk) files.
# The user has the option to specify a customized version of these files
# in a different directory than the one distributed with the source code,
# ${MY_ROMS_SRC}/Compilers. If this is the case, you need to keep these
# configurations files up-to-date.
setenv COMPILERS ${MY_ROMS_SRC}/Compilers
#setenv COMPILERS ${HOME}/Compilers/ROMS
Code: Select all
/home/keles/roms/Projects/Upwelling/Build_roms/libUTIL.a(close_io.o):close_io.f90:(.text+0x120c): undefined reference to `__netcdf_MOD_nf90_strerror'
Code: Select all
/home/keles/roms/Projects/Upwelling/Build_roms/libUTIL.a(close_io.o):close_io.f90:(.text+0x120c): truncated relocation to adjust: R_X86_64_PC32 against the undefined reference to: `__netcdf_MOD_nf90_strerror'
Code: Select all
export COMPILERS=/home/keles/roms/Projects/Upwelling
Code: Select all
#export USE_MY_LIBS=no # use system default library paths
export USE_MY_LIBS=yes # use my customized library paths
MY_PATHS=${COMPILERS}/my_build_paths.bash
Code: Select all
collect2: error: ld returned 1 exit status
make: *** [Master/Module.mk:22: /home/keles/roms/Projects/Upwelling/romsS.exe] Error 1
Code: Select all
export NETCDF_INCDIR=/usr/local/include
export NETCDF_LIBDIR=/usr/local/lib
Code: Select all
NETCDF_INCDIR ?= /usr/local/include
NETCDF_LIBDIR ?= /usr/local/lib
NETCDF_LIBS ?= -lnetcdff -lnetcdf
Code: Select all
export USE_MPIF90=on # compile with mpif90 script
export FORT=gfortran
export USE_DEBUG=on # use Fortran debugging flags
export USE_LARGE=on # activate 64-bit compilation
export USE_NETCDF4=on
Code: Select all
export NETCDF=/usr
export NF_CONFIG=${NETCDF}/bin/nf-config
export NETCDF_INCDIR=${NETCDF}/include