Problem compiling using new version

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
z.sherafat
Posts: 5
Joined: Tue Nov 18, 2014 2:49 pm
Location: Tarbiat Modares University

Problem compiling using new version

#1 Post by z.sherafat » Mon Feb 05, 2018 8:48 am

Dear all
I compiled and ran ROMS for upwelling, basin and some other ROMS examples successfully. I tried to run ROMS for my test, first I compiled successfully but I got some errors in running .I searched in the forum and I found that the problem was due to using inconsistent version of my svn code version and version of varinfo.dat file which I have used. Therefore I updated my ROMS version but unfortunately after that I have also got error in compiling too. When I ran build.bash I got the following message:


e/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_gst.F > /home/zsherafat/test/roms/Build/def_gst.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_gst.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_gst.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_hessian.F > /home/zsherafat/test/roms/Build/def_hessian.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_hessian.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_hessian.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_his.F > /home/zsherafat/test/roms/Build/def_his.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_his.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_his.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_impulse.F > /home/zsherafat/test/roms/Build/def_impulse.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_impulse.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_impulse.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_info.F > /home/zsherafat/test/roms/Build/def_info.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_info.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_info.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_ini.F > /home/zsherafat/test/roms/Build/def_ini.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_ini.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_ini.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_lanczos.F > /home/zsherafat/test/roms/Build/def_lanczos.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_lanczos.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_lanczos.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_mod.F > /home/zsherafat/test/roms/Build/def_mod.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_mod.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_mod.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_norm.F > /home/zsherafat/test/roms/Build/def_norm.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_norm.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_norm.f90
/usr/bin/cpp -P -traditional -DMPI -DLINUX -DX86_64 -DGFORTRAN -D'ROOT_DIR="/home/zsherafat/src"' -Dnri -D'HEADER="nri.h"' -D'ROMS_HEADER="/home/zsherafat/test/roms/nri.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/home/zsherafat/test/roms/Functionals"' -D'MY_ANALYTICAL="on"' -D'SVN_REV="882M"' -IROMS/Include -I/home/zsherafat/test/roms/Functionals -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/home/zsherafat/test/roms -IMaster -ICompilers -D'HEADER_DIR="/home/zsherafat/test/roms"' ROMS/Utility/def_quick.F > /home/zsherafat/test/roms/Build/def_quick.f90
ROMS/Bin/cpp_clean /home/zsherafat/test/roms/Build/def_quick.f90
cd /home/zsherafat/test/roms/Build; /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90 -c -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include def_quick.f90
def_quick.f90:843.25:

& cccc "ROMS/Utility/def_quick.F")) RETURN
1
Error: Syntax error in argument list at (1)
make: *** [/home/zsherafat/test/roms/Build/def_quick.o] Error 1



How can I solve the problem?
thanks.

jcwarner
Posts: 816
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Problem compiling using new version

#2 Post by jcwarner » Mon Feb 05, 2018 2:18 pm

edit ROMS/Utility/def_quick.F and look near lines 1576-1577.
IF you see this:

IF (FoundError(exit_flag, NoError, __LINE__, &
& cccc __FILE__)) RETURN

change it to

IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN

see if that works.
-john

z.sherafat
Posts: 5
Joined: Tue Nov 18, 2014 2:49 pm
Location: Tarbiat Modares University

Re: Problem compiling using new version

#3 Post by z.sherafat » Wed May 30, 2018 10:45 am

Dear Prof. Warner
Unfortunately I didn't saw your answer, and I thought I haven’t got any
answer. I really apologize for delayed reply.
I change:
IF (FoundError(exit_flag, NoError, __LINE__, &
& cccc __FILE__)) RETURN

to

IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN

I got the following message:


