Search found 18 matches

by ckerry
Sun Jan 29, 2023 8:30 am
Forum: ROMS Installation
Topic: /usr/bin/env: perl^M: No such file or directory
Replies: 2
Views: 3420

Re: /usr/bin/env: perl^M: No such file or directory

Ahh OK thank you. I did this as the Gui was so much easier, then I copied to the Linux machine. Which I now realise is incorrect. I have now downloaded the code from the terminal and checked out the required version, and all is compiling well. Thank you. git clone https://www.myroms.org/git/src ./ g...
by ckerry
Fri Jan 27, 2023 8:20 am
Forum: ROMS Installation
Topic: /usr/bin/env: perl^M: No such file or directory
Replies: 2
Views: 3420

/usr/bin/env: perl^M: No such file or directory

Hello, When I compile I get the following error. Clean previous scratch build svn: E155007: '/scale_wlg_persistent/filesets/project/mocean03108/roms_src/trunk' is not a working copy svn: E155007: '/scale_wlg_persistent/filesets/project/mocean03108/roms_src/trunk' is not a working copy rm -f -r core ...
by ckerry
Wed Oct 19, 2022 10:39 am
Forum: ROMS Adjoint
Topic: Obs file altered in VERIFICATION run such that Zgrid is wrong, then observations rejected
Replies: 5
Views: 5420

Re: Obs file altered in VERIFICATION run such that Zgrid is wrong, then observations rejected

The Zgrid values in my obs file are all between 1-50 where nlayers=50, and the depth values are all 0 or less (0 or negative). From the ROMS code I cannot see how it is then possible that the Zgrid values in the obs file are being overwritten. When I have run similar VERIFICATION runs in the past, t...
by ckerry
Wed Oct 19, 2022 5:57 am
Forum: ROMS Adjoint
Topic: Obs file altered in VERIFICATION run such that Zgrid is wrong, then observations rejected
Replies: 5
Views: 5420

Re: Obs file altered in VERIFICATION run such that Zgrid is wrong, then observations rejected

Thank you for your help. I have double and tripled checked and I believe my Zgrid and depth values are correct. Yet the observations are still being rejected. Is there a way I can find out why ROMS is rejecting the obs? I see that they are rejected in the log file but cannot figure out why. They are...
by ckerry
Tue Oct 04, 2022 2:03 am
Forum: ROMS Adjoint
Topic: Obs file altered in VERIFICATION run such that Zgrid is wrong, then observations rejected
Replies: 5
Views: 5420

Obs file altered in VERIFICATION run such that Zgrid is wrong, then observations rejected

