Search found 8 matches

by chuning
Sun Jul 18, 2021 8:31 am
Forum: ROMS Bugs
Topic: Unable to write with PIO in restart runs
Replies: 1
Views: 4794

Unable to write with PIO in restart runs

I ran into an issue when using the PIO library for output. When I restart from a previous run and attach the outputs to existing netcdf files (LDEFOUT=F), the code reports back a netcdf error (not a ROMS error) and quits. The error message is Abort with message NetCDF: Attempt to extend dataset duri...
by chuning
Sun Jun 06, 2021 10:25 am
Forum: ROMS Bugs
Topic: PIO conflicts with non-zero NDEFHIS
Replies: 1
Views: 4807

PIO conflicts with non-zero NDEFHIS

When I compile with #PIO_LIB and run with a non-zero NDEFHIS value, ROMS reports the following runtime error Run-Time Check Failure. The variable 'edit_file_struct_$NV' is being used in 'edit_multifile.f90(258,7)' without being defined Upon a closer look it is the loop in line 424 of file ROMS/Utili...
by chuning
Fri May 28, 2021 11:49 pm
Forum: ROMS Bugs
Topic: typo in wrt_info.F
Replies: 2
Views: 4997

Re: typo in wrt_info.F

Hi Hernan, Those two lines are identical. The code compiles fine for me when STATIONS is activated or not. Those two lines are not identical. The last & should be % . The whole code piece in wrt_info.F is ! !----------------------------------------------------------------------- ! Write out grid...
by chuning
Fri May 28, 2021 12:25 pm
Forum: ROMS Bugs
Topic: typo in wrt_info.F
Replies: 2
Views: 4997

typo in wrt_info.F

Found a typo in ROMS/Utility/wrt_info.F

line 3747

Code: Select all

GRID_VARS : IF (FileH.eq.ABS(STA(ng)%pioFile&fh)) THEN
Should be

Code: Select all

GRID_VARS : IF (FileH.eq.ABS(STA(ng)%pioFile%fh)) THEN
by chuning
Tue Feb 04, 2020 8:51 am
Forum: ROMS Bugs
Topic: ROMS 3.9 MPDATA bugs
Replies: 2
Views: 7549

ROMS 3.9 MPDATA bugs

Hi, when using MPDATA in ROMS 3.9 I found two potential issues in step3d_t.F. The first one is a typo in line 826 DO i=IstrUm2,IstrUm2 Where it should be DO i=IstrUm2,Iendp2i The second one is related to the logical switches of SPLINES_VDIFF and MPDATA (line 1302-1433). With the current version, whe...
by chuning
Wed Jul 11, 2018 7:25 pm
Forum: ROMS Discussion
Topic: Global variables in parallel mode
Replies: 2
Views: 1743

Re: Global variables in parallel mode

Hi Kate, Thanks for the quick response. In my case I want to keep variables independent among tiles. I'm using MPI, so at least the cases I was running was solid. Nevertheless, I plan to rewrite the code to cope with the shared memory case. I had this question because earlier today I read somewhere ...
by chuning
Wed Jul 11, 2018 6:45 pm
Forum: ROMS Discussion
Topic: Global variables in parallel mode
Replies: 2
Views: 1743

Global variables in parallel mode

Hi all, I have a question about how global variables are treated when running ROMS in parallel mode. I'm working on parallelizing a new module I wrote to treat ROMS SOURCES terms. In this module I defined some global variables that are shared among several subroutines. These variables are changed ea...
by chuning
Mon Jul 31, 2017 1:31 pm
Forum: ROMS Discussion
Topic: Unable to read restart file
Replies: 0
Views: 1512

Unable to read restart file

Hi all, I need some help with restarting ROMS. I ran the model with a set of initial conditions for one model day and output the restart file in 'GB-TIDE_rst.nc'. When I restart the run, the restart file is loaded successfully as initial conditions, but when the timesteping begins it gives the follo...