/home/zsherafat/test/roms/Build/libUTIL.a(distribute.o): In function `__distribute_mod_MOD_mp_ncwrite2d':
distribute.f90:(.text+0xd6bd): undefined reference to `__netcdf_MOD_nf90_inq_varid'
distribute.f90:(.text+0xd974): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
distribute.f90:(.text+0xdc46): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libUTIL.a(distribute.o): In function `__distribute_mod_MOD_mp_ncwrite1d':
distribute.f90:(.text+0xe498): undefined reference to `__netcdf_MOD_nf90_inq_varid'
distribute.f90:(.text+0xe761): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
distribute.f90:(.text+0xe9fc): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libUTIL.a(distribute.o): In function `__distribute_mod_MOD_mp_ncread2d':
distribute.f90:(.text+0xf27f): undefined reference to `__netcdf_MOD_nf90_inq_varid'
distribute.f90:(.text+0xfa83): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libUTIL.a(distribute.o): In function `__distribute_mod_MOD_mp_ncread1d':
distribute.f90:(.text+0x10247): undefined reference to `__netcdf_MOD_nf90_inq_varid'
distribute.f90:(.text+0x10935): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libUTIL.a(nf_fwrite2d.o): In function `__nf_fwrite2d_mod_MOD_nf_fwrite2d':
nf_fwrite2d.f90:(.text+0x5ce): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libUTIL.a(nf_fwrite3d.o): In function `__nf_fwrite3d_mod_MOD_nf_fwrite3d':
nf_fwrite3d.f90:(.text+0x6d0): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libUTIL.a(def_dim.o): In function `def_dim_':
def_dim.f90:(.text+0xfc): undefined reference to `__netcdf_MOD_nf90_def_dim'
/home/zsherafat/test/roms/Build/libUTIL.a(def_info.o): In function `def_info_':
def_info.f90:(.text+0x12196): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_info.f90:(.text+0x122de): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_info.f90:(.text+0x1239d): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_info.f90:(.text+0x124ca): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_info.f90:(.text+0x125fd): undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/zsherafat/test/roms/Build/libUTIL.a(def_info.o):def_info.f90:(.text+0x12725): more undefined references to `__netcdf_MOD_nf90_put_att_text' follow
/home/zsherafat/test/roms/Build/libUTIL.a(def_var.o): In function `__def_var_mod_MOD_def_var':
def_var.f90:(.text+0x294): undefined reference to `__netcdf_MOD_nf90_def_var_manydims'
def_var.f90:(.text+0x350): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x3d1): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x487): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x550): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0x643): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0x77b): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x889): undefined reference to `__netcdf_MOD_nf90_put_att_eightbytereal'
def_var.f90:(.text+0x907): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x988): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0xa09): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0xa8a): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0xb14): undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/zsherafat/test/roms/Build/libUTIL.a(def_var.o):def_var.f90:(.text+0xb9a): more undefined references to `__netcdf_MOD_nf90_put_att_text' follow
/home/zsherafat/test/roms/Build/libUTIL.a(def_var.o): In function `__def_var_mod_MOD_def_var':
def_var.f90:(.text+0xc66): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0xd5b): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0xe58): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
def_var.f90:(.text+0xf05): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0xf86): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x11d7): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x125d): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x13d6): undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/zsherafat/test/roms/Build/libUTIL.a(def_var.o):def_var.f90:(.text+0x1484): more undefined references to `__netcdf_MOD_nf90_put_att_text' follow
/home/zsherafat/test/roms/Build/libUTIL.a(def_var.o): In function `__def_var_mod_MOD_def_var':
def_var.f90:(.text+0x18f6): undefined reference to `__netcdf_MOD_nf90_put_att_fourbyteint'
def_var.f90:(.text+0x196a): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x1ad9): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x1c2c): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x1d81): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x1e07): undefined reference to `__netcdf_MOD_nf90_put_att_text'
/home/zsherafat/test/roms/Build/libUTIL.a(def_var.o):def_var.f90:(.text+0x1e7b): more undefined references to `__netcdf_MOD_nf90_put_att_text' follow
/home/zsherafat/test/roms/Build/libUTIL.a(def_var.o): In function `__def_var_mod_MOD_def_var':
def_var.f90:(.text+0x2fa2): undefined reference to `__netcdf_MOD_nf90_def_var_scalar'
def_var.f90:(.text+0x30a5): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x3124): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x319a): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x3212): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x35d6): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x365c): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x370f): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x3782): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x382a): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x3aac): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x3b55): undefined reference to `__netcdf_MOD_nf90_put_att_fourbytereal'
def_var.f90:(.text+0x3bce): undefined reference to `__netcdf_MOD_nf90_put_att_fourbyteint'
def_var.f90:(.text+0x3c32): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x3caa): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x3d21): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint'
def_var.f90:(.text+0x3dae): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x3e22): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x3e96): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x3f0c): undefined reference to `__netcdf_MOD_nf90_put_att_text'
def_var.f90:(.text+0x5ab6): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal'
def_var.f90:(.text+0x5ae1): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal'
/home/zsherafat/test/roms/Build/libUTIL.a(nf_fread2d.o): In function `__nf_fread2d_mod_MOD_nf_fread2d':
nf_fread2d.f90:(.text+0xc27): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libUTIL.a(nf_fread3d.o): In function `__nf_fread3d_mod_MOD_nf_fread3d':
nf_fread3d.f90:(.text+0x83e): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_sync':
mod_netcdf.f90:(.text+0xba): undefined reference to `__netcdf_MOD_nf90_sync'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_redef':
mod_netcdf.f90:(.text+0x25a): undefined reference to `__netcdf_MOD_nf90_redef'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_open':
mod_netcdf.f90:(.text+0x3d5): undefined reference to `__netcdf_MOD_nf90_open'
mod_netcdf.f90:(.text+0x5a2): undefined reference to `__netcdf_MOD_nf90_open'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_enddef':
mod_netcdf.f90:(.text+0x693): undefined reference to `__netcdf_MOD_nf90_enddef'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_create':
mod_netcdf.f90:(.text+0x8ae): undefined reference to `__netcdf_MOD_nf90_create'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_close':
mod_netcdf.f90:(.text+0xb20): undefined reference to `__netcdf_MOD_nf90_close'
mod_netcdf.f90:(.text+0xbad): undefined reference to `__netcdf_MOD_nf90_get_att_text'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_inq_var.constprop.0':
mod_netcdf.f90:(.text+0xdf9): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0x14d5): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0x1599): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_0d.constprop.1':
mod_netcdf.f90:(.text+0x1993): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x19c3): undefined reference to `__netcdf_MOD_nf90_get_var_eightbytereal'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_svar_1d':
mod_netcdf.f90:(.text+0x200b): undefined reference to `__netcdf_MOD_nf90_put_var_1d_text'
mod_netcdf.f90:(.text+0x22d5): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_svar_0d':
mod_netcdf.f90:(.text+0x259a): undefined reference to `__netcdf_MOD_nf90_put_var_text'
mod_netcdf.f90:(.text+0x28b6): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_lvar_2d':
mod_netcdf.f90:(.text+0x2e91): undefined reference to `__netcdf_MOD_nf90_put_var_2d_fourbyteint'
mod_netcdf.f90:(.text+0x318c): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_lvar_1d':
mod_netcdf.f90:(.text+0x3705): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x3a2b): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_lvar_0d':
mod_netcdf.f90:(.text+0x3e8e): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x4153): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x42bd): undefined reference to `__netcdf_MOD_nf90_put_var_fourbyteint'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_ivar_2d':
mod_netcdf.f90:(.text+0x463a): undefined reference to `__netcdf_MOD_nf90_put_var_2d_fourbyteint'
mod_netcdf.f90:(.text+0x494b): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_ivar_1d':
mod_netcdf.f90:(.text+0x4dd5): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x50bb): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_ivar_0d':
mod_netcdf.f90:(.text+0x5504): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0x57d3): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x593d): undefined reference to `__netcdf_MOD_nf90_put_var_fourbyteint'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_4d':
mod_netcdf.f90:(.text+0x5d55): undefined reference to `__netcdf_MOD_nf90_put_var_4d_eightbytereal'
mod_netcdf.f90:(.text+0x60d1): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_3d':
mod_netcdf.f90:(.text+0x65f6): undefined reference to `__netcdf_MOD_nf90_put_var_3d_eightbytereal'
mod_netcdf.f90:(.text+0x6941): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_2d':
mod_netcdf.f90:(.text+0x6e1a): undefined reference to `__netcdf_MOD_nf90_put_var_2d_eightbytereal'
mod_netcdf.f90:(.text+0x712b): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_1d':
mod_netcdf.f90:(.text+0x75b5): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
mod_netcdf.f90:(.text+0x789b): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_put_fvar_0d':
mod_netcdf.f90:(.text+0x7ceb): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
mod_netcdf.f90:(.text+0x7fa8): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x8112): undefined reference to `__netcdf_MOD_nf90_put_var_eightbytereal'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_svar_1d':
mod_netcdf.f90:(.text+0x83a3): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x84fb): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_svar_0d':
mod_netcdf.f90:(.text+0x8ab3): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x8bad): undefined reference to `__netcdf_MOD_nf90_get_var_text'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_ivar_2d':
mod_netcdf.f90:(.text+0x9136): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x92a1): undefined reference to `__netcdf_MOD_nf90_get_var_2d_fourbyteint'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_ivar_1d':
mod_netcdf.f90:(.text+0x98e3): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x9a24): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_ivar_0d':
mod_netcdf.f90:(.text+0x9fb3): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xa0f1): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0xa2ea): undefined reference to `__netcdf_MOD_nf90_get_var_fourbyteint'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_lvar_1d':
mod_netcdf.f90:(.text+0xa730): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xa7dc): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0xaea5): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0xb125): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
mod_netcdf.f90:(.text+0xb216): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0xb2b7): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_lvar_0d':
mod_netcdf.f90:(.text+0xb529): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xb5d5): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0xbc2d): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
mod_netcdf.f90:(.text+0xbd71): undefined reference to `__netcdf_MOD_nf90_get_var_text'
mod_netcdf.f90:(.text+0xbdeb): undefined reference to `__netcdf_MOD_nf90_get_var_fourbyteint'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_0d':
mod_netcdf.f90:(.text+0xc073): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xc1b3): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
mod_netcdf.f90:(.text+0xc3a8): undefined reference to `__netcdf_MOD_nf90_get_var_eightbytereal'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_satt':
mod_netcdf.f90:(.text+0xc880): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0xc8ff): undefined reference to `__netcdf_MOD_nf90_inq_attname'
mod_netcdf.f90:(.text+0xc9a8): undefined reference to `__netcdf_MOD_nf90_get_att_text'
mod_netcdf.f90:(.text+0xcbb7): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fatt':
mod_netcdf.f90:(.text+0xd387): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0xd417): undefined reference to `__netcdf_MOD_nf90_inq_attname'
mod_netcdf.f90:(.text+0xd4c2): undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
mod_netcdf.f90:(.text+0xd709): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_4d':
mod_netcdf.f90:(.text+0xe922): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0xeaf1): undefined reference to `__netcdf_MOD_nf90_get_var_4d_eightbytereal'
mod_netcdf.f90:(.text+0xf43a): undefined reference to `__netcdf_MOD_nf90_get_var_4d_eightbytereal'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_3d':
mod_netcdf.f90:(.text+0x1018a): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x10330): undefined reference to `__netcdf_MOD_nf90_get_var_3d_eightbytereal'
mod_netcdf.f90:(.text+0x10bf8): undefined reference to `__netcdf_MOD_nf90_get_var_3d_eightbytereal'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_2d':
mod_netcdf.f90:(.text+0x11549): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x116c5): undefined reference to `__netcdf_MOD_nf90_get_var_2d_eightbytereal'
mod_netcdf.f90:(.text+0x11b2b): undefined reference to `__netcdf_MOD_nf90_get_var_2d_eightbytereal'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_fvar_1d':
mod_netcdf.f90:(.text+0x12751): undefined reference to `__netcdf_MOD_nf90_inq_varid'
mod_netcdf.f90:(.text+0x12895): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
mod_netcdf.f90:(.text+0x12cf8): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_inq_varid':
mod_netcdf.f90:(.text+0x132a7): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_inq_var':
mod_netcdf.f90:(.text+0x13534): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0x13df3): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
mod_netcdf.f90:(.text+0x13fac): undefined reference to `__netcdf_MOD_nf90_inq_attname'
mod_netcdf.f90:(.text+0x1401a): undefined reference to `__netcdf_MOD_nf90_inquire_attribute'
mod_netcdf.f90:(.text+0x140d1): undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
mod_netcdf.f90:(.text+0x14562): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
mod_netcdf.f90:(.text+0x14646): undefined reference to `__netcdf_MOD_nf90_inq_attname'
mod_netcdf.f90:(.text+0x14895): undefined reference to `__netcdf_MOD_nf90_get_att_text'
mod_netcdf.f90:(.text+0x14e72): undefined reference to `__netcdf_MOD_nf90_get_att_one_fourbyteint'
/home/zsherafat/test/roms/Build/libMODS.a(mod_netcdf.o): In function `__mod_netcdf_MOD_netcdf_get_dim':
mod_netcdf.f90:(.text+0x15daf): undefined reference to `__netcdf_MOD_nf90_inquire'
mod_netcdf.f90:(.text+0x16192): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
collect2: error: ld returned 1 exit status
make: *** [/home/zsherafat/test/roms/oceanM] Error 1

User avatar
kate
Posts: 3717
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: Problem compiling using new version

#4 Post by kate » Wed May 30, 2018 11:50 am

This one is in the FAQ.

z.sherafat
Posts: 5
Joined: Tue Nov 18, 2014 2:49 pm
Location: Tarbiat Modares University

Re: Problem compiling using new version

#5 Post by z.sherafat » Thu May 31, 2018 5:39 am

Thanks for your response.
the problem has solved using this thread:
viewtopic.php?f=31&t=1296&p=4599&hilit=config#p4599
thanks alot.

z.sherafat
Posts: 5
Joined: Tue Nov 18, 2014 2:49 pm
Location: Tarbiat Modares University

problem in running new version

#6 Post by z.sherafat » Thu May 31, 2018 6:25 am

after compiling, I got this error in running oceanG:



zsherafat@zsherafat:~/test/roms$ ./oceanG romsinput.in
--------------------------------------------------------------------------------
Model Input Parameters: ROMS/TOMS version 3.7
Thursday - May 31, 2018 - 10:44:13 AM
--------------------------------------------------------------------------------

NewRiver

Operating system : Linux
CPU/hardware : x86_64
Compiler system : gfortran
Compiler command : /home/zsherafat/program..install/mpich-3.1.3/bin/mpif90
Compiler flags : -frepack-arrays -O3 -ffast-math -I/home/zsherafat/program..install/MCT/include -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none -ffree-fo

Input Script : romsinput.in

SVN Root URL : https://www.myroms.org/svn/src/trunk
SVN Revision : 882M

Local Root : /home/zsherafat/src
Header Dir : /home/zsherafat/test/roms
Header file : nri.h
Analytical Dir: /home/zsherafat/test/roms/Functionals

Resolution, Grid 01: 0198x0198x010, Parallel Nodes: 1, Tiling: 001x001


Physical Parameters, Grid: 01
=============================

2520000 ntimes Number of timesteps for 3-D equations.
1.200 dt Timestep size (s) for 3-D equations.
1 ndtfast Number of timesteps for 2-D equations between
each 3D timestep.
1 ERstr Starting ensemble/perturbation run number.
1 ERend Ending ensemble/perturbation run number.
0 nrrec Number of restart records to read from disk.
T LcycleRST Switch to recycle time-records in restart file.
1800 nRST Number of timesteps between the writing of data
into restart fields.
30 ninfo Number of timesteps between print of information
to standard output.
T ldefout Switch to create a new output NetCDF file(s).
1500 nHIS Number of timesteps between the writing fields
into history file.
0 nQCK Number of timesteps between the writing fields
into quicksave file.
1500 ntsAVG Starting timestep for the accumulation of output
time-averaged data.
1500 nAVG Number of timesteps between the writing of
time-averaged data into averages file.
2.0000E-01 nl_visc2 NLM Horizontal, harmonic mixing coefficient
(m2/s) for momentum.
F LuvSponge Turning OFF sponge on horizontal momentum.
F LtracerSponge(01) Turning OFF sponge on tracer 01: temp
F LtracerSponge(02) Turning OFF sponge on tracer 02: salt
5.0000E-06 Akt_bak(01) Background vertical mixing coefficient (m2/s)
for tracer 01: temp
5.0000E-06 Akt_bak(02) Background vertical mixing coefficient (m2/s)
for tracer 02: salt
5.0000E-05 Akv_bak Background vertical mixing coefficient (m2/s)
for momentum.
5.0000E-06 Akk_bak Background vertical mixing coefficient (m2/s)
for turbulent energy.
5.0000E-06 Akp_bak Background vertical mixing coefficient (m2/s)
for turbulent generic statistical field.
3.000 gls_p GLS stability exponent.
1.500 gls_m GLS turbulent kinetic energy exponent.
-1.000 gls_n GLS turbulent length scale exponent.
7.6000E-06 gls_Kmin GLS minimum value of turbulent kinetic energy.
1.0000E-12 gls_Pmin GLS minimum value of dissipation.
5.4770E-01 gls_cmu0 GLS stability coefficient.
1.4400E+00 gls_c1 GLS shear production coefficient.
1.9200E+00 gls_c2 GLS dissipation coefficient.
-4.0000E-01 gls_c3m GLS stable buoyancy production coefficient.
1.0000E+00 gls_c3p GLS unstable buoyancy production coefficient.
1.0000E+00 gls_sigk GLS constant Schmidt number for TKE.
1.3000E+00 gls_sigp GLS constant Schmidt number for PSI.
1400.000 charnok_alpha Charnok factor for Zos calculation.
0.500 zos_hsig_alpha Factor for Zos calculation using Hsig(Awave).
0.250 sz_alpha Factor for Wave dissipation surface tke flux .
100.000 crgban_cw Factor for Craig/Banner surface tke flux.
3.0000E-04 rdrg Linear bottom drag coefficient (m/s).
5.0000E-03 rdrg2 Quadratic bottom drag coefficient.
1.5000E-02 Zob Bottom roughness (m).
5.0000E-01 Zos Surface roughness (m).
1 Vtransform S-coordinate transformation equation.
1 Vstretching S-coordinate stretching function.
1.0000E+00 theta_s S-coordinate surface control parameter.
1.0000E+00 theta_b S-coordinate bottom control parameter.
0.000 Tcline S-coordinate surface/bottom layer width (m) used
in vertical coordinate stretching.
1025.000 rho0 Mean density (kg/m3) for Boussinesq approximation.
-1.000 dstart Time-stamp assigned to model initialization (days).
20120501.00 time_ref Reference time for units attribute (yyyymmdd.dd)
0.0000E+00 Tnudg(01) Nudging/relaxation time scale (days)
for tracer 01: temp
0.0000E+00 Tnudg(02) Nudging/relaxation time scale (days)
for tracer 02: salt
0.0000E+00 Znudg Nudging/relaxation time scale (days)
for free-surface.
0.0000E+00 M2nudg Nudging/relaxation time scale (days)
for 2D momentum.
3.6000E+02 M3nudg Nudging/relaxation time scale (days)
for 3D momentum.
1.2000E+02 obcfac Factor between passive and active
open boundary conditions.
F VolCons(1) NLM western edge boundary volume conservation.
F VolCons(2) NLM southern edge boundary volume conservation.
F VolCons(3) NLM eastern edge boundary volume conservation.
F VolCons(4) NLM northern edge boundary volume conservation.
10.000 T0 Background potential temperature (C) constant.
30.000 S0 Background salinity (PSU) constant.
1027.000 R0 Background density (kg/m3) used in linear Equation
of State.
1.7000E-04 Tcoef Thermal expansion coefficient (1/Celsius).
7.6000E-04 Scoef Saline contraction coefficient (1/PSU).
1.000 gamma2 Slipperiness variable: free-slip (1.0) or
no-slip (-1.0).
F LuvSrc Turning OFF momentum point Sources/Sinks.
F LwSrc Turning OFF volume influx point Sources/Sinks.
F LtracerSrc(01) Turning OFF point Sources/Sinks on tracer 01: temp
F LtracerSrc(02) Turning OFF point Sources/Sinks on tracer 02: salt
F LsshCLM Turning OFF processing of SSH climatology.
F Lm2CLM Turning OFF processing of 2D momentum climatology.
F Lm3CLM Turning OFF processing of 3D momentum climatology.
F LtracerCLM(01) Turning OFF processing of climatology tracer 01: temp
F LtracerCLM(02) Turning OFF processing of climatology tracer 02: salt
F LnudgeM2CLM Turning OFF nudging of 2D momentum climatology.
F LnudgeM3CLM Turning OFF nudging of 3D momentum climatology.
F LnudgeTCLM(01) Turning OFF nudging of climatology tracer 01: temp
F LnudgeTCLM(02) Turning OFF nudging of climatology tracer 02: salt

T Hout(idFsur) Write out free-surface.
T Hout(idUbar) Write out 2D U-momentum component.
T Hout(idVbar) Write out 2D V-momentum component.
T Hout(idUvel) Write out 3D U-momentum component.
T Hout(idVvel) Write out 3D V-momentum component.
T Hout(idWvel) Write out W-momentum component.
T Hout(idOvel) Write out omega vertical velocity.
T Hout(idTvar) Write out tracer 01: temp
T Hout(idTvar) Write out tracer 02: salt
T Hout(idWamp) Write out wave height.
T Hout(idWdir) Write out wave direction.
T Hout(idWpbt) Write out wave bottom period.
T Hout(idTsur) Write out surface net heat flux.
T Hout(idTsur) Write out surface net salt flux.

Output/Input Files:

Output Restart File: nri_rst.nc
Output History File: nri_his.nc
Output Averages File: nri_avg.nc
Input Grid File: /home/zsherafat/test/roms/nri_regional_grd_roms_20120510_not_smooth.nc

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7FDC2A0BE777
#1 0x7FDC2A0BED7E
#2 0x7FDC29A10D3F
#3 0x7FDC29B2A159
#4 0x41DC9A in read_phypar_
#5 0x407C21 in inp_par_
#6 0x403954 in __ocean_control_mod_MOD_roms_initialize
#7 0x4032B3 in MAIN__ at master.f90:?
Segmentation fault (core dumped)



How can I solve it?
thanks.

User avatar
kate
Posts: 3717
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: Problem compiling using new version

#7 Post by kate » Thu May 31, 2018 10:10 am

This one is also in the FAQ, plus searchable in these here forums where it showed up recently.

Post Reply