Hello, I am seeing some unusual behaviour with Zgrid when running VERIFICATION. When I kick off the VERIFICATION run, the input observation file is altered. It then has incorrect Zgrid, so the observations are rejected and hence incorrect values are output to the mod file (NLmodel_value output in th...
by ckerry
Fri Sep 23, 2022 2:27 am
Forum: ROMS Adjoint
Topic: observation data rejected!
Replies: 9
Views: 11003

Re: observation data rejected!

Hello, I am seeing some unusual behaviour with Zgrid when running VERIFICATION. In my input obs.nc file I have Zgrid=50 and depth=-2 for SST obs (my model has 50 layers). When I run the VERIFICATION, the obs file is written to and altered. For the first day (of 6 daily times for which I have SST dat...
by ckerry
Tue Nov 24, 2020 2:47 am
Forum: ROMS Discussion
Topic: Compiling AD_SENSITIVITY
Replies: 0
Views: 969

Compiling AD_SENSITIVITY

I am trying to compile to perform adjoint sensitivity analysis with #define AD_SENSITIVITY. I am able to compile with #define NLM_DRIVER successfully, but when I try to compile with #define AD_SENSITIVITY I get the following error. /home/ckerry/adjoint_sens_analysis/runs/build/ocean_control.o: In fu...
by ckerry
Wed Sep 23, 2020 3:53 am
Forum: ROMS Bugs
Topic: Error with wclock_on subroutine
Replies: 1
Views: 1822

Error with wclock_on subroutine

Hello, When running ROMS I am getting the following error. I'm wondering if anyone knows what it means and how I might debug it. [gadi-cpu-clx-2186:757301:0:757301] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x200) ==== backtrace (tid: 757325) ==== 0 0x000000000001...
by ckerry
Thu Apr 18, 2019 5:33 am
Forum: ROMS Discussion
Topic: CG_DELTA not positive, IS4Dvar
Replies: 1
Views: 1297

CG_DELTA not positive, IS4Dvar

Hi, I'm wondering if anyone can help with the following error in the descent algorithm when using IS4DVAR? I get the following error, repeated several times in the run log file. <<<< Descent Algorithm >>>> CG_DELTA not positive. CG_DELTA = -3.936643675943532E+035 , outer = 1 , inner = 1 CG_DELTA not...
by ckerry
Mon Jul 23, 2018 12:00 am
Forum: ROMS Adjoint
Topic: Tangent Initial Norm is NaN
Replies: 2
Views: 4163

Re: Tangent Initial Norm is NaN

Hi,
Just wondering if either of you solved this issue?
Thanks
by ckerry
Sun Jul 22, 2018 11:55 pm
Forum: ROMS Adjoint
Topic: Can't run my IS4D-Var case Gnorm = NaN
Replies: 8
Views: 7658

Re: Can't run my IS4D-Var case Gnorm = NaN

Hi, I'm also wondering if you solved this problem and I am having the same problem. <<<< Descent Algorithm >>>> (001,000): Initial gradient norm, Gnorm = NaN ..... TLM: GET_STATE - Read state initial conditions, t = 4367 00:00:00 (File: ocean_itl.nc, Rec=0001, Index=1) - free-surface (Min = NaN Max ...
by ckerry
Sun Jul 22, 2018 11:45 pm
Forum: ROMS Adjoint
Topic: Initial gradient norm, Gnorm = NaN
Replies: 1
Views: 2288

Re: Initial gradient norm, Gnorm = NaN

Hi,
I'm wondering if you found the solution to this problem?
I'm having the same error.
Thanks
by ckerry
Sat Dec 13, 2014 6:48 am
Forum: ROMS Installation
Topic: /usr/bin/ld: cannot find -lnetcdff
Replies: 7
Views: 15927

Re: /usr/bin/ld: cannot find -lnetcdff

Thank you.
I did not know that I had to install the Fortran netCDF library and the netCDF C library separately.
I installed netcdf-fortran and now I have netcdf.mod, typesizes.mod and libnetcdff.so as you said, and can compile ROMS!
Thanks so much for your help.
by ckerry
Fri Dec 12, 2014 3:25 am
Forum: ROMS Installation
Topic: /usr/bin/ld: cannot find -lnetcdff
Replies: 7
Views: 15927

Re: /usr/bin/ld: cannot find -lnetcdff

Hi Kate, Thanks a lot for the help. I tried option 3, hacking the ifdef USE_NETCDF4 loop ifdef USE_NETCDF4 NC_CONFIG ?= nc-config NETCDF_INCDIR ?= $(shell $(NC_CONFIG) --prefix)/include/Intel NETCDF_LIBDIR=/apps/netcdf/4.2.1.1/lib/Intel:/apps/netcdf/4.2.1.1/lib LIBS :="-L/apps/netcdf/4.2.1.1/li...
by ckerry
Wed Dec 10, 2014 11:21 pm
Forum: ROMS Installation
Topic: /usr/bin/ld: cannot find -lnetcdff
Replies: 7
Views: 15927

Re: /usr/bin/ld: cannot find -lnetcdff

I use a recent version of ROMS and netcdf4. My build script uses nc-config to specify the netcdf library files, export NC_CONFIG=nc-config, which had the library and include directories specified as prefix=/apps/netcdf/4.2.1.1 exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/incl...
by ckerry
Wed Dec 10, 2014 2:14 am
Forum: ROMS Installation
Topic: /usr/bin/ld: cannot find -lnetcdff
Replies: 7
Views: 15927

/usr/bin/ld: cannot find -lnetcdff

Hi, I am having an issue compiling ROMS, to do with the paths to the netcdf library. Firstly I got the error: cp -f /apps/netcdf/4.2.1.1/include/netcdf.mod /home/561/cgk561/eac/normalizations/build cp: cannot stat `/apps/netcdf/4.2.1.1/include/netcdf.mod': No such file or directory cp -f /apps/netcd...
by ckerry
Fri Nov 09, 2012 1:37 am
Forum: ROMS Bugs
Topic: ERROR: Abnormal termination: NetCDF OUTPUT.
Replies: 17
Views: 13946

Re: ERROR: Abnormal termination: NetCDF OUTPUT.

I have had this error message before when my set-up files are in a directory which is several sub-directories away from my home directory eg. /home/subdir1/subdir2/subdir3/subdir4/run By copying the exact same set-up files to a folder /home/run for example I no longer got the error. I don't understa...
by ckerry
Sun Apr 24, 2011 5:03 am
Forum: ROMS Installation
Topic: Installing ROMS on Mac - error compiling netCDF3 with gfortr
Replies: 2
Views: 6062

Installing ROMS on Mac - error compiling netCDF3 with gfortr

Hi, I am trying to install ROMS on a Mac following the directions at https://www.myroms.org/wiki/index.php/ROMS_Mac I have downloaded netcdf-3.6.3.tar.gz and extracted it, then from the directory ~/src/netcdf-3.6.3 I execute export FC=gfortran export FFLAGS='-O3' ./configure --prefix=/opt/gfortran/s...