Bad compilation of ww3_shel in ww3 v7.14 #896
Replies: 2 comments 4 replies
-
I don't think the error is related to that There is not much to diagnose the error in your output, but I will have a guess... Unit number 11 is connected to one of the field input files for your model. In this case I think it is the water levels input file. Perhaps you can provide your ww3_shel.inp/nml file and a list of your input files? |
Beta Was this translation helpful? Give feedback.
-
Attached are my input files: ww3_shel.inp.txt How do I generate a lev.ww3 file? |
Beta Was this translation helpful? Give feedback.
-
took out the netcdf dependent SCRIPNC from the switch_NCEP_gwm file in WW3/model/bin directory
I ran:
cmake .. -DNETCDF=OFF -DEXCLUDE_FIND="netcdf" -DSWITCH=/home/ww3/WW3/model/bin/switch_NCEP_gwm -DCMAKE_INSTALL_PREFIX=install
and make install
I found in WW3/build/bin executables and when I ran ww3_shel from there I got the following error:
[ww3@wavewatch bin]$ ./ww3_shel
At line 1195 of file /home/ww3/WW3/model/src/ww3_shel.F90 (unit = 11, file = 'fort.11')
Fortran runtime error: End of file
Error termination. Backtrace:
#0 0x7fdd41449171 in ???
#1 0x7fdd41449d19 in ???
#2 0x7fdd4144a521 in ???
#3 0x7fdd416521bb in ???
#4 0x7fdd416527b2 in ???
#5 0x7fdd4164f33b in ???
#6 0x7fdd41653ec4 in ???
#7 0x7fdd41654d34 in ???
#8 0x402570 in w3shel
at /home/ww3/WW3/model/src/ww3_shel.F90:1195
#9 0x401e4c in main
at /home/ww3/WW3/model/src/ww3_shel.F90:253
This type of output indicates that the compilation did not go through properly for ww3_shel.
I did see this warning in the compilation:
[ 55%] Building Fortran object model/src/CMakeFiles/ww3_lib.dir/w3srcemd.F90.o
/home/ww3/WW3/model/src/w3srcemd.F90:1675:0:
#endif W3_PDLIB
Warning: extra tokens at end of #endif directive
Can you help me resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions