Replies: 5 comments 6 replies
-
Pinging @AliS-Noaa |
Beta Was this translation helpful? Give feedback.
-
@AliS-Noaa. What is the limitation that prevents serially looping over points (when itype==4) within a single run of ww3_outp? |
Beta Was this translation helpful? Give feedback.
-
As a test of my idea, is it reasonable to simply comment these lines in WW3/model/ftn/ww3_outp.ftn
|
Beta Was this translation helpful? Give feedback.
-
Commenting those lines in WW3/model/ftn/ww3_outp.ftn and putting all 3118 points in a single ww3_outp.inp file allows the ww3_outp executable to generate separate .bull and .cbull files for all 3118 points for a given time window in 10 seconds. The baseline run took 46 minutes to process (serially) five hourly time periods (5*3118 outputs). I ran my executable on two of the five hourly periods and compared the generated .bull files against their corresponding file from the baseline run to find all are bit identical. Most (2043 of 3118 for each period) of the .cbull files are bit-identical. The ones that are different have what appears to be output from a csv file on the first line. The remaining contents of the cbull file are fine. Oddly, all but one of the .csv files generated by my executable are corrupt. The total number of file system metadata operations (open, stat, close) to process all points within one instance of ww3_outp is 29,593. The total number of file system metadata operations to process one point using the one-point-at-a-time approach is 88. Thus the total number of file system metadata operations to process all points one at a time would be 88*3118=274,384. There is clearly an issue causing the csv files and many of the cbull file to be corrupted. However, given the 9.2x reduction in file system load this approach has merit. |
Beta Was this translation helpful? Give feedback.
-
Applying the attached patch onto revision fd9757a of ww3_outp.ftn will allow it to generate all three report types (bull, cbull and csv) for all points specified in ww3_outp.inp |
Beta Was this translation helpful? Give feedback.
-
I am testing ways to improve how the ww3_outp application interacts with the file system. One idea is to have each run of ww3_outp output more than one point. This could save a bunch of file system activity improving both runtime and runtime variability. I attempted to do this, but I was met with the following error message.
*** WAVEWATCH III ERROR IN W3OUTP : MULTIPLE OUTPUT POINTS DEFINED, ITYPE = 4 ONLY SINGLE POINT ALLOWED IN THIS VERSION
There is also this comment in the code.
! ... This version only allows single point output for bulletins
Is there a fundamental limitation that prevents multiple output points when ITYPE==4?
Is there a version of ww3_outp that supports multiple output points?
Beta Was this translation helpful? Give feedback.
All reactions