How to output energy density spectrum in ROMS/SWAN system
How to output energy density spectrum in ROMS/SWAN system
Hey all,
Im now using coupled system of ROMS and SWAN and could successfully get the result of Wave Height, Wave Direction. But i have problem with getting energy density spectrum.
Im just following the SWAN manual and add following into SWAN INPUT:
********************************************************
POINTS 'LITE' -75 37.5
SPEC 'LITE' SPEC1D 'spec.dat' OUTPUT 20050517.0000 1 HR
********************************************************
But it didnt work.
Actually there isnt any Error file output. But following error was reported:
+SWAN is processing output request 1
p1_12504: p4_error: interrupt SIGSEGV: 11
rm_1_1_12513: (0.695312) net_send: could not write to fd=5, error =32
And i was confused that if I didnt write for a energy spectrum output but just output for wave heigh, direction as well as other info, such as DEPTH, DISSIP, UBOT, wind, XP, YP,etc, it could work successfully.
Is there any difference between ROMS/SWAN coupled system and SWAN only system in getting the energy density spectrum???
Anybody who has successfully get the output for energy spectrum by using coupled system of ROMS/SWAN? Or get any idea of such kind of problem?
Thanks:)
Im now using coupled system of ROMS and SWAN and could successfully get the result of Wave Height, Wave Direction. But i have problem with getting energy density spectrum.
Im just following the SWAN manual and add following into SWAN INPUT:
********************************************************
POINTS 'LITE' -75 37.5
SPEC 'LITE' SPEC1D 'spec.dat' OUTPUT 20050517.0000 1 HR
********************************************************
But it didnt work.
Actually there isnt any Error file output. But following error was reported:
+SWAN is processing output request 1
p1_12504: p4_error: interrupt SIGSEGV: 11
rm_1_1_12513: (0.695312) net_send: could not write to fd=5, error =32
And i was confused that if I didnt write for a energy spectrum output but just output for wave heigh, direction as well as other info, such as DEPTH, DISSIP, UBOT, wind, XP, YP,etc, it could work successfully.
Is there any difference between ROMS/SWAN coupled system and SWAN only system in getting the energy density spectrum???
Anybody who has successfully get the output for energy spectrum by using coupled system of ROMS/SWAN? Or get any idea of such kind of problem?
Thanks:)
we write out 2D spec while using the coupled system. Your command line looks ok. Seems like the error is saying that it is having trouble writing to the new file 'spec.dat' (?).
"could not write to fd=5, error =32"
Try running it with just 1 processor to roms and just 1 to swan. That may give a more useable swan error file.
"could not write to fd=5, error =32"
Try running it with just 1 processor to roms and just 1 to swan. That may give a more useable swan error file.
Thanks a lot.
Actually i already tried doing just 1 for ROMS and 1 for SWAN and also I tried for SPEC2D but it still didnt work and without Error file.
Im really confused coz it failed just because of adding those two lines in the SWAN INPUT.
btw, in PRINT file, it just ends up with
COMPUTE NONSTAT 20050516.000000 240 SEC 20050530.000000
and without any hints about the error....
Actually i already tried doing just 1 for ROMS and 1 for SWAN and also I tried for SPEC2D but it still didnt work and without Error file.
Im really confused coz it failed just because of adding those two lines in the SWAN INPUT.
btw, in PRINT file, it just ends up with
COMPUTE NONSTAT 20050516.000000 240 SEC 20050530.000000
and without any hints about the error....
Im not using the newest version and Im using the version which was last-changed at 2008-01-09(Revision: 141)-- I remember it's version 3.0.
As for the newest version (3.1), actually one of my labmate just updated for it several days ago but cant compile it successfully with the following error:
A array named 'OutField' in roms_export.f90 (line 91)was not be declared.
And I was using the spectrum output as the last output.
Thanks:)
As for the newest version (3.1), actually one of my labmate just updated for it several days ago but cant compile it successfully with the following error:
A array named 'OutField' in roms_export.f90 (line 91)was not be declared.
And I was using the spectrum output as the last output.
Thanks:)
- arango
- Site Admin
- Posts: 1361
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
This was already corrected. See at the bottom of ticket 149. You need to update.
here is another method to try.
Go to the swan web site
http://vlm089.citg.tudelft.nl/swan/index.htm
download the software, install on your system,
and try the same INPUT file and see if it works. You will probably have to comment out the lines for the currents and the water level, as you may not have those input files.
If that works then it has to do with the coupling. If not then it may be something about your system.
Go to the swan web site
http://vlm089.citg.tudelft.nl/swan/index.htm
download the software, install on your system,
and try the same INPUT file and see if it works. You will probably have to comment out the lines for the currents and the water level, as you may not have those input files.
If that works then it has to do with the coupling. If not then it may be something about your system.