ROMS from github error
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
ROMS from github error
Help:
Hello everyone, especially Kate, could you please help me? I run my case using the ROMS from svn well. Now, I want to using the SeaIce, so I download ROMS with SeaIce from github as Kate suggested. Before the ice module was added, I tested ocean module alone first (the version from github). But I get error while running. What should I do when I swich from svn ROMS to github ROMS ? Another question is, when I want add ice module, is it enough to change .h file while compile to active ICE_MODEL ? is it the only thing I need to do when add ice module?
my code and output:
mpirun -np 24 ./romsM ocean_zsa_jiao.in
--------------------------------------------------------------------------------
Model Input Parameters: ROMS/TOMS version 3.9
Friday - March 17, 2023 - 2:42:49 PM
--------------------------------------------------------------------------------
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B601741A130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B601794BB45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AE91FB36130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002AE920067B45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AF0CE9CA130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002AF0CEEFBB45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002ABAFA52F130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B8221286130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B82217B7B45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B78C5185130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B4B1B188130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B1F2790A130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B3111278130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AACBE563130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002BA0CAA6C130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AD3E55B0130 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AAEF8C40130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B2B908C1130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B2B90DF2B45 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B9831429130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B0FB8A91130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AB6FA8A8130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B3399425130 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B95B7716130 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B2C1150D130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B2C11A3EB45 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B0753394130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B07538C5B45 Unknown Unknown Unknown
Stack trace terminated abnormally.
Hello everyone, especially Kate, could you please help me? I run my case using the ROMS from svn well. Now, I want to using the SeaIce, so I download ROMS with SeaIce from github as Kate suggested. Before the ice module was added, I tested ocean module alone first (the version from github). But I get error while running. What should I do when I swich from svn ROMS to github ROMS ? Another question is, when I want add ice module, is it enough to change .h file while compile to active ICE_MODEL ? is it the only thing I need to do when add ice module?
my code and output:
mpirun -np 24 ./romsM ocean_zsa_jiao.in
--------------------------------------------------------------------------------
Model Input Parameters: ROMS/TOMS version 3.9
Friday - March 17, 2023 - 2:42:49 PM
--------------------------------------------------------------------------------
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B601741A130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B601794BB45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AE91FB36130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002AE920067B45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AF0CE9CA130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002AF0CEEFBB45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002ABAFA52F130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B8221286130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B82217B7B45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B78C5185130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B4B1B188130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B1F2790A130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B3111278130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AACBE563130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002BA0CAA6C130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AD3E55B0130 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AAEF8C40130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B2B908C1130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B2B90DF2B45 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B9831429130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B0FB8A91130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002AB6FA8A8130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B3399425130 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B95B7716130 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B2C1150D130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B2C11A3EB45 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000093D1A5 Unknown Unknown Unknown
romsM 000000000093ADC7 Unknown Unknown Unknown
romsM 00000000008E76E4 Unknown Unknown Unknown
romsM 00000000008E74F6 Unknown Unknown Unknown
romsM 0000000000899F16 Unknown Unknown Unknown
romsM 000000000089DB10 Unknown Unknown Unknown
libpthread.so.0 00002B0753394130 Unknown Unknown Unknown
romsM 00000000007FB682 Unknown Unknown Unknown
romsM 00000000007644BB Unknown Unknown Unknown
romsM 00000000006D8C35 Unknown Unknown Unknown
romsM 000000000040BE42 Unknown Unknown Unknown
romsM 000000000040B87C Unknown Unknown Unknown
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B07538C5B45 Unknown Unknown Unknown
Stack trace terminated abnormally.
Re: ROMS from github error
1. I'm not really supporting that code any more.
2. Yes, turning on the ice cpp flag is all that's needed.
3. You'll get a more useful model output on seg fault if you recompile in debug mode.
4. Your problem is probably in the ocean.in, with the ice code needing different options.
5. I suspect you didn't set the number of climatology/boundary/river forcing files.
2. Yes, turning on the ice cpp flag is all that's needed.
3. You'll get a more useful model output on seg fault if you recompile in debug mode.
4. Your problem is probably in the ocean.in, with the ice code needing different options.
5. I suspect you didn't set the number of climatology/boundary/river forcing files.
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
Dear Kate,kate wrote: ↑Fri Mar 17, 2023 4:45 pm 1. I'm not really supporting that code any more.
2. Yes, turning on the ice cpp flag is all that's needed.
3. You'll get a more useful model output on seg fault if you recompile in debug mode.
4. Your problem is probably in the ocean.in, with the ice code needing different options.
5. I suspect you didn't set the number of climatology/boundary/river forcing files.
Thank you very much for your replying!
1. As for your point 2. Do I need to turn on ESMF_LIB or MCT_LIB or something about COUPLING if I turn on ICE_MODEL ?
2. As for your point 4 and 5, in fact I have not turn on ICE_MODEL yet and now I am running ocean alone, to test your github ROMS, i.e. switch the code from ROMS(got from svn) to ROMS (got from your github). The error I am faced with arise when I use my forcing file, .in file, .h file and build.bash file (which runs well now for the ROMS 3.7 svn 928) in your github roms 3.9 with ocean alone (ICE_MODEL was turn off). There are much difference between these two versions ? Which files I need to change when I switch from svn ROMS to github ROMS ?
3. I compile in debug mode as you suggested. And the model running output was as following:
Code: Select all
mpirun -np 24 ./romsG ocean_zsa_jiao.in
--------------------------------------------------------------------------------
Model Input Parameters: ROMS/TOMS version 3.9
Sunday - March 19, 2023 - 9:28:49 PM
--------------------------------------------------------------------------------
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B61B9C88B45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B5EE05ECB45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B0886C89B45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B86F281EB45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002ACB2F19AB45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B4015968B45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002AF58686AB45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B7D36B24B45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B6284E67B45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B6918935B45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002B4257D9BB45 Unknown Unknown Unknown
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
Stack trace terminated abnormally.
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated
Image PC Routine Line Source
romsG 00000000027EA356 Unknown Unknown Unknown
romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
Stack trace terminated abnormally.
forrtl: error (69): process interrupted (SIGINT)
Image PC Routine Line Source
romsG 000000000288D215 Unknown Unknown Unknown
romsG 000000000288AE37 Unknown Unknown Unknown
romsG 0000000002837464 Unknown Unknown Unknown
romsG 0000000002837276 Unknown Unknown Unknown
romsG 00000000027E9C96 Unknown Unknown Unknown
romsG 00000000027EE0DE Unknown Unknown Unknown
libpthread.so.0 00002AEE973B4130 Unknown Unknown Unknown
romsG 00000000022F17F5 inp_decode_mod_mp 117 inp_decode.f90
romsG 0000000001DAEE3F read_phypar_ 93 read_phypar.f90
romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90
romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90
romsG 000000000040BC6D MAIN__ 95 master.f90
romsG 000000000040B97E Unknown Unknown Unknown
libc.so.6 00002AEE978E5B45 Unknown Unknown Unknown
romsG 000000000040B8A9 Unknown Unknown Unknown
3.1 The line 1839 in read_phypar.f90 is the bold text in the following. It means that it cannot find "Vwind", but I have "Uwind" and "Vwind" in my forcing file and I check the data well (no nan, no too big or small value). If there is error in read forcing file, error should happen first while reading "Uwind", right? It is strange. Can you answer my confusion ?
Code: Select all
# if defined BULK_FLUXES || defined ECOSIM
CASE ('Hout(idUair)')
IF (idUair.eq.0) THEN
IF (Master) WRITE (out,280) 'idUair'
exit_flag=5
RETURN
END IF
Npts=load_l(Nval, Cval, Ngrids, Lswitch)
Hout(idUair,1:Ngrids)=Lswitch(1:Ngrids)
CASE ('Hout(idVair)')
IF (idVair.eq.0) THEN
IF (Master) WRITE (out,280) 'idVair'
exit_flag=5
[b] RETURN[/b]
END IF
Npts=load_l(Nval, Cval, Ngrids, Lswitch)
Hout(idVair,1:Ngrids)=Lswitch(1:Ngrids)
CASE ('Hout(idUairE)')
IF (idUairE.eq.0) THEN
IF (Master) WRITE (out,280) 'idUairE'
exit_flag=5
RETURN
END IF
Npts=load_l(Nval, Cval, Ngrids, Lswitch)
Hout(idUairE,1:Ngrids)=Lswitch(1:Ngrids)
CASE ('Hout(idVairN)')
IF (idVairN.eq.0) THEN
IF (Master) WRITE (out,280) 'idVairN'
exit_flag=5
RETURN
END IF
Npts=load_l(Nval, Cval, Ngrids, Lswitch)
Hout(idVairN,1:Ngrids)=Lswitch(1:Ngrids)
# endif
Code: Select all
!
! Get current date.
!
#ifndef NO_DATE_STAMP
[b]# ifdef DISTRIBUTE[/b]
IF (Master) CALL get_date (date_str)
CALL mp_bcasts (1, model, date_str)
# else
CALL get_date (date_str)
# endif
#endif
Code: Select all
86 ocean_control.f90
Code: Select all
[jiao@tc6000 trunk]$ vim ./Master/master.F
#include "cppdefs.h"
/*
** svn $Id$
*************************************************** Hernan G. Arango ***
** Copyright (c) 2002-2020 The ROMS/TOMS Group **
** Licensed under a MIT/X style license **
** See License_ROMS.txt **
************************************************************************
** **
** Master program to run ROMS/TOMS as single ocean model or coupled **
** to other models using the MCT or ESMF libraries. **
** **
************************************************************************
*/
#if defined MODEL_COUPLING
# if defined MCT_LIB
# include "mct_driver.h"
# elif defined ESMF_LIB
# include "esmf_driver.h"
# else
PROGRAM master ! ROMS is coupled with other external
END PROGRAM master ! software and drivers not written by us
# endif
#else
# include "ocean.h"
#endif
*** Thank you for helping me and wish you good health ! ***
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
Dear Kate,Joeailvyou wrote: ↑Sun Mar 19, 2023 3:14 pmDear Kate,kate wrote: ↑Fri Mar 17, 2023 4:45 pm 1. I'm not really supporting that code any more.
2. Yes, turning on the ice cpp flag is all that's needed.
3. You'll get a more useful model output on seg fault if you recompile in debug mode.
4. Your problem is probably in the ocean.in, with the ice code needing different options.
5. I suspect you didn't set the number of climatology/boundary/river forcing files.
Thank you very much for your replying!
1. As for your point 2. Do I need to turn on ESMF_LIB or MCT_LIB or something about COUPLING if I turn on ICE_MODEL ?
2. As for your point 4 and 5, in fact I have not turn on ICE_MODEL yet and now I am running ocean alone, to test your github ROMS, i.e. switch the code from ROMS(got from svn) to ROMS (got from your github). The error I am faced with arise when I use my forcing file, .in file, .h file and build.bash file (which runs well now for the ROMS 3.7 svn 928) in your github roms 3.9 with ocean alone (ICE_MODEL was turn off). There are much difference between these two versions ? Which files I need to change when I switch from svn ROMS to github ROMS ?
3. I compile in debug mode as you suggested. And the model running output was as following:
Code: Select all
mpirun -np 24 ./romsG ocean_zsa_jiao.in -------------------------------------------------------------------------------- Model Input Parameters: ROMS/TOMS version 3.9 Sunday - March 19, 2023 - 9:28:49 PM -------------------------------------------------------------------------------- forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B61B9C88B45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B5EE05ECB45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B0886C89B45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B86F281EB45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002ACB2F19AB45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B4015968B45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002AF58686AB45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B7D36B24B45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B6284E67B45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B6918935B45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002B4257D9BB45 Unknown Unknown Unknown Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 Stack trace terminated abnormally. forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable NBCCOUNT when it is not allocated Image PC Routine Line Source romsG 00000000027EA356 Unknown Unknown Unknown romsG 0000000001E316F0 read_phypar_ 1839 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 Stack trace terminated abnormally. forrtl: error (69): process interrupted (SIGINT) Image PC Routine Line Source romsG 000000000288D215 Unknown Unknown Unknown romsG 000000000288AE37 Unknown Unknown Unknown romsG 0000000002837464 Unknown Unknown Unknown romsG 0000000002837276 Unknown Unknown Unknown romsG 00000000027E9C96 Unknown Unknown Unknown romsG 00000000027EE0DE Unknown Unknown Unknown libpthread.so.0 00002AEE973B4130 Unknown Unknown Unknown romsG 00000000022F17F5 inp_decode_mod_mp 117 inp_decode.f90 romsG 0000000001DAEE3F read_phypar_ 93 read_phypar.f90 romsG 0000000001BB7E15 inp_par_ 97 inp_par.f90 romsG 000000000040C326 ocean_control_mod 86 ocean_control.f90 romsG 000000000040BC6D MAIN__ 95 master.f90 romsG 000000000040B97E Unknown Unknown Unknown libc.so.6 00002AEE978E5B45 Unknown Unknown Unknown romsG 000000000040B8A9 Unknown Unknown Unknown
3.1 The line 1839 in read_phypar.f90 is the bold text in the following. It means that it cannot find "Vwind", but I have "Uwind" and "Vwind" in my forcing file and I check the data well (no nan, no too big or small value). If there is error in read forcing file, error should happen first while reading "Uwind", right? It is strange. Can you answer my confusion ?3.2 The line 97 in inp_par.f90 is some thing about computer date ? My computer is not connected to the Internet, so the clock bias from universal time. Is this the reason ?Code: Select all
# if defined BULK_FLUXES || defined ECOSIM CASE ('Hout(idUair)') IF (idUair.eq.0) THEN IF (Master) WRITE (out,280) 'idUair' exit_flag=5 RETURN END IF Npts=load_l(Nval, Cval, Ngrids, Lswitch) Hout(idUair,1:Ngrids)=Lswitch(1:Ngrids) CASE ('Hout(idVair)') IF (idVair.eq.0) THEN IF (Master) WRITE (out,280) 'idVair' exit_flag=5 [b] RETURN[/b] END IF Npts=load_l(Nval, Cval, Ngrids, Lswitch) Hout(idVair,1:Ngrids)=Lswitch(1:Ngrids) CASE ('Hout(idUairE)') IF (idUairE.eq.0) THEN IF (Master) WRITE (out,280) 'idUairE' exit_flag=5 RETURN END IF Npts=load_l(Nval, Cval, Ngrids, Lswitch) Hout(idUairE,1:Ngrids)=Lswitch(1:Ngrids) CASE ('Hout(idVairN)') IF (idVairN.eq.0) THEN IF (Master) WRITE (out,280) 'idVairN' exit_flag=5 RETURN END IF Npts=load_l(Nval, Cval, Ngrids, Lswitch) Hout(idVairN,1:Ngrids)=Lswitch(1:Ngrids) # endif
[/code]Code: Select all
! [code]! Get current date. ! #ifndef NO_DATE_STAMP [b]# ifdef DISTRIBUTE[/b] IF (Master) CALL get_date (date_str) CALL mp_bcasts (1, model, date_str) # else CALL get_date (date_str) # endif #endif
3.3 As for the line 86 in ocean_control.F, I can't understand what dose it mean:3.4 I can't find line 95 in master.f90 as this file has a total lines of 27:Code: Select all
86 ocean_control.f90
Code: Select all
[jiao@tc6000 trunk]$ vim ./Master/master.F #include "cppdefs.h" /* ** svn $Id$ *************************************************** Hernan G. Arango *** ** Copyright (c) 2002-2020 The ROMS/TOMS Group ** ** Licensed under a MIT/X style license ** ** See License_ROMS.txt ** ************************************************************************ ** ** ** Master program to run ROMS/TOMS as single ocean model or coupled ** ** to other models using the MCT or ESMF libraries. ** ** ** ************************************************************************ */ #if defined MODEL_COUPLING # if defined MCT_LIB # include "mct_driver.h" # elif defined ESMF_LIB # include "esmf_driver.h" # else PROGRAM master ! ROMS is coupled with other external END PROGRAM master ! software and drivers not written by us # endif #else # include "ocean.h" #endif
*** Thank you for helping me and wish you good health ! ***
I am sorry I find that the bold text is not shown in code.
3.1 The line 1839 in read_phypar.f90 is "RETURN" in the following:
Code: Select all
CASE ('Hout(idVair)')
IF (idVair.eq.0) THEN
IF (Master) WRITE (out,280) 'idVair'
exit_flag=5
[b] RETURN[/b]
END IF
Code: Select all
! Get current date.
!
#ifndef NO_DATE_STAMP
[b]# ifdef DISTRIBUTE[/b]
IF (Master) CALL get_date (date_str)
CALL mp_bcasts (1, model, date_str)
# else
CALL get_date (date_str)
# endif
#endif
Code: Select all
#elif defined SO_SEMI
# include "so_semi_ocean.h"
Re: ROMS from github error
The way ROMS is compiled, you view the .F file, then an intermediate .f90 file is created off in some build directory. It is those line numbers you need to look at:
You need to make sure you have an ocean.in that's compatible with the github ROMS, also varinfo.dat.read_phypar_ 1839 read_phypar.f90
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
Thank you very much Kate ! Your kindness helped me a lot. And the key point was varinfo.dat, and I have solved it well !kate wrote: ↑Mon Mar 20, 2023 12:08 am The way ROMS is compiled, you view the .F file, then an intermediate .f90 file is created off in some build directory. It is those line numbers you need to look at:You need to make sure you have an ocean.in that's compatible with the github ROMS, also varinfo.dat.read_phypar_ 1839 read_phypar.f90
But still, I had new error which is related to boundary file. My case (climatology, cycle_length=360) run well with the svn ROMS using the same boundary file. I can't find why github ROMS countered error while initialize cycle_length:
Code: Select all
$ mpirun -np 24 ./romsM roms.in
--------------------------------------------------------------------------------
Model Input Parameters: ROMS/TOMS version 3.9
Saturday - March 25, 2023 - 4:04:59 AM
--------------------------------------------------------------------------------
... ...
... ...
NLM: GET_STATE - Reading state initial conditions, 0000-12-30 00:00:00.00
(Grid 01, t = 0.0000, File: roms_ini.nc, Rec=0001, Index=1)
- free-surface
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- vertically integrated u-momentum component
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- vertically integrated v-momentum component
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- u-momentum component
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- v-momentum component
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- potential temperature
(Min = -2.32361207E+00 Max = 7.71815938E+00)
- salinity
(Min = 1.98400689E+01 Max = 3.50357786E+01)
GET_NGFLD - tidal period
(Grid = 01, Min = 4.30819210E+04 Max = 2.38071599E+06)
GET_2DFLD - tidal elevation amplitude
(Grid = 01, Min = 4.96095603E-05 Max = 1.55439085E+01)
GET_2DFLD - tidal elevation phase angle
(Grid = 01, Min = 0.00000000E+00 Max = 6.27882198E+00)
GET_2DFLD - tidal current inclination angle
(Grid = 01, Min = 0.00000000E+00 Max = 6.28318531E+00)
GET_2DFLD - tidal current phase angle
(Grid = 01, Min = 1.27255912E-05 Max = 6.28310754E+00)
GET_2DFLD - maximum tidal current, ellipse major axis
(Grid = 01, Min = 7.72082149E-06 Max = 4.38044453E+00)
GET_2DFLD - minimum tidal current, ellipse minor axis
(Grid = 01, Min = -1.31722176E+00 Max = 4.69336808E-01)
GET_2DFLD - surface u-momentum stress, 0001-12-15 00:00:00.00
(Grid=01, Rec=0000012, Index=1, File: roms_frc.nc)
(Tmin= 15.0000 Tmax= 345.0000) t = 345.0000
(Min = -1.48010228E-04 Max = 1.68669436E-04) regrid = F
GET_2DFLD - surface v-momentum stress, 0001-12-15 00:00:00.00
(Grid=01, Rec=0000012, Index=1, File: roms_frc.nc)
(Tmin= 15.0000 Tmax= 345.0000) t = 345.0000
(Min = -1.81832724E-04 Max = 3.71334119E-05) regrid = F
GET_2DFLD - solar shortwave radiation flux, 0001-12-15 00:00:00.00
(Grid=01, Rec=0000012, Index=1, File: roms_frc.nc)
(Tmin= 15.0000 Tmax= 345.0000) t = 345.0000
(Min = -5.33947927E-08 Max = 9.02116848E-06) regrid = F
GET_2DFLD - surface net heat flux, 0001-12-15 00:00:00.00
(Grid=01, Rec=0000012, Index=1, File: roms_frc.nc)
(Tmin= 15.0000 Tmax= 345.0000) t = 345.0000
(Min = -6.50934073E-05 Max = 4.25113476E-05) regrid = F
GET_2DFLD - sea surface temperature climatology, 0001-12-15 00:00:00.00
(Grid=01, Rec=0000012, Index=1, File: roms_frc.nc)
(Tmin= 15.0000 Tmax= 345.0000) t = 345.0000
(Min = -3.19557775E+00 Max = 9.20157677E+00) regrid = F
GET_2DFLD - surface net heat flux sensitivity to SST, 0001-12-15 00:00:00.00
(Grid=01, Rec=0000012, Index=1, File: roms_frc.nc)
(Tmin= 15.0000 Tmax= 345.0000) t = 345.0000
(Min = -8.41763581E-06 Max = -9.12553522E-07) regrid = F
GET_2DFLD - surface net freswater flux, (E-P), 0001-12-15 00:00:00.00
(Grid=01, Rec=0000012, Index=1, File: roms_frc.nc)
(Tmin= 15.0000 Tmax= 345.0000) t = 345.0000
(Min = -3.23712030E-07 Max = 1.29754879E-07) regrid = F
GET_2DFLD - sea surface salinity climatology, 0001-12-15 00:00:00.00
(Grid=01, Rec=0000012, Index=1, File: roms_frc.nc)
(Tmin= 15.0000 Tmax= 345.0000) t = 345.0000
(Min = 1.95910620E+01 Max = 3.37177520E+01) regrid = F
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000095C785 Unknown Unknown Unknown
romsM 000000000095A3A7 Unknown Unknown Unknown
romsM 0000000000906CC4 Unknown Unknown Unknown
romsM 0000000000906AD6 Unknown Unknown Unknown
romsM 00000000008B94F6 Unknown Unknown Unknown
romsM 00000000008BD0F0 Unknown Unknown Unknown
libpthread.so.0 00002B3CDD08F130 Unknown Unknown Unknown
romsM 0000000000803ECC get_cycle_ 292 get_cycle.f90
romsM 00000000006E8B9E inquiry_ 322 inquiry.f90
romsM 00000000006CEB0F get_ngfld_ 112 get_ngfld.f90
romsM 00000000005A986C get_data_ 218 get_data.f90
romsM 000000000040CC5A initial_ 278 initial.f90
romsM 000000000040C33B ocean_control_mod 133 ocean_control.f90
romsM 000000000040B87C MAIN__ 95 master.f90
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B3CDD5C0B45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
romsM 000000000095C785 Unknown Unknown Unknown
romsM 000000000095A3A7 Unknown Unknown Unknown
romsM 0000000000906CC4 Unknown Unknown Unknown
romsM 0000000000906AD6 Unknown Unknown Unknown
romsM 00000000008B94F6 Unknown Unknown Unknown
romsM 00000000008BD0F0 Unknown Unknown Unknown
libpthread.so.0 00002B19E5823130 Unknown Unknown Unknown
romsM 0000000000803ECC get_cycle_ 292 get_cycle.f90
romsM 00000000006E8B9E inquiry_ 322 inquiry.f90
romsM 00000000006CEB0F get_ngfld_ 112 get_ngfld.f90
romsM 00000000005A986C get_data_ 218 get_data.f90
romsM 000000000040CC5A initial_ 278 initial.f90
romsM 000000000040C33B ocean_control_mod 133 ocean_control.f90
romsM 000000000040B87C MAIN__ 95 master.f90
romsM 000000000040B73E Unknown Unknown Unknown
libc.so.6 00002B19E5D54B45 Unknown Unknown Unknown
romsM 000000000040B669 Unknown Unknown Unknown
Stack trace terminated abnormally.
Code: Select all
!
! If processing a multi-file field, set LOWER time-snapshot. It
! is the last value from previous file. Otherwise, set UPPER
! time-snapshot.
!
IF (Lmulti) THEN
IF (job.gt.0) THEN
Tstr=Finfo(2,ifield,ng) ! Tmax from previous file
ELSE
Tend=Finfo(1,ifield,ng) ! Tmin from previous file
END IF
ELSE
IF (Lcycle.and.(Tindex.eq.ntime)) THEN
Tend=Tmin
ELSE
IF (job.gt.0) THEN
i=MIN(ntime,Tindex+1)
Tend=Tval(i) %%%%%%%%%%%%%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Hi, Kate:important!!!!!!! This is line 292 !!!!!!!!!!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ELSE
i=MAX(1,Tindex-1)
Tend=Tval(i)
END IF
END IF
END IF
Code: Select all
$ ncdump -h roms_bry.nc
netcdf roms_bry {
dimensions:
xi_u = 60 ;
xi_v = 61 ;
xi_rho = 61 ;
eta_u = 90 ;
eta_v = 89 ;
eta_rho = 90 ;
s_rho = 32 ;
s_w = 33 ;
tracer = 2 ;
bry_time = 12 ;
ocean_time = 12 ;
tclm_time = 12 ;
temp_time = 12 ;
sclm_time = 12 ;
salt_time = 12 ;
uclm_time = 12 ;
vclm_time = 12 ;
v2d_time = 12 ;
v3d_time = 12 ;
ssh_time = 12 ;
zeta_time = 12 ;
one = 1 ;
variables:
char spherical(one) ;
spherical:long_name = "grid type logical switch" ;
spherical:flag_values = "T, F" ;
spherical:flag_meanings = "spherical Cartesian" ;
int Vtransform(one) ;
Vtransform:long_name = "vertical terrain-following transformation equation" ;
int Vstretching(one) ;
Vstretching:long_name = "vertical terrain-following stretching function" ;
double tstart(one) ;
tstart:long_name = "start processing day" ;
tstart:units = "day" ;
double tend(one) ;
tend:long_name = "end processing day" ;
tend:units = "day" ;
double theta_s(one) ;
theta_s:long_name = "S-coordinate surface control parameter" ;
theta_s:units = "nondimensional" ;
double theta_b(one) ;
theta_b:long_name = "S-coordinate bottom control parameter" ;
theta_b:units = "nondimensional" ;
double Tcline(one) ;
Tcline:long_name = "S-coordinate surface/bottom layer width" ;
Tcline:units = "meter" ;
double hc(one) ;
hc:long_name = "S-coordinate parameter, critical depth" ;
hc:units = "meter" ;
double sc_r(s_rho) ;
sc_r:long_name = "S-coordinate at RHO-points" ;
sc_r:valid_min = -1. ;
sc_r:valid_max = 0. ;
sc_r:positive = "up" ;
sc_r:standard_name = "ocena_s_coordinate_g2" ;
sc_r:formula_terms = "s: s_rho C: Cs_r eta: zeta depth: h depth_c: hc" ;
double sc_w(s_w) ;
sc_w:long_name = "S-coordinate at W-points" ;
sc_w:valid_min = -1. ;
sc_w:valid_max = 0. ;
sc_w:positive = "up" ;
sc_w:standard_name = "ocena_s_coordinate_g2" ;
sc_w:formula_terms = "s: s_w C: Cs_w eta: zeta depth: h depth_c: hc" ;
double Cs_r(s_rho) ;
Cs_r:long_name = "S-coordinate stretching curves at RHO-points" ;
Cs_r:units = "nondimensional" ;
Cs_r:valid_min = -1. ;
Cs_r:valid_max = 0. ;
double Cs_w(s_w) ;
Cs_w:long_name = "S-coordinate stretching curves at W-points" ;
Cs_w:units = "nondimensional" ;
Cs_w:valid_min = -1. ;
Cs_w:valid_max = 0. ;
double bry_time(bry_time) ;
bry_time:long_name = "time for boundary climatology" ;
bry_time:units = "day" ;
bry_time:calendar = "360.0 days in every year" ;
bry_time:cycle_length = 360. ;
double ocean_time(ocean_time) ;
ocean_time:long_name = "time for boundary climatology" ;
ocean_time:units = "day" ;
ocean_time:calendar = "360.0 days in every year" ;
ocean_time:cycle_length = 360. ;
double tclm_time(tclm_time) ;
tclm_time:long_name = "time for temperature climatology" ;
tclm_time:units = "day" ;
tclm_time:calendar = "360.0 days in every year" ;
tclm_time:cycle_length = 360. ;
double temp_time(temp_time) ;
temp_time:long_name = "time for temperature climatology" ;
temp_time:units = "day" ;
temp_time:calendar = "360.0 days in every year" ;
temp_time:cycle_length = 360. ;
double sclm_time(sclm_time) ;
sclm_time:long_name = "time for salinity climatology" ;
sclm_time:units = "day" ;
sclm_time:calendar = "360.0 days in every year" ;
sclm_time:cycle_length = 360. ;
double salt_time(salt_time) ;
salt_time:long_name = "time for salinity climatology" ;
salt_time:units = "day" ;
salt_time:calendar = "360.0 days in every year" ;
salt_time:cycle_length = 360. ;
double uclm_time(uclm_time) ;
uclm_time:long_name = "time climatological u" ;
uclm_time:units = "day" ;
uclm_time:calendar = "360.0 days in every year" ;
uclm_time:cycle_length = 360. ;
double vclm_time(vclm_time) ;
vclm_time:long_name = "time climatological v" ;
vclm_time:units = "day" ;
vclm_time:calendar = "360.0 days in every year" ;
vclm_time:cycle_length = 360. ;
double v2d_time(v2d_time) ;
v2d_time:long_name = "time for 2D velocity climatology" ;
v2d_time:units = "day" ;
v2d_time:calendar = "360.0 days in every year" ;
v2d_time:cycle_length = 360. ;
double v3d_time(v3d_time) ;
v3d_time:long_name = "time for 3D velocity climatology" ;
v3d_time:units = "day" ;
v3d_time:calendar = "360.0 days in every year" ;
v3d_time:cycle_length = 360. ;
double ssh_time(ssh_time) ;
ssh_time:long_name = "time for sea surface height" ;
ssh_time:units = "day" ;
ssh_time:calendar = "360.0 days in every year" ;
ssh_time:cycle_length = 360. ;
double zeta_time(zeta_time) ;
zeta_time:long_name = "time for sea surface height" ;
zeta_time:units = "day" ;
zeta_time:calendar = "360.0 days in every year" ;
zeta_time:cycle_length = 360. ;
double temp_south(temp_time, s_rho, xi_rho) ;
temp_south:long_name = "southern boundary potential temperature" ;
temp_south:units = "Celsius" ;
temp_south:coordinates = "lon_rho s_rho temp_time" ;
double salt_south(salt_time, s_rho, xi_rho) ;
salt_south:long_name = "southern boundary salinity" ;
salt_south:units = "PSU" ;
salt_south:coordinates = "lon_rho s_rho salt_time" ;
double u_south(v3d_time, s_rho, xi_u) ;
u_south:long_name = "southern boundary u-momentum component" ;
u_south:units = "meter second-1" ;
u_south:coordinates = "lon_u s_rho u_time" ;
double v_south(v3d_time, s_rho, xi_rho) ;
v_south:long_name = "southern boundary v-momentum component" ;
v_south:units = "meter second-1" ;
v_south:coordinates = "lon_v s_rho vclm_time" ;
double ubar_south(v2d_time, xi_u) ;
ubar_south:long_name = "southern boundary vertically integrated u-momentum component" ;
ubar_south:units = "meter second-1" ;
ubar_south:coordinates = "lon_u uclm_time" ;
double vbar_south(v2d_time, xi_rho) ;
vbar_south:long_name = "southern boundary vertically integrated v-momentum component" ;
vbar_south:units = "meter second-1" ;
vbar_south:coordinates = "lon_v vclm_time" ;
double zeta_south(zeta_time, xi_rho) ;
zeta_south:long_name = "southern boundary sea surface height" ;
zeta_south:units = "meter" ;
zeta_south:coordinates = "lon_rho zeta_time" ;
double temp_east(temp_time, s_rho, eta_rho) ;
temp_east:long_name = "eastern boundary potential temperature" ;
temp_east:units = "Celsius" ;
temp_east:coordinates = "lat_rho s_rho temp_time" ;
double salt_east(salt_time, s_rho, eta_rho) ;
salt_east:long_name = "eastern boundary salinity" ;
salt_east:units = "PSU" ;
salt_east:coordinates = "lat_rho s_rho salt_time" ;
double u_east(v3d_time, s_rho, eta_rho) ;
u_east:long_name = "eastern boundary u-momentum component" ;
u_east:units = "meter second-1" ;
u_east:coordinates = "lat_u s_rho u_time" ;
double v_east(v3d_time, s_rho, eta_v) ;
v_east:long_name = "eastern boundary v-momentum component" ;
v_east:units = "meter second-1" ;
v_east:coordinates = "lat_v s_rho vclm_time" ;
double ubar_east(v2d_time, eta_rho) ;
ubar_east:long_name = "eastern boundary vertically integrated u-momentum component" ;
ubar_east:units = "meter second-1" ;
ubar_east:coordinates = "lat_u uclm_time" ;
double vbar_east(v2d_time, eta_v) ;
vbar_east:long_name = "eastern boundary vertically integrated v-momentum component" ;
vbar_east:units = "meter second-1" ;
vbar_east:coordinates = "lat_v vclm_time" ;
double zeta_east(zeta_time, eta_rho) ;
zeta_east:long_name = "eastern boundary sea surface height" ;
zeta_east:units = "meter" ;
zeta_east:coordinates = "lat_rho zeta_time" ;
double temp_north(temp_time, s_rho, xi_rho) ;
temp_north:long_name = "northern boundary potential temperature" ;
temp_north:units = "Celsius" ;
temp_north:coordinates = "lon_rho s_rho temp_time" ;
double salt_north(salt_time, s_rho, xi_rho) ;
salt_north:long_name = "northern boundary salinity" ;
salt_north:units = "PSU" ;
salt_north:coordinates = "lon_rho s_rho salt_time" ;
double u_north(v3d_time, s_rho, xi_u) ;
u_north:long_name = "northern boundary u-momentum component" ;
u_north:units = "meter second-1" ;
u_north:coordinates = "lon_u s_rho u_time" ;
double v_north(v3d_time, s_rho, xi_rho) ;
v_north:long_name = "northern boundary v-momentum component" ;
v_north:units = "meter second-1" ;
v_north:coordinates = "lon_v s_rho vclm_time" ;
double ubar_north(v2d_time, xi_u) ;
ubar_north:long_name = "northern boundary vertically integrated u-momentum component" ;
ubar_north:units = "meter second-1" ;
ubar_north:coordinates = "lon_u uclm_time" ;
double vbar_north(v2d_time, xi_rho) ;
vbar_north:long_name = "northern boundary vertically integrated v-momentum component" ;
vbar_north:units = "meter second-1" ;
vbar_north:coordinates = "lon_v vclm_time" ;
double zeta_north(zeta_time, xi_rho) ;
zeta_north:long_name = "northern boundary sea surface height" ;
zeta_north:units = "meter" ;
zeta_north:coordinates = "lon_rho zeta_time" ;
double temp_west(temp_time, s_rho, eta_rho) ;
temp_west:long_name = "western boundary potential temperature" ;
temp_west:units = "Celsius" ;
temp_west:coordinates = "lat_rho s_rho temp_time" ;
double salt_west(salt_time, s_rho, eta_rho) ;
salt_west:long_name = "western boundary salinity" ;
salt_west:units = "PSU" ;
salt_west:coordinates = "lat_rho s_rho salt_time" ;
double u_west(v3d_time, s_rho, eta_rho) ;
u_west:long_name = "western boundary u-momentum component" ;
u_west:units = "meter second-1" ;
u_west:coordinates = "lat_u s_rho u_time" ;
double v_west(v3d_time, s_rho, eta_v) ;
v_west:long_name = "western boundary v-momentum component" ;
v_west:units = "meter second-1" ;
v_west:coordinates = "lat_v s_rho vclm_time" ;
double ubar_west(v2d_time, eta_rho) ;
ubar_west:long_name = "western boundary vertically integrated u-momentum component" ;
ubar_west:units = "meter second-1" ;
ubar_west:coordinates = "lat_u uclm_time" ;
double vbar_west(v2d_time, eta_v) ;
vbar_west:long_name = "western boundary vertically integrated v-momentum component" ;
vbar_west:units = "meter second-1" ;
vbar_west:coordinates = "lat_v vclm_time" ;
double zeta_west(zeta_time, eta_rho) ;
zeta_west:long_name = "western boundary sea surface height" ;
zeta_west:units = "meter" ;
zeta_west:coordinates = "lat_rho zeta_time" ;
// global attributes:
:title = "ARCTIC_JIAO" ;
:date = "25-Mar-2023" ;
:clim_file = "K:\\工作盘二\\工作06_roms\\roms_tool_v1903\\crocotools\\croco_tools-v1.0\\jiao_sc_r\\CROCO_FILES\\roms_bry.nc" ;
:grd_file = "K:\\工作盘二\\工作06_roms\\roms_tool_v1903\\crocotools\\croco_tools-v1.0\\jiao_sc_r\\CROCO_FILES\\roms_grd.nc" ;
:type = "BOUNDARY file" ;
:history = "CROCO" ;
}
- Attachments
-
- inquiry.f90
- (23.7 KiB) Downloaded 474 times
-
- get_ngfld.f90
- (11.99 KiB) Downloaded 485 times
-
- get_cycle.f90
- (15.64 KiB) Downloaded 478 times
-
- zsa_jiao.h
- (2.52 KiB) Downloaded 487 times
-
- whole_output_while_running.txt
- (71.42 KiB) Downloaded 533 times
-
- varinfo.dat
- (248.72 KiB) Downloaded 449 times
-
- roms.in
- (145.24 KiB) Downloaded 494 times
Re: ROMS from github error
What is it reading here? Are you sure it's the boundary file? It just read salinity climatology - should it read temperature climatology next?get_data_ 218 get_data.f90
I would run it in the debugger or add a print statement to that line you highlighted. I don't know what's going on.
Note: all the memories of old times reminded me that John Wilkin's grid generation code is what drove me to learn to use a real debugger.
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
Thank you Kate!kate wrote: ↑Fri Mar 24, 2023 10:15 pmWhat is it reading here? Are you sure it's the boundary file? It just read salinity climatology - should it read temperature climatology next?get_data_ 218 get_data.f90
I would run it in the debugger or add a print statement to that line you highlighted. I don't know what's going on.
Note: all the memories of old times reminded me that John Wilkin's grid generation code is what drove me to learn to use a real debugger.
1. I compile it in debug mode. It read u_south from boundary file here.
2. When we set the the boundary LBC == Rad instead of LBC == RadNud (i.e. no nudging for boundary) in the .in file, the same romsG. runs well (reading forcing, climatology, etc, but it dose not read boundary file).
3. When we don't use FFLAGS = -heap-array (i.e. comment it out in the Linux-ifort.mk file), the new romsG runs further, and don't report the error above. But new error appeared in later line (i.e. the comment out can solve the severe (174): SIGSEGV, segmentation fault occurred). The location of the new error was behind the above error. Dose this comment have bad influence ?
I comment out FFLAGS = -heap-array because I get inspired from the discussion: viewtopic.php?t=4989
The new error is :
Code: Select all
INQUIRY - unable to find requested variable: ocean_time
in file:
./roms_bry.nc
Found Error: 02 Line: 422 Source: ROMS/Utility/inquiry.F
Found Error: 02 Line: 123 Source: ROMS/Utility/get_ngfld.F
Found Error: 02 Line: 1237 Source: ROMS/Nonlinear/get_data.F
Found Error: 02 Line: 833 Source: ROMS/Nonlinear/initial.F
Found Error: 02 Line: 188 Source: ROMS/Drivers/nl_ocean.h
Code: Select all
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 515695
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 32768
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 262140
cpu time (seconds, -t) unlimited
max user processes (-u) 515695
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
I forgot to tell you that the boundary file is prepared well, and the variable: ocean_time is present in the boundary. romsG couldn't find ocean_time because we comment out FFLAGS += -heap-arrays. But I don't know how to solve it.
Thank you in advance !
Thank you in advance !
Code: Select all
$ ncdump -v ocean_time roms_bry.nc
netcdf roms_bry {
dimensions:
xi_u = 60 ;
xi_v = 61 ;
xi_rho = 61 ;
eta_u = 90 ;
eta_v = 89 ;
eta_rho = 90 ;
s_rho = 32 ;
s_w = 33 ;
tracer = 2 ;
bry_time = 12 ;
tclm_time = 12 ;
temp_time = 12 ;
sclm_time = 12 ;
salt_time = 12 ;
uclm_time = 12 ;
vclm_time = 12 ;
v2d_time = 12 ;
v3d_time = 12 ;
ssh_time = 12 ;
zeta_time = 12 ;
one = 1 ;
variables:
char spherical(one) ;
spherical:long_name = "grid type logical switch" ;
spherical:flag_values = "T, F" ;
spherical:flag_meanings = "spherical Cartesian" ;
int Vtransform(one) ;
Vtransform:long_name = "vertical terrain-following transformation equation" ;
int Vstretching(one) ;
Vstretching:long_name = "vertical terrain-following stretching function" ;
double tstart(one) ;
tstart:long_name = "start processing day" ;
tstart:units = "day" ;
double tend(one) ;
tend:long_name = "end processing day" ;
tend:units = "day" ;
double theta_s(one) ;
theta_s:long_name = "S-coordinate surface control parameter" ;
theta_s:units = "nondimensional" ;
double theta_b(one) ;
theta_b:long_name = "S-coordinate bottom control parameter" ;
theta_b:units = "nondimensional" ;
double Tcline(one) ;
Tcline:long_name = "S-coordinate surface/bottom layer width" ;
Tcline:units = "meter" ;
double hc(one) ;
hc:long_name = "S-coordinate parameter, critical depth" ;
hc:units = "meter" ;
double sc_r(s_rho) ;
sc_r:long_name = "S-coordinate at RHO-points" ;
sc_r:valid_min = -1. ;
sc_r:valid_max = 0. ;
sc_r:positive = "up" ;
sc_r:standard_name = "ocena_s_coordinate_g2" ;
sc_r:formula_terms = "s: s_rho C: Cs_r eta: zeta depth: h depth_c: hc" ;
double sc_w(s_w) ;
sc_w:long_name = "S-coordinate at W-points" ;
sc_w:valid_min = -1. ;
sc_w:valid_max = 0. ;
sc_w:positive = "up" ;
sc_w:standard_name = "ocena_s_coordinate_g2" ;
sc_w:formula_terms = "s: s_w C: Cs_w eta: zeta depth: h depth_c: hc" ;
double Cs_r(s_rho) ;
Cs_r:long_name = "S-coordinate stretching curves at RHO-points" ;
Cs_r:units = "nondimensional" ;
Cs_r:valid_min = -1. ;
Cs_r:valid_max = 0. ;
double Cs_w(s_w) ;
Cs_w:long_name = "S-coordinate stretching curves at W-points" ;
Cs_w:units = "nondimensional" ;
Cs_w:valid_min = -1. ;
Cs_w:valid_max = 0. ;
double bry_time(bry_time) ;
bry_time:long_name = "time for boundary climatology" ;
bry_time:units = "day" ;
bry_time:calendar = "360.0 days in every year" ;
bry_time:cycle_length = 360. ;
double ocean_time(bry_time) ;
ocean_time:long_name = "time for boundary climatology" ;
ocean_time:units = "day" ;
ocean_time:calendar = "360.0 days in every year" ;
ocean_time:cycle_length = 360. ;
double tclm_time(tclm_time) ;
tclm_time:long_name = "time for temperature climatology" ;
tclm_time:units = "day" ;
tclm_time:calendar = "360.0 days in every year" ;
tclm_time:cycle_length = 360. ;
double temp_time(temp_time) ;
temp_time:long_name = "time for temperature climatology" ;
temp_time:units = "day" ;
temp_time:calendar = "360.0 days in every year" ;
temp_time:cycle_length = 360. ;
double sclm_time(sclm_time) ;
sclm_time:long_name = "time for salinity climatology" ;
sclm_time:units = "day" ;
sclm_time:calendar = "360.0 days in every year" ;
sclm_time:cycle_length = 360. ;
double salt_time(salt_time) ;
salt_time:long_name = "time for salinity climatology" ;
salt_time:units = "day" ;
salt_time:calendar = "360.0 days in every year" ;
salt_time:cycle_length = 360. ;
double uclm_time(uclm_time) ;
uclm_time:long_name = "time climatological u" ;
uclm_time:units = "day" ;
uclm_time:calendar = "360.0 days in every year" ;
uclm_time:cycle_length = 360. ;
double vclm_time(vclm_time) ;
vclm_time:long_name = "time climatological v" ;
vclm_time:units = "day" ;
vclm_time:calendar = "360.0 days in every year" ;
vclm_time:cycle_length = 360. ;
double v2d_time(v2d_time) ;
v2d_time:long_name = "time for 2D velocity climatology" ;
v2d_time:units = "day" ;
v2d_time:calendar = "360.0 days in every year" ;
v2d_time:cycle_length = 360. ;
double v3d_time(v3d_time) ;
v3d_time:long_name = "time for 3D velocity climatology" ;
v3d_time:units = "day" ;
v3d_time:calendar = "360.0 days in every year" ;
v3d_time:cycle_length = 360. ;
double ssh_time(ssh_time) ;
ssh_time:long_name = "time for sea surface height" ;
ssh_time:units = "day" ;
ssh_time:calendar = "360.0 days in every year" ;
ssh_time:cycle_length = 360. ;
double zeta_time(zeta_time) ;
zeta_time:long_name = "time for sea surface height" ;
zeta_time:units = "day" ;
zeta_time:calendar = "360.0 days in every year" ;
zeta_time:cycle_length = 360. ;
double temp_south(temp_time, s_rho, xi_rho) ;
temp_south:long_name = "southern boundary potential temperature" ;
temp_south:units = "Celsius" ;
temp_south:coordinates = "lon_rho s_rho temp_time" ;
double salt_south(salt_time, s_rho, xi_rho) ;
salt_south:long_name = "southern boundary salinity" ;
salt_south:units = "PSU" ;
salt_south:coordinates = "lon_rho s_rho salt_time" ;
double u_south(v3d_time, s_rho, xi_u) ;
u_south:long_name = "southern boundary u-momentum component" ;
u_south:units = "meter second-1" ;
u_south:coordinates = "lon_u s_rho u_time" ;
double v_south(v3d_time, s_rho, xi_rho) ;
v_south:long_name = "southern boundary v-momentum component" ;
v_south:units = "meter second-1" ;
v_south:coordinates = "lon_v s_rho vclm_time" ;
double ubar_south(v2d_time, xi_u) ;
ubar_south:long_name = "southern boundary vertically integrated u-momentum component" ;
ubar_south:units = "meter second-1" ;
ubar_south:coordinates = "lon_u uclm_time" ;
double vbar_south(v2d_time, xi_rho) ;
vbar_south:long_name = "southern boundary vertically integrated v-momentum component" ;
vbar_south:units = "meter second-1" ;
vbar_south:coordinates = "lon_v vclm_time" ;
double zeta_south(zeta_time, xi_rho) ;
zeta_south:long_name = "southern boundary sea surface height" ;
zeta_south:units = "meter" ;
zeta_south:coordinates = "lon_rho zeta_time" ;
double temp_east(temp_time, s_rho, eta_rho) ;
temp_east:long_name = "eastern boundary potential temperature" ;
temp_east:units = "Celsius" ;
temp_east:coordinates = "lat_rho s_rho temp_time" ;
double salt_east(salt_time, s_rho, eta_rho) ;
salt_east:long_name = "eastern boundary salinity" ;
salt_east:units = "PSU" ;
salt_east:coordinates = "lat_rho s_rho salt_time" ;
double u_east(v3d_time, s_rho, eta_rho) ;
u_east:long_name = "eastern boundary u-momentum component" ;
u_east:units = "meter second-1" ;
u_east:coordinates = "lat_u s_rho u_time" ;
double v_east(v3d_time, s_rho, eta_v) ;
v_east:long_name = "eastern boundary v-momentum component" ;
v_east:units = "meter second-1" ;
v_east:coordinates = "lat_v s_rho vclm_time" ;
double ubar_east(v2d_time, eta_rho) ;
ubar_east:long_name = "eastern boundary vertically integrated u-momentum component" ;
ubar_east:units = "meter second-1" ;
ubar_east:coordinates = "lat_u uclm_time" ;
double vbar_east(v2d_time, eta_v) ;
vbar_east:long_name = "eastern boundary vertically integrated v-momentum component" ;
vbar_east:units = "meter second-1" ;
vbar_east:coordinates = "lat_v vclm_time" ;
double zeta_east(zeta_time, eta_rho) ;
zeta_east:long_name = "eastern boundary sea surface height" ;
zeta_east:units = "meter" ;
zeta_east:coordinates = "lat_rho zeta_time" ;
double temp_north(temp_time, s_rho, xi_rho) ;
temp_north:long_name = "northern boundary potential temperature" ;
temp_north:units = "Celsius" ;
temp_north:coordinates = "lon_rho s_rho temp_time" ;
double salt_north(salt_time, s_rho, xi_rho) ;
salt_north:long_name = "northern boundary salinity" ;
salt_north:units = "PSU" ;
salt_north:coordinates = "lon_rho s_rho salt_time" ;
double u_north(v3d_time, s_rho, xi_u) ;
u_north:long_name = "northern boundary u-momentum component" ;
u_north:units = "meter second-1" ;
u_north:coordinates = "lon_u s_rho u_time" ;
double v_north(v3d_time, s_rho, xi_rho) ;
v_north:long_name = "northern boundary v-momentum component" ;
v_north:units = "meter second-1" ;
v_north:coordinates = "lon_v s_rho vclm_time" ;
double ubar_north(v2d_time, xi_u) ;
ubar_north:long_name = "northern boundary vertically integrated u-momentum component" ;
ubar_north:units = "meter second-1" ;
ubar_north:coordinates = "lon_u uclm_time" ;
double vbar_north(v2d_time, xi_rho) ;
vbar_north:long_name = "northern boundary vertically integrated v-momentum component" ;
vbar_north:units = "meter second-1" ;
vbar_north:coordinates = "lon_v vclm_time" ;
double zeta_north(zeta_time, xi_rho) ;
zeta_north:long_name = "northern boundary sea surface height" ;
zeta_north:units = "meter" ;
zeta_north:coordinates = "lon_rho zeta_time" ;
double temp_west(temp_time, s_rho, eta_rho) ;
temp_west:long_name = "western boundary potential temperature" ;
temp_west:units = "Celsius" ;
temp_west:coordinates = "lat_rho s_rho temp_time" ;
double salt_west(salt_time, s_rho, eta_rho) ;
salt_west:long_name = "western boundary salinity" ;
salt_west:units = "PSU" ;
salt_west:coordinates = "lat_rho s_rho salt_time" ;
double u_west(v3d_time, s_rho, eta_rho) ;
u_west:long_name = "western boundary u-momentum component" ;
u_west:units = "meter second-1" ;
u_west:coordinates = "lat_u s_rho u_time" ;
double v_west(v3d_time, s_rho, eta_v) ;
v_west:long_name = "western boundary v-momentum component" ;
v_west:units = "meter second-1" ;
v_west:coordinates = "lat_v s_rho vclm_time" ;
double ubar_west(v2d_time, eta_rho) ;
ubar_west:long_name = "western boundary vertically integrated u-momentum component" ;
ubar_west:units = "meter second-1" ;
ubar_west:coordinates = "lat_u uclm_time" ;
double vbar_west(v2d_time, eta_v) ;
vbar_west:long_name = "western boundary vertically integrated v-momentum component" ;
vbar_west:units = "meter second-1" ;
vbar_west:coordinates = "lat_v vclm_time" ;
double zeta_west(zeta_time, eta_rho) ;
zeta_west:long_name = "western boundary sea surface height" ;
zeta_west:units = "meter" ;
zeta_west:coordinates = "lat_rho zeta_time" ;
// global attributes:
:title = "ARCTIC_JIAO" ;
:date = "28-Mar-2023" ;
:clim_file = "K:\\工作盘二\\工作06_roms\\roms_tool_v1903\\crocotools\\croco_tools-v1.0\\jiao_sc_r\\CROCO_FILES\\roms_bry.nc" ;
:grd_file = "K:\\工作盘二\\工作06_roms\\roms_tool_v1903\\crocotools\\croco_tools-v1.0\\jiao_sc_r\\CROCO_FILES\\roms_grd.nc" ;
:type = "BOUNDARY file" ;
:history = "CROCO" ;
data:
ocean_time = 15, 45, 75, 105, 135, 165, 195, 225, 255, 285, 315, 345 ;
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
What is more, dose the following output (while compile in debug mode) matter?
Code: Select all
./build_roms.bash -j 24 > build.log
svn: '.' is not a working copy
svn: '.' is not a working copy
svn: '.' is not a working copy
svn: '.' is not a working copy
svn: '.' is not a working copy
svn: '.' is not a working copy
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v35_Compile_debug/Build_romsG/libNLM_bio.a
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v35_Compile_debug/Build_romsG/libNLM_sed.a
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v35_Compile_debug/Build_romsG/libANA.a
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v35_Compile_debug/Build_romsG/libMODS.a
read_icepar.f90: remark #5133: The input stream is empty
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v35_Compile_debug/Build_romsG/libUTIL.a
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v35_Compile_debug/Build_romsG/libNLM.a
ifort: warning #10182: disabling optimization; runtime debug checks enabled
Re: ROMS from github error
Is this what you are asking about?
I checked and my boundary file only has ocean_time. That's how I set up my varinfo.dat:
Are you sure you turned on the ice model?read_icepar.f90: remark #5133: The input stream is empty
I checked and my boundary file only has ocean_time. That's how I set up my varinfo.dat:
Code: Select all
'zeta_west' ! Input
'free-surface western boundary condition'
'meter' ! [m]
'zeta_west, scalar, series'
'ocean_time'
'idZbry(iwest)'
'nulvar'
1.0d0
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
kate wrote: ↑Tue Mar 28, 2023 2:46 pm Is this what you are asking about?Are you sure you turned on the ice model?read_icepar.f90: remark #5133: The input stream is empty
I checked and my boundary file only has ocean_time. That's how I set up my varinfo.dat:Code: Select all
'zeta_west' ! Input 'free-surface western boundary condition' 'meter' ! [m] 'zeta_west, scalar, series' 'ocean_time' 'idZbry(iwest)' 'nulvar' 1.0d0
Thank you very much Kate! I solved it. As you pointed it out, the problem was caused by the varinfo.dat. I'd like to share my experience. The Vinfo(5) associated time variable name in the varinfo.dat file shoule be "ocean_time" for the boundary and climatology file (in previous version,before 933, it was v3d_time, v2d_time, etc ). I hope others can notice this change.
Now, I find it runs well with only ocean module. But When I activated ICE_MODEL, error appeared while compile. Dose it mean ICE_MODEL require MCT or ESMF being installed ?
Code: Select all
/usr/bin/cpp -P -traditional-cpp -w -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/public/home/jiao/study/work001_ROMS/roms-kate-git_clone_03/roms"' -DZSA_JIAO -D'HEADER="zsa_jiao.h"' -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -D'ROMS_HEADER="zsa_jiao.h"' -D'ANALYTICAL_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' -D'MY_ANALYTICAL="on"' -D'GIT_URL="https://github.com/kshedstrom/roms.git"' -D'GIT_REV="kate_svn commit 6426b5c3f63b493c808517c9edd1c8b7b275dfe0"' -D'GIT_STATUS=17' -D'SVN_URL=""' -D'SVN_REV=""' -IROMS/Include -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IROMS/Nonlinear/SeaIce -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IMaster -ICompilers -D'HEADER_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' Master/master.F > /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/master.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/vibc.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/ice_evp.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/uibc.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/ice_thermo.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/ice_enthalpi.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/ice_spdiw.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/ice_vbc.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/seaice.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/mod_arrays.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/esmf_roms.f90
rm -f -r /public/home/jiao/make_macros.mk
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/master.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 mod_kinds.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 -free -free mod_strings.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 ice_advect.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 ice_thermo.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 esmf_roms.f90
ice_advect.f90(28): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_PARAM]
ice_thermo.f90(28): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_PARAM]
USE mod_param
----------^
USE mod_param
----------^
ice_advect.f90(69): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_PARAM]
USE mod_param
----------^
ice_thermo.f90(29): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_GRID]
USE mod_grid
----------^
ice_advect.f90(70): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_NCPARAM]
USE mod_ncparam
----------^
ice_advect.f90(71): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_GRID]
USE mod_grid
----------^
ice_thermo.f90(30): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_OCEAN]
USE mod_ocean
----------^
ice_advect.f90(72): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_OCEAN]
USE mod_ocean
----------^
ice_advect.f90(73): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_ICE]
USE mod_ice
----------^
ice_thermo.f90(31): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_ICE]
USE mod_ice
----------^
ice_thermo.f90(32): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_FORCES]
ice_advect.f90(74): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_FORCES]
USE mod_forces
USE mod_forces
----------^
----------^
ice_thermo.f90(33): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_STEPPING]
USE mod_stepping
----------^
ice_advect.f90(75): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_SCALARS]
USE mod_scalars
----------^
ice_advect.f90(76): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_STEPPING]
USE mod_stepping
----------^
ice_thermo.f90(34): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_COUPLING]
USE mod_coupling
----------^
ice_thermo.f90(216): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_PARAM]
USE mod_param
----------^
ice_thermo.f90(217): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_NCPARAM]
USE mod_ncparam
----------^
ice_thermo.f90(218): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_SCALARS]
USE mod_scalars
----------^
ice_thermo.f90(219): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [DATECLOCK_MOD]
USE dateclock_mod
----------^
ice_thermo.f90(222): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_BOUNDARY]
USE mod_boundary
----------^
ice_thermo.f90(224): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [I2D_BC_MOD]
USE i2d_bc_mod
----------^
ice_thermo.f90(226): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_CLIMA]
USE mod_clima
----------^
ice_thermo.f90(221): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [BC_2D_MOD]
USE bc_2d_mod, ONLY : bc_r2d_tile
----------^
ice_thermo.f90(225): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [TIBC_MOD]
USE tibc_mod, ONLY : tibc_tile
----------^
ice_thermo.f90(228): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [EXCHANGE_2D_MOD]
USE exchange_2d_mod, ONLY : exchange_r2d_tile
----------^
ice_thermo.f90(229): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MP_EXCHANGE_MOD]
USE mp_exchange_mod, ONLY : mp_exchange2d
----------^
ice_thermo.f90(237): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: rmask(LBi:,LBj:)
-----------^
ice_thermo.f90(238): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: h(LBi:,LBj:)
-----------^
ice_thermo.f90(239): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: Zt_avg1(LBi:,LBj:)
-----------^
ice_thermo.f90(240): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: z_r(LBi:,LBj:,:)
-----------^
ice_thermo.f90(241): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: z_w(LBi:,LBj:,0:)
-----------^
ice_thermo.f90(242): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: t(LBi:,LBj:,:,:,:)
-----------^
ice_thermo.f90(243): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: wfr(LBi:,LBj:)
-----------^
ice_thermo.f90(244): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(inout) :: wai(LBi:,LBj:)
-----------^
ice_thermo.f90(245): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(inout) :: wao(LBi:,LBj:)
-----------^
ice_thermo.f90(246): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(inout) :: wio(LBi:,LBj:)
-----------^
ice_thermo.f90(247): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(inout) :: wro(LBi:,LBj:)
-----------^
ice_thermo.f90(248): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(inout) :: ai(LBi:,LBj:,:)
-----------^
ice_thermo.f90(848): catastrophic error: Too many errors, exiting
ice_advect.f90(77): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_BOUNDARY]
USE mod_boundary
----------^
ice_advect.f90(80): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [I2D_BC_MOD]
USE i2d_bc_mod
----------^
ice_advect.f90(78): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [EXCHANGE_2D_MOD]
USE exchange_2d_mod, ONLY : exchange_r2d_tile
----------^
ice_advect.f90(79): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MP_EXCHANGE_MOD]
USE mp_exchange_mod, ONLY : mp_exchange2d
----------^
ice_advect.f90(81): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [TIBC_MOD]
USE tibc_mod, ONLY : tibc_tile
----------^
ice_advect.f90(94): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8) :: wrk(LBi:UBi, LBj:UBj, 2)
-----------^
ice_advect.f90(399): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_PARAM]
USE mod_param
----------^
ice_advect.f90(400): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MOD_SCALARS]
USE mod_scalars
----------^
ice_advect.f90(410): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: rmask(LBi:,LBj:)
-----------^
ice_advect.f90(411): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: pm(LBi:,LBj:)
-----------^
ice_advect.f90(412): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: pn(LBi:,LBj:)
-----------^
ice_advect.f90(413): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: on_u(LBi:,LBj:)
-----------^
ice_advect.f90(414): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: om_v(LBi:,LBj:)
-----------^
ice_advect.f90(415): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: omn(LBi:,LBj:)
-----------^
ice_advect.f90(416): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: ui(LBi:,LBj:,:)
-----------^
ice_advect.f90(417): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(in) :: vi(LBi:,LBj:,:)
-----------^
ice_advect.f90(418): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), intent(inout) :: scr(LBi:,LBj:,:)
-----------^
ice_advect.f90(424): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), dimension(IminS:ImaxS,JminS:JmaxS) :: ar
-----------^
ice_advect.f90(425): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), dimension(IminS:ImaxS,JminS:JmaxS) :: aflxu
-----------^
ice_advect.f90(426): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), dimension(IminS:ImaxS,JminS:JmaxS) :: aflxv
-----------^
ice_advect.f90(427): error #6683: A kind type parameter must be a compile-time constant. [R8]
real(r8), dimension(IminS:ImaxS,JminS:JmaxS) :: aif
-----------^
ice_advect.f90(664): catastrophic error: Too many errors, exiting
compilation aborted for ice_thermo.f90 (code 1)
compilation aborted for ice_advect.f90 (code 1)
make: *** [/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/ice_advect.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/ice_thermo.o] Error 1
Code: Select all
#define ICE_MODEL
#define ICE_ADVECT
#define ICE_BULK_FLUXES
#define ICE_CONVSNOW
#define ICE_DIAGS
#define ICE_EVP
#define ICE I_O
#define ICE_LANDFAST
#define ICE_MK
#define ICE_MOMENTUM
#define ICE_SHALLOW_LIMIT
#define ICE_SHORTWAVE_R
#define ICE_SMOLAR
#define ICE_STRENGTH_QUAD
#define ICE_THERMO
#define INI_GLORYS_ICE
- Attachments
-
- build_roms.bash
- (10.85 KiB) Downloaded 524 times
-
- zsa_jiao.h
- (2.52 KiB) Downloaded 450 times
-
- build_SeaIce.log
- (396.51 KiB) Downloaded 440 times
Re: ROMS from github error
You need to rebuild the dependency list. Some things need to be compiled before other things. The easiest way to do this is "make clean" or removing the build directory or whatever works for how you build the model.
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
Dear Kate,
I set "clean=1" in the build_roms.bash file. I also removed the directory "Build_roms" before compile. I also run "make clean" in the roms directory, where the file "makefile" exits. But they doesn't work. Was my operation right? Could you please explain more ?
Looking forwad to your reply.
Re: ROMS from github error
So the dependency list is wrong and doesn't include the needs of the ice model. I never used Hernan's build system, so there must be something missing in his Makefile.
I looked in his makefile and he's pointing to sea ice modules under ROMS/Nonlinear/SeaIce. Maybe if you move the ice routines to that directory?
I looked in his makefile and he's pointing to sea ice modules under ROMS/Nonlinear/SeaIce. Maybe if you move the ice routines to that directory?
-
- Posts: 20
- Joined: Wed Jun 04, 2014 1:45 pm
- Location: Istanbul Technical University
Re: ROMS from github error
Hi,
I also had the same problem when building the ROMS-Ice code, but only with the multi processor building:
I believe as Kate mentioned, the dependency order has to be taken care of. However, if I use single process to build, I get no problems with building.
I chose not to spend time for trying to fix the dependencies or order. Just using single cpu .
The error I get with multiprocessor is;
Best,
I also had the same problem when building the ROMS-Ice code, but only with the multi processor building:
Code: Select all
(./build_bash -j 8 )
I chose not to spend time for trying to fix the dependencies or order. Just using single cpu .
The error I get with multiprocessor is;
Code: Select all
ice_advect.f90:28:10:
28 | USE mod_param
| 1
Fatal Error: Cannot open module file ‘mod_param.mod’ for reading at (1): No such file or directory
compilation terminated.
ice_thermo.f90:28:10:
28 | USE mod_param
| 1
Fatal Error: Cannot open module file ‘mod_param.mod’ for reading at (1): No such file or directory
compilation terminated.
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
Thank you very much Kate! Your suggestion was correct.kate wrote: ↑Fri Mar 31, 2023 5:36 am So the dependency list is wrong and doesn't include the needs of the ice model. I never used Hernan's build system, so there must be something missing in his Makefile.
I looked in his makefile and he's pointing to sea ice modules under ROMS/Nonlinear/SeaIce. Maybe if you move the ice routines to that directory?
I tried two ways one by one:
1. Copy the ice routines from ROMS/SeaIce to ROMS/Nonlinear/SeaIce.
2. Change makefile:
modules += ROMS/Nonlinear/SeaIce ---> modules += ROMS/SeaIce,
includes += ROMS/Nonlinear/SeaIce ----> includes += ROMS/SeaIce.
But both don't work, error is similiar (Though compile output slightly different before error, see following) .
To solved this problem, how can I get your version makefile instead of Hernan ?
Looking forward to hearing from you.
Error from way 1:
Code: Select all
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 ice_vbc.f90
ar r /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/libANA.a /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/analytical.o
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/libANA.a
ranlib /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/libANA.a
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 mod_arrays.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 bbl.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 conv_2d.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 diag.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 ice_frazil.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 u2dbc_im.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 v2dbc_im.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 metrics.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 nesting.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 lmd_bkpp.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 lmd_skpp.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 set_avg.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 set_vbc.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 cawdir_eval.f90
set_avg.f90(584): error #6460: This is not a field name that is defined in the encompassing structure. [FRSWPEN]
AVERAGE(ng)%avgfrswp(i,j)=FORCES(ng)%frswpen(i,j)
---------------------------------------------------^
set_avg.f90(584): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgfrswp(i,j)=FORCES(ng)%frswpen(i,j)
----------------------------------------^
set_avg.f90(598): error #6460: This is not a field name that is defined in the encompassing structure. [ALBEDO]
AVERAGE(ng)%avgAlbe(i,j)=FORCES(ng)%albedo(i,j)
--------------------------------------------------^
set_avg.f90(598): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgAlbe(i,j)=FORCES(ng)%albedo(i,j)
---------------------------------------^
set_avg.f90(605): error #6460: This is not a field name that is defined in the encompassing structure. [ALBEDO_ICE]
AVERAGE(ng)%avgAlbI(i,j)=FORCES(ng)%albedo_ice(i,j)
--------------------------------------------------^
set_avg.f90(605): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgAlbI(i,j)=FORCES(ng)%albedo_ice(i,j)
---------------------------------------^
set_avg.f90(1304): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%frswpen(i,j)
---------------------------------------^
set_avg.f90(1320): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%albedo(i,j)
---------------------------------------^
set_avg.f90(1328): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%albedo_ice(i,j)
---------------------------------------^
compilation aborted for set_avg.f90 (code 1)
make: *** [/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/set_avg.o] Error 1
make: *** Waiting for unfinished jobs....
Code: Select all
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 coupler.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 vorticity.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 wrt_station.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 set_avg.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 set_avg2.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 set_filter.f90
set_avg.f90(584): error #6460: This is not a field name that is defined in the encompassing structure. [FRSWPEN]
AVERAGE(ng)%avgfrswp(i,j)=FORCES(ng)%frswpen(i,j)
---------------------------------------------------^
set_avg.f90(584): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgfrswp(i,j)=FORCES(ng)%frswpen(i,j)
----------------------------------------^
set_avg.f90(598): error #6460: This is not a field name that is defined in the encompassing structure. [ALBEDO]
AVERAGE(ng)%avgAlbe(i,j)=FORCES(ng)%albedo(i,j)
--------------------------------------------------^
set_avg.f90(598): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgAlbe(i,j)=FORCES(ng)%albedo(i,j)
---------------------------------------^
set_avg.f90(605): error #6460: This is not a field name that is defined in the encompassing structure. [ALBEDO_ICE]
AVERAGE(ng)%avgAlbI(i,j)=FORCES(ng)%albedo_ice(i,j)
--------------------------------------------------^
set_avg.f90(605): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgAlbI(i,j)=FORCES(ng)%albedo_ice(i,j)
---------------------------------------^
set_avg.f90(1304): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%frswpen(i,j)
---------------------------------------^
set_avg.f90(1320): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%albedo(i,j)
---------------------------------------^
set_avg.f90(1328): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%albedo_ice(i,j)
---------------------------------------^
compilation aborted for set_avg.f90 (code 1)
make: *** [/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/set_avg.o] Error 1
make: *** Waiting for unfinished jobs....
[jiao@tc6000 v40_git3_SeaIce]$ vim build_ROMS.log
[jiao@tc6000 v40_git3_SeaIce]$ rm -r Build_roms/
[jiao@tc6000 v40_git3_SeaIce]$ ./build_roms.bash -j 24 > build_ROMS2.log
svn: '.' is not a working copy
svn: '.' is not a working copy
svn: '.' is not a working copy
svn: '.' is not a working copy
svn: '.' is not a working copy
svn: '.' is not a working copy
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/libNLM_bio.a
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/libANA.a
ar: creating /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/libMODS.a
ice_thermo.f90(102): error #6460: This is not a field name that is defined in the encompassing structure. [RAIN]
& FORCES(ng) % rain, &
-----------------------------------------^
ice_thermo.f90(102): error #6634: The shape matching rules of actual arguments and dummy arguments have been violated. [RAIN]
& FORCES(ng) % rain, &
-----------------------------------------^
compilation aborted for ice_thermo.f90 (code 1)
make: *** [/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/ice_thermo.o] Error 1
make: *** Waiting for unfinished jobs....
- Attachments
-
- build_Nonlinear2.log
- (386.91 KiB) Downloaded 497 times
-
- build_ROMS2.log
- (316.49 KiB) Downloaded 460 times
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
bilge.tutak wrote: ↑Fri Mar 31, 2023 8:36 am Hi,
I also had the same problem when building the ROMS-Ice code, but only with the multi processor building:I believe as Kate mentioned, the dependency order has to be taken care of. However, if I use single process to build, I get no problems with building.Code: Select all
(./build_bash -j 8 )
I chose not to spend time for trying to fix the dependencies or order. Just using single cpu .
The error I get with multiprocessor is;
Best,Code: Select all
ice_advect.f90:28:10: 28 | USE mod_param | 1 Fatal Error: Cannot open module file ‘mod_param.mod’ for reading at (1): No such file or directory compilation terminated. ice_thermo.f90:28:10: 28 | USE mod_param | 1 Fatal Error: Cannot open module file ‘mod_param.mod’ for reading at (1): No such file or directory compilation terminated.
Thank you bilge.tutak,
I tried compile using single cpu as you suggested, but error still appear as following. Do you have any suggestions?
1, Where do you put your SeaIce code? ROMS/SeaIce or ROMS/Nonlinear/Sea Ice ?
2, Can you share you makefile ? As Kate suggested, there is inconsistence between makefile and src.
3, Are you using the roms version from
Error :
Code: Select all
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 radiation_stress.f90
/usr/bin/cpp -P -traditional-cpp -w -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/public/home/jiao/study/work001_ROMS/roms-kate-git_clone_03/roms"' -DZSA_JIAO -D'HEADER="zsa_jiao.h"' -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -D'ROMS_HEADER="zsa_jiao.h"' -D'ANALYTICAL_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' -D'MY_ANALYTICAL="on"' -D'GIT_URL="https://github.com/kshedstrom/roms.git"' -D'GIT_REV="kate_svn commit 6426b5c3f63b493c808517c9edd1c8b7b275dfe0"' -D'GIT_STATUS=40' -D'SVN_URL=""' -D'SVN_REV=""' -IROMS/Include -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IROMS/Nonlinear/SeaIce -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IMaster -ICompilers -D'HEADER_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' ROMS/Nonlinear/set_avg.F > /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/set_avg.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/set_avg.f90
/usr/bin/cpp -P -traditional-cpp -w -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/public/home/jiao/study/work001_ROMS/roms-kate-git_clone_03/roms"' -DZSA_JIAO -D'HEADER="zsa_jiao.h"' -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -D'ROMS_HEADER="zsa_jiao.h"' -D'ANALYTICAL_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' -D'MY_ANALYTICAL="on"' -D'GIT_URL="https://github.com/kshedstrom/roms.git"' -D'GIT_REV="kate_svn commit 6426b5c3f63b493c808517c9edd1c8b7b275dfe0"' -D'GIT_STATUS=40' -D'SVN_URL=""' -D'SVN_REV=""' -IROMS/Include -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IROMS/Nonlinear/SeaIce -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IMaster -ICompilers -D'HEADER_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' ROMS/Modules/mod_average.F > /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/mod_average.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/mod_average.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 mod_average.f90
/usr/bin/cpp -P -traditional-cpp -w -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/public/home/jiao/study/work001_ROMS/roms-kate-git_clone_03/roms"' -DZSA_JIAO -D'HEADER="zsa_jiao.h"' -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -D'ROMS_HEADER="zsa_jiao.h"' -D'ANALYTICAL_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' -D'MY_ANALYTICAL="on"' -D'GIT_URL="https://github.com/kshedstrom/roms.git"' -D'GIT_REV="kate_svn commit 6426b5c3f63b493c808517c9edd1c8b7b275dfe0"' -D'GIT_STATUS=40' -D'SVN_URL=""' -D'SVN_REV=""' -IROMS/Include -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IROMS/Nonlinear/SeaIce -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IMaster -ICompilers -D'HEADER_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' ROMS/Utility/uv_rotate.F > /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/uv_rotate.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/uv_rotate.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 uv_rotate.f90
/usr/bin/cpp -P -traditional-cpp -w -DMPI -DLINUX -DX86_64 -DIFORT -D'ROOT_DIR="/public/home/jiao/study/work001_ROMS/roms-kate-git_clone_03/roms"' -DZSA_JIAO -D'HEADER="zsa_jiao.h"' -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -D'ROMS_HEADER="zsa_jiao.h"' -D'ANALYTICAL_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' -D'MY_ANALYTICAL="on"' -D'GIT_URL="https://github.com/kshedstrom/roms.git"' -D'GIT_REV="kate_svn commit 6426b5c3f63b493c808517c9edd1c8b7b275dfe0"' -D'GIT_STATUS=40' -D'SVN_URL=""' -D'SVN_REV=""' -IROMS/Include -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IROMS/Nonlinear/SeaIce -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce -IMaster -ICompilers -D'HEADER_DIR="/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce"' ROMS/Utility/vorticity.F > /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/vorticity.f90
ROMS/Bin/cpp_clean /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/vorticity.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 vorticity.f90
cd /public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms; /public/software/compiler/intel/parallel_studio_xe_2016sp3/compilers_and_libraries_2016.3.210/linux/mpi/intel64/bin/mpif90 -c -fp-model precise -heap-arrays -ip -O3 -traceback -check uninit -ip -O3 set_avg.f90
set_avg.f90(584): error #6460: This is not a field name that is defined in the encompassing structure. [FRSWPEN]
AVERAGE(ng)%avgfrswp(i,j)=FORCES(ng)%frswpen(i,j)
---------------------------------------------------^
set_avg.f90(584): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgfrswp(i,j)=FORCES(ng)%frswpen(i,j)
----------------------------------------^
set_avg.f90(598): error #6460: This is not a field name that is defined in the encompassing structure. [ALBEDO]
AVERAGE(ng)%avgAlbe(i,j)=FORCES(ng)%albedo(i,j)
--------------------------------------------------^
set_avg.f90(598): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgAlbe(i,j)=FORCES(ng)%albedo(i,j)
---------------------------------------^
set_avg.f90(605): error #6460: This is not a field name that is defined in the encompassing structure. [ALBEDO_ICE]
AVERAGE(ng)%avgAlbI(i,j)=FORCES(ng)%albedo_ice(i,j)
--------------------------------------------------^
set_avg.f90(605): error #6158: The structure-name is invalid or is missing. [FORCES]
AVERAGE(ng)%avgAlbI(i,j)=FORCES(ng)%albedo_ice(i,j)
---------------------------------------^
set_avg.f90(1304): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%frswpen(i,j)
---------------------------------------^
set_avg.f90(1320): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%albedo(i,j)
---------------------------------------^
set_avg.f90(1328): error #6158: The structure-name is invalid or is missing. [FORCES]
& FORCES(ng)%albedo_ice(i,j)
---------------------------------------^
compilation aborted for set_avg.f90 (code 1)
make: *** [/public/home/jiao/study/work001_ROMS/projects/ex030_fanwei/v40_git3_SeaIce/Build_roms/set_avg.o] Error 1
- Attachments
-
- build_1cpu.log
- (178.56 KiB) Downloaded 509 times
Re: ROMS from github error
This one is not the fault of the Makefile, but rather a bug. Looking at mod_forces, I have:
However, set_avg.F has no such cpp protections around frswpen and friends. Now you know that I had all those cppdefs turned on.
Code: Select all
# ifdef SHORTWAVE
real(r8), pointer :: srflx(:,:)
# ifndef ANA_SRFLUX
real(r8), pointer :: srflxG(:,:,:)
# endif
# ifdef ALBEDO
real(r8), pointer :: albedo(:,:)
# ifdef ICE_MODEL
real(r8), pointer :: albedo_ice(:,:)
# ifdef ALBEDO_CSIM
real(r8), pointer :: frswpen(:,:)
# endif
# endif
# endif
# ifdef ALBEDO_FILE
real(r8), pointer :: albedoG(:,:,:)
# endif
# if defined ALBEDO_DIRDIFF
real(r8), pointer :: cawdir(:,:)
# endif
# endif
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
Thank you very much Kate !kate wrote: ↑Fri Mar 31, 2023 4:49 pm This one is not the fault of the Makefile, but rather a bug. Looking at mod_forces, I have:However, set_avg.F has no such cpp protections around frswpen and friends. Now you know that I had all those cppdefs turned on.Code: Select all
# ifdef SHORTWAVE real(r8), pointer :: srflx(:,:) # ifndef ANA_SRFLUX real(r8), pointer :: srflxG(:,:,:) # endif # ifdef ALBEDO real(r8), pointer :: albedo(:,:) # ifdef ICE_MODEL real(r8), pointer :: albedo_ice(:,:) # ifdef ALBEDO_CSIM real(r8), pointer :: frswpen(:,:) # endif # endif # endif # ifdef ALBEDO_FILE real(r8), pointer :: albedoG(:,:,:) # endif # if defined ALBEDO_DIRDIFF real(r8), pointer :: cawdir(:,:) # endif # endif
I hope this post can also help others when they want to use the ROMS 3.9 with SeaIce from github. The main error was caused by the difference of varinfo.dat.
Now I want to make it clear. There are many difference between the varinfo.dat in your App_master [https://github.com/kshedstrom/Apps_master]. I used it directly because I found that my modified varinfo.dat [based on the one from ROMS 3.6] has so many difference. The varinfo.dat from Apps_master is perfectly matched with the ROMS 3.9, and no other one was better, right ?
But I am wandering the modification:
Code: Select all
!------------------------------------------------------------------------------
! Boundary variables.
!------------------------------------------------------------------------------
!
'zeta_west' ! Input
'free-surface western boundary condition'
'meter' ! [m]
'zeta_west, scalar, series'
'ocean_time'
'idZbry(iwest)'
'nulvar'
1.0d0
'zeta_east' ! Input
'free-surface eastern boundary condition'
'meter' ! [m]
'zeta_east, scalar, series'
'ocean_time'
'idZbry(ieast)'
'nulvar'
1.0d0
'zeta_south' ! Input
'free-surface southern boundary condition'
'meter' ! [m]
'zeta_south, scalar, series'
'ocean_time'
'idZbry(isouth)'
'nulvar'
1.0d0
'zeta_north' ! Input
'free-surface northern boundary condition'
'meter' ! [m]
'zeta_north, scalar, series'
'ocean_time'
'idZbry(inorth)'
'nulvar'
1.0d0
'ubar_west' ! Input
'2D u-momentum western boundary condition'
'meter second-1' ! [m/s]
'ubar_west, scalar, series'
'ocean_time'
'idU2bc(iwest)'
'nulvar'
1.0d0
'ubar_east' ! Input
'2D u-momentum eastern boundary condition'
'meter second-1' ! [m/s]
'ubar_east, scalar, series'
'ocean_time'
'idU2bc(ieast)'
'nulvar'
1.0d0
'ubar_south' ! Input
'2D u-momentum southern boundary condition'
'meter second-1' ! [m/s]
'ubar_south, scalar, series'
'ocean_time'
Code: Select all
!------------------------------------------------------------------------------
! Climatotogy variables.
!------------------------------------------------------------------------------
!
'zeta' ! Input
'sea surface height climatology'
'meter' ! [m]
'zeta, scalar, series'
'ocean_time'
'idSSHc'
'r2dvar'
1.0d0
'ubar' ! Input
'vertically integrated u-momentum climatology'
'meter second-1' ! [m/s]
'ubar-velocity, scalar, series'
'ocean_time'
'idUbcl'
'u2dvar'
1.0d0
'vbar' ! Input
'vertically integrated v-momentum climatology'
'meter second-1' ! [m/s]
'vbar-velocity, scalar, series'
'ocean_time'
'idVbcl'
'v2dvar'
1.0d0
'u' ! Input
'u-momentum component climatology'
'meter second-1' ! [m/s]
'u-velocity, scalar, series'
'ocean_time'
'idUclm'
'u3dvar'
1.0d0
'v' ! Input
'v-momentum component climatology'
'meter second-1' ! [m/s]
'v-velocity, scalar, series'
'ocean_time'
'idVclm'
'v3dvar'
1.0d0
'omega'
'S-coordinate vertical momentum climatology'
'meter3 second-1'
'omega, scalar, series'
'ocean_time'
'idOclm'
'w3dvar'
1.0d0
1. When the time of variables is ocean_time, a variable instead of a dimension named ocean_time has to exist in the climatology, forcing, and boundary file, right ?
2. The attribute units of ocean_time has to be specified, right ? In many cases, it is usually day. Can we use second or month ?
3. The reference time for ocean_time can be specified by one of the attribute units [like "days since 1980-01-01 00:00:00"] or TIME_REF in the .in file ? Only one of them would work ?
4. As we known, the name ocean_time is also a variable defined by the varinfo.dat in the model state. When we used ocean_time in the climatology, forcing, and boundary file, is there conflicts with the one [ocean_time] in the varinfo.dat in model state ? What's more, the units of the ocean_time is second in varinfo.dat, while we usually specify units as day in the climatology, forcing, and boundary file.
5. When one of the time of variables in the varinfo.dat and ocean_time variable in the input netcdf file make ROMS run successfully for climatology (while whether misleading exists not checked). Both of them are required for boundary file if we want ROMS to run succssfully.
6. If I have more questions about how roms process the time of the input variable, which .F file should I read ?
Re: ROMS from github error
Inside ROMS, each variable can have its own time, no problem.
The preferred method (last I was aware) is that each variable in the netcdf file should point to the appropriate time variable through the time attribute. This will override the varinfo.dat file.
In terms of units, I wouldn't count on ROMS knowing very many. See for example get_state.F:
The preferred method (last I was aware) is that each variable in the netcdf file should point to the appropriate time variable through the time attribute. This will override the varinfo.dat file.
In terms of units, I wouldn't count on ROMS knowing very many. See for example get_state.F:
Code: Select all
!
! Set input time scale by looking at the "units" attribute.
!
time_scale=0.0_dp
DO i=1,nvatts
IF (TRIM(var_Aname(i)).eq.'units') THEN
IF (INDEX(TRIM(var_Achar(i)),'day').ne.0) THEN
time_scale=day2sec
ELSE IF (INDEX(TRIM(var_Achar(i)),'second').ne.0) THEN
time_scale=1.0_dp
END IF
END IF
END DO
IF (time_scale.gt.0.0_r8) THEN
INPtime=INPtime*time_scale
END IF
-
- Posts: 26
- Joined: Wed Jul 19, 2017 4:03 pm
- Location: Zhejiang University
Re: ROMS from github error
Thank you for your replying and kindness. Wish you good health and have a nice day !kate wrote: ↑Mon Apr 03, 2023 9:46 pm Inside ROMS, each variable can have its own time, no problem.
The preferred method (last I was aware) is that each variable in the netcdf file should point to the appropriate time variable through the time attribute. This will override the varinfo.dat file.
In terms of units, I wouldn't count on ROMS knowing very many. See for example get_state.F:Code: Select all
! ! Set input time scale by looking at the "units" attribute. ! time_scale=0.0_dp DO i=1,nvatts IF (TRIM(var_Aname(i)).eq.'units') THEN IF (INDEX(TRIM(var_Achar(i)),'day').ne.0) THEN time_scale=day2sec ELSE IF (INDEX(TRIM(var_Achar(i)),'second').ne.0) THEN time_scale=1.0_dp END IF END IF END DO IF (time_scale.gt.0.0_r8) THEN INPtime=INPtime*time_scale END IF