swanmodel-users Mailing List for SWAN (Page 11)
Brought to you by:
mzijlema
You can subscribe to this list here.
2011 |
Jan
(1) |
Feb
(6) |
Mar
(9) |
Apr
(5) |
May
(15) |
Jun
(23) |
Jul
(6) |
Aug
(5) |
Sep
(4) |
Oct
(10) |
Nov
(5) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
(7) |
Feb
(3) |
Mar
(4) |
Apr
(7) |
May
(16) |
Jun
(8) |
Jul
(7) |
Aug
(4) |
Sep
(2) |
Oct
(10) |
Nov
(12) |
Dec
(6) |
2013 |
Jan
(6) |
Feb
(1) |
Mar
(3) |
Apr
(5) |
May
|
Jun
(4) |
Jul
(4) |
Aug
(4) |
Sep
(3) |
Oct
(10) |
Nov
(6) |
Dec
(4) |
2014 |
Jan
(8) |
Feb
(7) |
Mar
(18) |
Apr
(21) |
May
(12) |
Jun
(12) |
Jul
(21) |
Aug
(10) |
Sep
(22) |
Oct
(6) |
Nov
(3) |
Dec
(12) |
2015 |
Jan
(12) |
Feb
(11) |
Mar
(8) |
Apr
(3) |
May
(5) |
Jun
(6) |
Jul
|
Aug
(3) |
Sep
(12) |
Oct
(10) |
Nov
(27) |
Dec
(18) |
2016 |
Jan
(16) |
Feb
(3) |
Mar
(7) |
Apr
(12) |
May
(6) |
Jun
(25) |
Jul
(2) |
Aug
(21) |
Sep
(36) |
Oct
(11) |
Nov
(10) |
Dec
(6) |
2017 |
Jan
(9) |
Feb
(1) |
Mar
(5) |
Apr
(8) |
May
(6) |
Jun
(6) |
Jul
(1) |
Aug
(2) |
Sep
(11) |
Oct
(4) |
Nov
(3) |
Dec
(2) |
2018 |
Jan
(6) |
Feb
|
Mar
(1) |
Apr
(8) |
May
(8) |
Jun
(5) |
Jul
(5) |
Aug
(8) |
Sep
(13) |
Oct
(5) |
Nov
(10) |
Dec
(2) |
2019 |
Jan
(14) |
Feb
(8) |
Mar
(14) |
Apr
(10) |
May
(7) |
Jun
(27) |
Jul
(37) |
Aug
(19) |
Sep
(4) |
Oct
(9) |
Nov
(9) |
Dec
|
2020 |
Jan
(14) |
Feb
(4) |
Mar
(2) |
Apr
(3) |
May
(1) |
Jun
(19) |
Jul
(2) |
Aug
|
Sep
(7) |
Oct
(4) |
Nov
|
Dec
(4) |
2021 |
Jan
(1) |
Feb
(10) |
Mar
(20) |
Apr
(15) |
May
(7) |
Jun
(11) |
Jul
(5) |
Aug
(14) |
Sep
(5) |
Oct
(15) |
Nov
(5) |
Dec
(4) |
2022 |
Jan
(6) |
Feb
(5) |
Mar
(11) |
Apr
(4) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(9) |
Sep
(6) |
Oct
(3) |
Nov
(2) |
Dec
(7) |
2023 |
Jan
(2) |
Feb
(6) |
Mar
(9) |
Apr
(4) |
May
(3) |
Jun
(4) |
Jul
(3) |
Aug
(2) |
Sep
(4) |
Oct
(3) |
Nov
(4) |
Dec
|
2024 |
Jan
|
Feb
(3) |
Mar
(3) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(3) |
Oct
(7) |
Nov
(2) |
Dec
|
2025 |
Jan
|
Feb
(2) |
Mar
(3) |
Apr
(2) |
May
(7) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Veronique B. <ver...@gm...> - 2020-12-31 16:49:15
|
Hello all, I am experiencing some problems setting up my terminal to be able to run SWAN. I have a 2016 Macbook updated to Big Sur, and have command line tools installed. When I open a terminal on the swan4131 folder, and try to enter in the "make config" command, it says that my current Fortran compiler, "g95" is not supported. Has someone had this issue before? I am hesitant to use this code: "gfortran -c source.f90" because I do not want to create any new folders I don't need to. Is there a way for me to use the g95 compiler I have to run SWAN? Thank you, Veronique |
From: Joao A. <ja...@au...> - 2020-12-09 03:23:42
|
Hi Javi and Clemens, One thing to consider is that nowadays it is very common to have a large number of cores inside a single cluster's node. Which means that, particularly for SWAN, OMP will do the trick for you. For example, in the first cluster I worked with SWAN, I had 24 cores per node while in the present cluster I have up to 36 cores per node available. The benchmarks I ran back then showed little benefit in using more than 24 cores and MPI in the old cluster. So, possibly, it is more efficient (memory wise) to run SWAN distributed along the cores of a single node than spreading it through the nodes of the cluster. I never ran these benchmarks with the new cluster though. Your mileage may vary, of course. But based on the little experience I had, you shouldn't be too bothered about using SWAN with MPI. In any case, if you manage to use MPI, I'd be more than happy to learn from your results. Best, João On Wed, 9 Dec 2020 at 01:10, Javi Rodriguez via swanmodel-users < swa...@li...> wrote: > Hi Clemens, > > II would try to do the following: > 1. Compile SWAN in serial mode, and try to run the model. > 2. Compile SWAN in OMP mode, and try yo run the model. > > If that works, then try to build SWAN with MPI instructions. > > Take a look at this guide I wrote some time ago about building SWAN: > > https://gitlab.com/javier.rodriguezg/swan-support/-/blob/master/recipes/build_linux.md > > > Regards, > Javier > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Monday, 7 de December de 2020 14:37, Clemens Klante < > Cle...@tv...> wrote: > > Dear all, > > I recently compiled SWAN for my Linux system (Pop!_OS 20.04) without any > big issues and could run the test files flawlessly. > > Now I finished setting up my own SWAN model, but somehow I am not able to > run it on my system as I always get a MPI error, which is as follows. > > Invalid MIT-MAGIC-COOKIE-1 key > SWAN is preparing computation > > -------------------------------------------------------------------------- > MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD > with errorcode 4. > > NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. > You may or may not see output from other processes, depending on > exactly when Open MPI kills them. > > -------------------------------------------------------------------------- > > Same holds true for a colleague model. He is however, able to run my model > on his system. I compiled the system using GCC 9.3.0 and Open MPI 4.0.3. > > Thank you for your help in advance. > > Best, > Clemens > > > _______________________________________________ > swanmodel-users mailing list > swa...@li... > https://lists.sourceforge.net/lists/listinfo/swanmodel-users > -- João Claudio Albuquerque PhD. Candidate, School of Environment, The University of Auckland, Level 4, Room 449, Science Centre, 23 Symonds Street, Auckland, NZ. +64 021 02365705 |
From: Javi R. <ja...@pr...> - 2020-12-08 12:10:07
|
Hi Clemens, II would try to do the following: 1. Compile SWAN in serial mode, and try to run the model. 2. Compile SWAN in OMP mode, and try yo run the model. If that works, then try to build SWAN with MPI instructions. Take a look at this guide I wrote some time ago about building SWAN: https://gitlab.com/javier.rodriguezg/swan-support/-/blob/master/recipes/build_linux.md Regards, Javier ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, 7 de December de 2020 14:37, Clemens Klante <Cle...@tv...> wrote: > Dear all, > > I recently compiled SWAN for my Linux system (Pop!_OS 20.04) without any big issues and could run the test files flawlessly. > > Now I finished setting up my own SWAN model, but somehow I am not able to run it on my system as I always get a MPI error, which is as follows. > > Invalid MIT-MAGIC-COOKIE-1 key > SWAN is preparing computation > > -------------------------------------------------------------------------- > MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD > with errorcode 4. > > NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. > You may or may not see output from other processes, depending on > exactly when Open MPI kills them. > > -------------------------------------------------------------------------- > > Same holds true for a colleague model. He is however, able to run my model on his system. I compiled the system using GCC 9.3.0 and Open MPI 4.0.3. > > Thank you for your help in advance. > > Best, > Clemens |
From: Clemens K. <Cle...@tv...> - 2020-12-07 13:53:50
|
Dear all, I recently compiled SWAN for my Linux system (Pop!_OS 20.04) without any big issues and could run the test files flawlessly. Now I finished setting up my own SWAN model, but somehow I am not able to run it on my system as I always get a MPI error, which is as follows. Invalid MIT-MAGIC-COOKIE-1 key SWAN is preparing computation -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 4. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. -------------------------------------------------------------------------- Same holds true for a colleague model. He is however, able to run my model on his system. I compiled the system using GCC 9.3.0 and Open MPI 4.0.3. Thank you for your help in advance. Best, Clemens |
From: João A. <ja...@au...> - 2020-10-10 04:58:05
|
> Hi Ngoc, > > Adding to Huy's message, swan can provide you the swell wave height if you > use the output parameter SWELL in your BLOCK command. However it is only > the swell wave height considering a frequency threshold separating > wind-seas and swells. > > Another possibility is to use PTHSign, PTRTP and PTDIR among the other > partitioned outputs SWAN can provide. But still, in this case SWAN will > provide you with 10 partitions (not all of them used, of course) and you > would have to aggregate the swell partitions if you are interested in only > one swell. > > Have a look at the output options of the BLOCK command and in the > definition of the variables in App. A. > > Best, > João > > On Fri, 2 Oct 2020 at 22:31, Huy Quang Tran <huy...@gm...> wrote: > >> Hi Ngoc, >> >> If you have wave spectral outputs, you can do partition of directional >> wave spectra: https://github.com/gvoulgaris0/WavePart >> >> On Fri, 2 Oct 2020 at 19:08, Ngoc Phamkhanh <ngo...@gm...> >> wrote: >> >>> Dear SWAN users, >>> Now I want to export Swell/ Wind wave direction and period in SWAN but I >>> do not see these parameters in SWAN. However I see names of period that >>> have the same meaning (like TM01, PER, TMM10 which mean absolute wave >>> period (in s) ). >>> Could you please explain for me about what is different between these >>> parameters? >>> How can I export Swell/ Wind wave direction and period in SWAN? >>> >>> Thank you so much, >>> Ngoc >>> >>> -- >>> *Pham Khanh Ngoc, Researcher * >>> *National Centre for Hydrometeorological Forecasting - NCHMF* >>> *National Hydro-meteorological Service* >>> *------------------------------------------------------------* >>> Office: No.8, Phao Dai Lang St., Dong Da, Ha Noi, Viet Nam >>> Mobile:(+84) 375203967 >>> _______________________________________________ >>> swanmodel-users mailing list >>> swa...@li... >>> https://lists.sourceforge.net/lists/listinfo/swanmodel-users >>> >> _______________________________________________ >> swanmodel-users mailing list >> swa...@li... >> https://lists.sourceforge.net/lists/listinfo/swanmodel-users >> > > -- João Claudio Albuquerque PhD. Candidate, School of Environment, The University of Auckland, Level 4, Room 449, Science Centre, 23 Symonds Street, Auckland, NZ. +64 021 02365705 |
From: joao de a. <j.d...@au...> - 2020-10-08 23:44:50
|
Hi Ngoc, Adding to Huy's message, swan can provide you the swell wave height if you use the output parameter SWELL in your BLOCK command. However it is only the swell wave height considering a frequency threshold separating wind-seas and swells. Another possibility is to use PTHSign, PTRTP and PTDIR among the other partitioned outputs SWAN can provide. But still, in this case SWAN will provide you with 10 partitions (not all of them used, of course) and you would have to aggregate the swell partitions if you are interested in only one swell. Have a look at the output options of the BLOCK command and in the definition of the variables in App. A. Best, João On Fri, 2 Oct 2020 at 22:31, Huy Quang Tran <huy...@gm...> wrote: > Hi Ngoc, > > If you have wave spectral outputs, you can do partition of directional > wave spectra: https://github.com/gvoulgaris0/WavePart > > On Fri, 2 Oct 2020 at 19:08, Ngoc Phamkhanh <ngo...@gm...> wrote: > >> Dear SWAN users, >> Now I want to export Swell/ Wind wave direction and period in SWAN but I >> do not see these parameters in SWAN. However I see names of period that >> have the same meaning (like TM01, PER, TMM10 which mean absolute wave >> period (in s) ). >> Could you please explain for me about what is different between these >> parameters? >> How can I export Swell/ Wind wave direction and period in SWAN? >> >> Thank you so much, >> Ngoc >> >> -- >> *Pham Khanh Ngoc, Researcher * >> *National Centre for Hydrometeorological Forecasting - NCHMF* >> *National Hydro-meteorological Service* >> *------------------------------------------------------------* >> Office: No.8, Phao Dai Lang St., Dong Da, Ha Noi, Viet Nam >> Mobile:(+84) 375203967 >> _______________________________________________ >> swanmodel-users mailing list >> swa...@li... >> https://lists.sourceforge.net/lists/listinfo/swanmodel-users >> > _______________________________________________ > swanmodel-users mailing list > swa...@li... > https://lists.sourceforge.net/lists/listinfo/swanmodel-users > -- João Claudio Albuquerque PhD. Candidate, School of Environment, The University of Auckland, Level 4, Room 449, Science Centre, 23 Symonds Street, Auckland, NZ. +64 021 02365705 |
From: Huy Q. T. <huy...@gm...> - 2020-10-02 09:30:50
|
Hi Ngoc, If you have wave spectral outputs, you can do partition of directional wave spectra: https://github.com/gvoulgaris0/WavePart On Fri, 2 Oct 2020 at 19:08, Ngoc Phamkhanh <ngo...@gm...> wrote: > Dear SWAN users, > Now I want to export Swell/ Wind wave direction and period in SWAN but I > do not see these parameters in SWAN. However I see names of period that > have the same meaning (like TM01, PER, TMM10 which mean absolute wave > period (in s) ). > Could you please explain for me about what is different between these > parameters? > How can I export Swell/ Wind wave direction and period in SWAN? > > Thank you so much, > Ngoc > > -- > *Pham Khanh Ngoc, Researcher * > *National Centre for Hydrometeorological Forecasting - NCHMF* > *National Hydro-meteorological Service* > *------------------------------------------------------------* > Office: No.8, Phao Dai Lang St., Dong Da, Ha Noi, Viet Nam > Mobile:(+84) 375203967 > _______________________________________________ > swanmodel-users mailing list > swa...@li... > https://lists.sourceforge.net/lists/listinfo/swanmodel-users > |
From: Ngoc P. <ngo...@gm...> - 2020-10-02 09:06:59
|
Dear SWAN users, Now I want to export Swell/ Wind wave direction and period in SWAN but I do not see these parameters in SWAN. However I see names of period that have the same meaning (like TM01, PER, TMM10 which mean absolute wave period (in s) ). Could you please explain for me about what is different between these parameters? How can I export Swell/ Wind wave direction and period in SWAN? Thank you so much, Ngoc -- *Pham Khanh Ngoc, Researcher * *National Centre for Hydrometeorological Forecasting - NCHMF* *National Hydro-meteorological Service* *------------------------------------------------------------* Office: No.8, Phao Dai Lang St., Dong Da, Ha Noi, Viet Nam Mobile:(+84) 375203967 |
From: Sangeetha S <bhu...@gm...> - 2020-09-30 13:50:23
|
Hii SWAN users I am trying to run the SWAN model using WAM cycle 4 source terms (wind and whitecapping formulation) as shown below $ GEN3 JANSSEN WCAPPING QUADRUPL BREAKING CONSTANT ALPHA=1 GAMMA=0.73 $TRIAD $FRICTION JONSWAP 0.067 PROP BSBT NUM ACCUR NONSTAT 5 $ NGRID 'POINTS' 80.22 13.01 0 0.5 1 16 32 BLOCK 'COMPGRID' NOHEAD 'RESULT.mat' LAY 4 & DEPTH HSIG WIND XP YP RADSTR DSPR TM02 TMM10 RTP TPS DIR PDIR TDIR OUT 20161209.09 30 MIN NESTOUT 'POINTS' 'bound.out' OUTPUT 20161209.090000 30 MIN $ COMPUTE 20161209.090000 30 MIN 20161213.000000 STOP I am getting abnormal results with wave height over 30m. Can anyone check if my source term formulations are correctly given?? If not kindly suggest the idea. Thanks in advance S.Sangeetha project associate Indian Institute of Technology, Madras Chennai -36 |
From: Zhu, L. <l....@no...> - 2020-09-25 20:42:28
|
Hi, I encountered an interesting issue with SWAN model. I got different results using different cores. I ran the model on HPC (machine configuration: 1 processor contains 20 cores). I have tested 80 cores, 160 cores, and 200 cores. The 80-core and 160-core results are similar, but there are obvious missing data in 160-core results. The 200-core results are completely wrong. I didn’t find related information online. I am wondering whether you could provide insights on this issue. Thanks a lot. Best, Ling Zhu |
From: CERVELLI G. <giu...@po...> - 2020-09-24 11:49:18
|
hey swan users, I'm using SWAN 40.72AB version on my personal computer, but i need use this version also on a cluster but I need load SWAN on it. I'm not finding the source code around this version. Can someone help me? Best regards. Giulia Cervelli |
From: João A. <ja...@au...> - 2020-09-23 03:29:38
|
Hi Giullia, By comparing Appendix C of both manuals, it is possible to see the changes in the physics of both versions, as well as the default options. If you are using the same configuration file, whatever you omit will be changed by the version's default at each simulation. This is just a first guess and I'm assuming you have exactly the same data and configuration files in both machines. Good luck, João On Tue, 22 Sep 2020 at 23:30, CERVELLI GIULIA <giu...@po...> wrote: > Hei swan users. > I'm researching in wave energy area and I'm using SWAN > 40.72 versione on my personal computer and I'm using SWAN > 41.31 version on a cluster. I saw that the same simulation > give me different output, in particular, the 40.72 version > made more or less 10 iterations while 41.31 made 50 and it > stop itself due to this SWAN default. > Did someone have this problem? > how I must write the string to change the max number of > iteration? I'm trying follow the SWAN Manual without good > resoults. > > Thank you in advance. > > Best regards, > > Giulia > > > _______________________________________________ > swanmodel-users mailing list > swa...@li... > https://lists.sourceforge.net/lists/listinfo/swanmodel-users > -- João Claudio Albuquerque PhD. Candidate, School of Environment, The University of Auckland, Level 4, Room 449, Science Centre, 23 Symonds Street, Auckland, NZ. +64 021 02365705 |
From: CERVELLI G. <giu...@po...> - 2020-09-22 11:29:16
|
Hei swan users. I'm researching in wave energy area and I'm using SWAN 40.72 versione on my personal computer and I'm using SWAN 41.31 version on a cluster. I saw that the same simulation give me different output, in particular, the 40.72 version made more or less 10 iterations while 41.31 made 50 and it stop itself due to this SWAN default. Did someone have this problem? how I must write the string to change the max number of iteration? I'm trying follow the SWAN Manual without good resoults. Thank you in advance. Best regards, Giulia |
From: Javi R. <ja...@pr...> - 2020-09-12 06:22:18
|
Hi Jose Manuel It looks like your mesh file (fort.14) has some kind of format problems. According to the warning error you are getting, your vertices are not right. They must be ordered in counterclockwise mode. If you're running a computer using Windows, you can check your mesh node numbering with a free tool called BlueKenue. Regards, Javier -------- Missatge Original -------- A 11 set. 2020, 19.53, Jose Manuel Calderon va escriure: > Hello, cordial greetings from Colombia. > I am trying to run swan with mpi using an ADCIRC type mesh, but I have an error and I have not been able to solve it. > 1) run the line: > > adcprep --np 6 --partmesh > adcprep --np 6 --prepall > > mpirun -np 6 punswan > error appears: > > (unit = 4, file = './PE0002/PRINT') > Internal Error: Bad format node > > then I check the file, PRINT: > > READ UNSTRUCTURED > ** Warning : numbering of vertices is not sequential in grid file fort.14 > ** Warning : numbering of vertices is not sequential in grid file fort.14 > ** Warning : numbering of vertices is not sequential in grid file fort.14 > ** Warning : numbering of vertices is not sequential in grid file fort.14 \ > ... > > in fort.15, i have: > &subdomainModeling subdomainOn=F / > > when use: > &subdomainModeling subdomainOn=T / > i need the file fort.015, but i don't know to create it > > Thanks. > > -- > > +++ Jose Manuel Calderón > +++ Ingeniero Oceanográfico > +++ Teléfono: (+57) 3007805142 |
From: Jose M. C. <jos...@gm...> - 2020-09-11 17:54:03
|
Hello, cordial greetings from Colombia. I am trying to run swan with mpi using an ADCIRC type mesh, but I have an error and I have not been able to solve it. 1) run the line: adcprep --np 6 --partmesh adcprep --np 6 --prepall mpirun -np 6 punswan error appears: (unit = 4, file = './PE0002/PRINT') Internal Error: Bad format node then I check the file, PRINT: READ UNSTRUCTURED ** Warning : numbering of vertices is not sequential in grid file fort.14 ** Warning : numbering of vertices is not sequential in grid file fort.14 ** Warning : numbering of vertices is not sequential in grid file fort.14 ** Warning : numbering of vertices is not sequential in grid file fort.14 \ ... in fort.15, i have: &subdomainModeling subdomainOn=F / when use: &subdomainModeling subdomainOn=T / i need the file fort.015, but i don't know to create it Thanks. -- +++* Jose Manuel Calderón * +++* Ingeniero Oceanográfico * +++* Teléfono: (+57) 3007805142 * |
From: Marcel Z. - C. <M.Z...@tu...> - 2020-07-24 09:23:20
|
Dear Bax, this might happen as SF maintain their own servers. The website is accessible now. Kind regards, Marcel ________________________________ Van: Bax Bond <bw...@al...> Verzonden: vrijdag 24 juli 2020 01:10 Aan: swa...@li... Onderwerp: SWAN SourceForge Website own Hi SWAN maintainers, I am working on getting SWAN, however your website http://swanmodel.sourceforge.net/<https://urldefense.proofpoint.com/v2/url?u=http-3A__swanmodel.sourceforge.net_&d=DwMFaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=vtBcdISdq0EbdLk9Yghw5jJa_M5uEgXTA7tDDYbr3_4&m=5WwcpxcbycnaAP6Qlouq4g5lLAOWUhkDI1YhDEDNS8g&s=jZs0bpcpHXxBAEz8RSqGLqzdNEMgfpYHwYscQMdEgiw&e=> seems to be down. The website to download files is still running, but I would like to access your docs. Thanks, Bax Iraluq/Baxter Bond Research Professional, Adjunct Instructor Alaska Center for Energy and Power, Alaska Native Language Center University of Alaska, Fairbanks UA is an AA/EO employer and educational institution and prohibits illegal discrimination against any individual: www.alaska.edu/nondiscrimination<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.alaska.edu_nondiscrimination&d=DwMFaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=vtBcdISdq0EbdLk9Yghw5jJa_M5uEgXTA7tDDYbr3_4&m=5WwcpxcbycnaAP6Qlouq4g5lLAOWUhkDI1YhDEDNS8g&s=ykZnLGLkiy46mN737WmJHypunfjNWJLpCg8JuwcOoR4&e=> |
From: Almir N. De B. J. <alm...@tv...> - 2020-07-09 09:49:26
|
Dear all, I am trying to use punswan in Linux cluster. But I am having a strange situation. What is happening is that running the model in a cluster using 20 cpus and it is slower than running this application in my PC using 1 cpu. I am using the following lines in the SLURM script for calling the application: export OMP_NUM_THREADS=20 mpirun --np 20 swan.exe I am suspecting that I am running the application 20 times instead of one time in parallel (I don't know if this makes sense). I managed to enter the node and execute the top command and I can see that the 20 cpus are being used 100% and 20 instances of my program are running. Another thing I noticed is that although I have all the 20 PE subdirectories swan is not accessing them. For allocating the resources I use the following lines in the SLURM script: #SBATCH -N 1 #SBATCH --tasks-per-node=20 #SBATCH -n 20 I compiled punswan following the Implementation Manual instructions and everything ran apparently well generating the executable. Any of you have had a similar experience and could give a hint? Any advice is most welcome! Thanks! Almir Nunes Researcher in Coastal Processes TVRL/LTH<https://tvrl.lth.se> Lund University <https://tvrl.lth.se/englio>http://www.tvrl.lth.se/<http://www.tvrl.lth.se/english/><http://www.tvrl.lth.se/e> http://almirnunes.com Skype contact: almirnunes.al alm...@tv... alm...@gm... |
From: Kaihatu, J. M <jka...@ci...> - 2020-06-30 11:14:09
|
Hi – Does SWAN output the momentum fluxes in the surface layer? I’m guessing it doesn’t. I _think_ (I’m not really familiar) that the Janssen et al mechanism in SWAN uses the momentum fluxes in the surface caused by atmospheric forcing to inform the growth function, but that might be as far as it goes. Jim James M. Kaihatu, Ph.D. Professor and Associate Department Head for Research Zachry Department of Civil & Environmental Engineering Texas A&M University 3136 TAMU College Station, TX 77843-3136 979-862-3511 / 979-845-1353 http://ceprofs.civil.tamu.edu/jkaihatu |
From: Patryk S. <Pat...@im...> - 2020-06-17 19:50:41
|
Hey Has anyone had a problem with the GEN3 ST6 command recommendations? I tried on versions 41.31 and older and both don't work. Maybe I have some error in the code or I have to do something else? ERROR Error : Illegal keyword: ST6 Error : Data field skipped:4.7E-7 Error : Data field skipped:6.6E-6 Error : Data field skipped:4.0 Error : Data field skipped:4.0 Error : Illegal keyword: UP Error : Illegal keyword: HWANG Error : Illegal keyword: VECTAU Error : Illegal keyword: U10PROXY Error : Data field skipped:28.0 Error : Illegal keyword: AGROW Error : Illegal keyword: SSWELL Error : Illegal keyword: ARDHUIN Error : Data field skipped:1.2 Error : Illegal keyword: TURB Error : Illegal keyword: CURRENT SCRIPT $ $*************HEADING******************************** $ PROJ 'Siatka 160x120' '001' $ $*************SETTINGS******************************** $ SET NAUT MODE NONSTAT $ NUM STOPC 0.005 0.01 0.005 99.5 STAT 250 0.00 0.1 NUM STOPC 0.005 0.01 0.005 99.5 NONSTAT 10 0.1 COORD CART $COORD SPHE $ $*************MODEL INPUT***************************** $ CGRID REG 0.0 0.0 0.0 1293942.0 671993.0 159 119 CIRCLE 36 0.05 1.0 34 $ INPGRID BOTTOM REG 0.0 0.0 0.0 159 119 8138.0 5647.0 EXC -9. READINP BOTTOM -1. 'baty160120_07.bot' 4 0 FREE $ $*************WIND INPUT***************************** $ $ WIND 8.0 40.0 INPGRID WIND REG 0.0 0.0 0.0 159 119 8138.0 5647.0 NONSTAT 20181026.000000 3 HR 20181026.090000 $ INPGRID WIND REG 0.0 0.0 0.0 159 119 8138.0 5647.0 READINP WIND 1. SERIES 'lista.txt' 4 0 FREE $ $*************BOUNDARY CONDITIONS********************** $ BOUN SHAPE JON 3.3 PEAK DSPR DEGR $ BOU SIDE N CON PAR 3.30 11.0 278.0 $ INIT DEF $ INITial HOTS 'czysty.hot' SING FREE $*************PHYSICS ************************* $ GEN3 ST6 4.7E-7 6.6E-6 4.0 4.0 UP HWANG VECTAU U10PROXY 28.0 AGROW SSWELL ARDHUIN 1.2 WCAP KOM QUAD TURB CURRENT BREAKING CON 1.00 0.73 FRICTION JON 0.038 TRIADS SETUP DIFFRACTION $ $ $*************OUTPUT REQUESTS ************************* $ TABLE 'COMPGRID' NOHEAD 'Tab01.tab' XP YP HS DEP DIR TM01 TABLE 'COMPGRID' NOHEAD 'Tab02.tab' PDIR DSPR FSPR WLEN TM02 RTP TABLE 'COMPGRID' NOHEAD 'Tab03.tab' FOR TRA RTM01 RPER TABLE 'COMPGRID' NOHEAD 'Tab04.tab' HSWE HS DISS QB $ Pozycja AWAC, Zatoka Gdańska i okolice Mierzei Wiślanej (odbrzeże) $ AWAC [80] 610350=8138*(76-1) 186351=5647*(34-1) POIN 'Pawac' 610350. 186351. $ ZG [59] 675454=8138*(84-1) 112940=5647*(21-1) POIN 'PZG' 675454. 112940. $ MW [3] 724282=8138*(90-1) 124234=5647*(23-1) POIN 'PMW' 724282. 124234. TAB 'Pawac' HEAD 'Pawac.tab' TIME HS DIR DSPR TMM10 RTP HSWEll WLEN SPEC 'Pawac' SPEC1D ABS 'S1Pawac.bnd' SPEC 'Pawac' SPEC2D ABS 'S2Pawac.bnd' TAB 'PZG' HEAD 'PZG.tab' TIME HS DIR DSPR TMM10 RTP HSWEll WLEN SPEC 'PZG' SPEC1D ABS 'S1PZG.bnd' SPEC 'PZG' SPEC2D ABS 'S2PZG.bnd' TAB 'PMW' HEAD 'PMW.tab' TIME HS DIR DSPR TMM10 RTP HSWEll WLEN SPEC 'PMW' SPEC1D ABS 'S1PMW.bnd' SPEC 'PMW' SPEC2D ABS 'S2PMW.bnd' $ $*************END OF OUTPUT REQUESTS ************************* $ TEST 0,0 COMPUTE NONSTAT 20181026.000000 3.0 HR 20181026.030000 COMPUTE NONSTAT 20181026.030000 3.0 HR 20181026.060000 COMPUTE NONSTAT 20181026.060000 3.0 HR 20181026.090000 $ STOP $ Patryk Sapiega Zakład Badań Morskich w Gdyni T. (+48) 58 628 82 02 IMGW Gdynia: 81-342 Gdynia, J. Waszyngtona 42 IMGW-PIB | 01-673 Warszawa, Podleśna 61 www.imgw.pl | www.pogodynka.pl Twitter: @IMGWMeteo Znajdź nas: Facebook, Instagram, Linkedin Niniejsza wiadomość jest przeznaczona wyłącznie dla wskazanego w niej odbiorcy i może zawierać informacje poufne. Jeśli nie są Państwo adresatem tej informacji prosimy o niezwłoczne poinformowanie o tym fakcie nadawcy pocztą elektroniczną oraz niekopiowanie i nieprzekazywanie tej wiadomości osobom nieupoważnionym. Dziękujemy. Zanim wydrukujesz, pomyśl o środowisku! |
From: Rafael G. <raf...@ya...> - 2020-06-17 05:40:12
|
Hi Giulia, in case that is useful there is some function in wavespectra python library to read spectra from ERA5 format which does the conversion from radians into degrees. Once the spectra is read, it can be easily output in different file formats including SWAN ASCII format which could be directly used to run SWAN. Rafael On Tuesday, 16 June 2020, 09:57:40 pm NZST, CERVELLI GIULIA <giu...@po...> wrote: Hi SWAN community, I am a relatively new SWAN and wave modelling user, and i have a problem with the boundary condition. I study an area with double peaked wave so i want use as input ERA5 2D spectrum. The problem is that the unit of ERA5 2D spectrum is m^2s/rad and i need that it is in m^2/(Hz degree) for SWAN. is correct that i have to change the unit? how can do it? Best regards Giulia Cervelli _______________________________________________ swanmodel-users mailing list swa...@li... https://lists.sourceforge.net/lists/listinfo/swanmodel-users |
From: Xavi R. <ja...@pr...> - 2020-06-16 10:09:25
|
Hi Giulia, Yes you are right. Take a look at Appendix D of the user manual, there are some useful example files. Regards, Javi -------- Missatge Original -------- Actiu 16 juny 2020, 11.27, CERVELLI GIULIA va escriure: > Hi SWAN community, > I am a relatively new SWAN and wave modelling user, and i > have a problem with the boundary condition. I study an > area with double peaked wave so i want use as input ERA5 > 2D spectrum. The problem is that the unit of ERA5 2D > spectrum is m^2s/rad and i need that it is in m^2/(Hz > degree) for SWAN. > is correct that i have to change the unit? how can do it? > Best regards > Giulia Cervelli > > _______________________________________________ > swanmodel-users mailing list > swa...@li... > https://lists.sourceforge.net/lists/listinfo/swanmodel-users |
From: CERVELLI G. <giu...@po...> - 2020-06-16 09:54:55
|
Hi SWAN community, I am a relatively new SWAN and wave modelling user, and i have a problem with the boundary condition. I study an area with double peaked wave so i want use as input ERA5 2D spectrum. The problem is that the unit of ERA5 2D spectrum is m^2s/rad and i need that it is in m^2/(Hz degree) for SWAN. is correct that i have to change the unit? how can do it? Best regards Giulia Cervelli |
From: Osorio M. R. <ro...@ms...> - 2020-06-11 23:24:35
|
Hi SWAN community, I am a relatively new SWAN and wave modelling user, so my question could be a basic one. I am using the SWAN GUI in stationary mode to compute wave parameters in inland lakes with short fetches and weak winds. In the processes of validating the model, in general I am getting good results in Hs (in most of the cases), underestimated results for Tm (as common in SWAN) , and bad results for wave direction. I figured out that rotating the computational Grid improved my wave direction validation results. However, the same angle of rotation does not work for all cases. Hence, I have the following questions: 1. In what should I based the computational grid rotation ? (i.e. incoming mean wave direction) 2. Also if I rotate my computational grid, do I need to rotate my incoming wave and wind direction as well? I have seen in other studies that users generally rotate their grids with the x axis facing the shoreline, but in my case that doesn't apply since my study area is an enclosed pond. Any comments or suggestions are welcome. Thank you, Raul Osorio |
From: João A. <ja...@au...> - 2020-06-11 22:33:02
|
Hi Jin Liu, I ran SWAN with 20 years of spectral boundary data along 141 boundary points. Each boundary point file had approximately 1.6G. At first I thought that having only one set of boundary files was a good idea, however as it is very hard to get a flawless 20-year SWAN run depending on your output parameters (not to mention the long time it takes), having single large files (and less trouble setting up the .swn file) proved to be a bad idea. By breaking the 20-year simulation into 20 yearly simulations using the same boundary forcings, SWAN would spend hours of computational time just reading the boundaries and winds. Your files are not too bad in terms of size since they already have all the boundary points you are using. If your concern is writing the .swn files for all the runs, you can create a script to generate your SWAN files based on a template swn file. If you still intend to reduce the size of your files, an alternative would be to redefine your spectral data into a coarser spectrum, e.g., smaller number of directional bins and frequencies, as long as it has no effects in your application. Best, João On Thu, 11 Jun 2020 at 23:59, Clement Calvino <cle...@uc...> wrote: > Hi Jin Liu, > > I think I ran into a similar problem, I am using WW3 to generate boundary > conditions for my SWAN model and for some reasons that I forgot the > BOUNDNEST commands didn't work very well for me. > > What I'm doing now is that I print the output from WW3 at the positions of > the SWAN boundary. It can be spectral station output, or mean station > output, it depends on the shape of the incoming spectrum you are getting on > average, in my case I mostly deal with single peak wave conditions so the > mean parameters are enough, and take less space on the disk. > I then use the following code to rewrite the WW3 output for SWAN and force > SWAN with the BOUND (mean) or BOUNDSPEC (spectral) command. > > My code is written in Julia, but if you are using another language it > won't take you long to translate it into python or matlab. > > I hope it can help, let me know if it is not clear! > Clement > > On Thu, 11 Jun 2020 at 07:55, Jin Liu <jin...@gm...> wrote: > >> Dear SWAN users, >> >> I am using WW3 open boundary conditions for SWAN. After I wrote the >> monthly WW3 spectral with the SWAN format, use the following command: >> >> BOUNDNEST1 NEST 'ww3_201801.dat' CLOSED >> BOUNDNEST1 NEST 'ww3_201802.dat' CLOSED >> BOUNDNEST1 NEST 'ww3_201803.dat' CLOSED >> ... >> >> The problem is that every file is too big (about 900 MB), I may need to >> use the "BOUNDNEST1" for 41x12=492 times if I run the SWAN for 41 years. I >> was wondering how you set the long-term WW3 boundary conditions? Do you >> know any other alternative options? Many thanks. >> >> Kind regards, >> Jin Liu >> _______________________________________________ >> swanmodel-users mailing list >> swa...@li... >> https://lists.sourceforge.net/lists/listinfo/swanmodel-users >> > > > -- > Clement Calvino > PhD Student > School of Mathematics and Statistics > University College Dublin > _______________________________________________ > swanmodel-users mailing list > swa...@li... > https://lists.sourceforge.net/lists/listinfo/swanmodel-users > -- João Claudio Albuquerque PhD. Candidate, School of Environment, The University of Auckland, Level 4, Room 449, Science Centre, 23 Symonds Street, Auckland, NZ. +64 021 02365705 |
From: Clement C. <cle...@uc...> - 2020-06-11 11:58:50
|
Hi Jin Liu, I think I ran into a similar problem, I am using WW3 to generate boundary conditions for my SWAN model and for some reasons that I forgot the BOUNDNEST commands didn't work very well for me. What I'm doing now is that I print the output from WW3 at the positions of the SWAN boundary. It can be spectral station output, or mean station output, it depends on the shape of the incoming spectrum you are getting on average, in my case I mostly deal with single peak wave conditions so the mean parameters are enough, and take less space on the disk. I then use the following code to rewrite the WW3 output for SWAN and force SWAN with the BOUND (mean) or BOUNDSPEC (spectral) command. My code is written in Julia, but if you are using another language it won't take you long to translate it into python or matlab. I hope it can help, let me know if it is not clear! Clement On Thu, 11 Jun 2020 at 07:55, Jin Liu <jin...@gm...> wrote: > Dear SWAN users, > > I am using WW3 open boundary conditions for SWAN. After I wrote the > monthly WW3 spectral with the SWAN format, use the following command: > > BOUNDNEST1 NEST 'ww3_201801.dat' CLOSED > BOUNDNEST1 NEST 'ww3_201802.dat' CLOSED > BOUNDNEST1 NEST 'ww3_201803.dat' CLOSED > ... > > The problem is that every file is too big (about 900 MB), I may need to > use the "BOUNDNEST1" for 41x12=492 times if I run the SWAN for 41 years. I > was wondering how you set the long-term WW3 boundary conditions? Do you > know any other alternative options? Many thanks. > > Kind regards, > Jin Liu > _______________________________________________ > swanmodel-users mailing list > swa...@li... > https://lists.sourceforge.net/lists/listinfo/swanmodel-users > -- Clement Calvino PhD Student School of Mathematics and Statistics University College Dublin |