I've tried to run a ROMS&SWAN coupling case. But I got the segmentation fault error. So I turned on
Code: Select all
USE_DEBUG=on
In the debug mode, I got the message below:
Code: Select all
SWAN grid 1 is preparing computation
0: Subscript out of range for array globalsegmap_g (waves_coupler.f90: 331)
subscript=1, lower bound=0, upper bound=-1, dimension=1
0: Subscript out of range for array globalsegmap_g (waves_coupler.f90: 331)
subscript=1, lower bound=0, upper bound=-1, dimension=1
0: Subscript out of range for array globalsegmap_g (waves_coupler.f90: 331)
subscript=1, lower bound=0, upper bound=-1, dimension=1
Code: Select all
CALL Router_init (OCNid, GlobalSegMap_G(iw)%GSMapSWAN, &
& WAV_COMM_WORLD, Router_O(iw,ng)%SWANtoROMS)
Donghua