I am using Kate's version Roms with ice module, it could run well as Roms. But the same case is not running in coawst.
In Coawst, if define Roms only, with the same cpp files and input files, it has 'trouble in frazil' error in first steps:
Code: Select all
trouble in ice_frazil 40 31 9 21.255285453705273 -3705.3862141090412 201.20247142612095 0.0000000000000000 -1.6156899011562551 0.93329775871259102
Code: Select all
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0 0x2ab17a3cb3af in ???
#0 0x2ba6230c63af in ???
#0 0x2b3198d233af in ???
#1 0x3e44ee5 in __mod_netcdf_MOD_netcdf_get_fvar_1d
at /mnt/home/cyue/Build/mod_netcdf.f90:1921
#1 0x3e44ee5 in __mod_netcdf_MOD_netcdf_get_fvar_1d
at /mnt/home/cyue/Build/mod_netcdf.f90:1921
#1 0x3e44ee5 in __mod_netcdf_MOD_netcdf_get_fvar_1d
at /mnt/home/cyue/Build/mod_netcdf.f90:1921
#2 0x269afee in get_ngfld_
at /mnt/home/cyue/Build/get_ngfld.f90:212
#2 0x269afee in get_ngfld_
at /mnt/home/cyue/Build/get_ngfld.f90:212
#2 0x269afee in get_ngfld_
at /mnt/home/cyue/Build/get_ngfld.f90:212
#3 0x94b86b in get_data_
at /mnt/home/cyue/Build/get_data.f90:222
#4 0x5df8fb in initial_
at /mnt/home/cyue/Build/initial.f90:304
#3 0x94b86b in get_data_
at /mnt/home/cyue/Build/get_data.f90:222
#5 0x40ad40 in __ocean_control_mod_MOD_roms_initialize
at /mnt/home/cyue/Build/ocean_control.f90:133
#6 0x4052fc in ocean
at /mnt/home/cyue/Build/master.f90:95
#7 0x405b01 in main
at /mnt/home/cyue/Build/master.f90:50
#3 0x94b86b in get_data_
at /mnt/home/cyue/Build/get_data.f90:222
#4 0x5df8fb in initial_
at /mnt/home/cyue/Build/initial.f90:304
#4 0x5df8fb in initial_
at /mnt/home/cyue/Build/initial.f90:304
#5 0x40ad40 in __ocean_control_mod_MOD_roms_initialize
at /mnt/home/cyue/Build/ocean_control.f90:133
#5 0x40ad40 in __ocean_control_mod_MOD_roms_initialize
at /mnt/home/cyue/Build/ocean_control.f90:133
#6 0x4052fc in ocean
#6 0x4052fc in ocean
at /mnt/home/cyue/Build/master.f90:95
#7 0x405b01 in main
at /mnt/home/cyue/Build/master.f90:50
at /mnt/home/cyue/Build/master.f90:95
#7 0x405b01 in main
at /mnt/home/cyue/Build/master.f90:50
Do you have any idea of how to solve this question? Any help would be appreciated!