Quick reference
-
The official SWAN docker image.
-
Maintained by: openEuler CloudNative SIG.
-
Where to get help: openEuler CloudNative SIG, openEuler.
SWAN | openEuler
Current SWAN docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
SWAN is a third-generation wave model, developed at Delft University of Technology, that computes random, short-crested wind-generated waves in coastal regions and inland waters.
Learn more on SWAN.
Supported tags and respective Dockerfile links
The tag of each SWAN docker image is consist of the version of SWAN and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 41.51-oe2403sp2 | swan 41.51 on openEuler 24.03-LTS-SP2 | amd64, arm64 |
| 41.51-oe2403lts | SWAN 41.51 on openEuler 24.03-LTS | amd64, arm64 |
Usage
Here, users can select the corresponding {Tag} by their requirements.
-
Pull the
openeuler/swanimage from dockerdocker pull openeuler/swan:{Tag} -
Start a SWAN instance
docker run -it --rm openeuler/swan:{Tag}From here, users can run their tasks.
-
Run Test Cases
- Download test cases
mkdir swan-testcse cd swan-testcse wget http://swanmodel.sourceforge.net/download/zip/refrac.tar.gz --no-check-certif icate tar -zxvf refrac.tar.gz- Run a test case
cd refrac ln -s $workdir/swan.exe ./ cp a11refr.swn INPUT mpirun -np 8 ./swan.exeIt finishes successfully as follows:
SWAN is preparing computation iteration 1; sweep 1 +iteration 1; sweep 2 +iteration 1; sweep 3 +iteration 1; sweep 4 not possible to compute, first iteration iteration 2; sweep 1 +iteration 2; sweep 2 +iteration 2; sweep 3 +iteration 2; sweep 4 accuracy OK in 100.00 % of wet grid points ( 99.50 % required) +SWAN is processing output request 1 +SWAN is processing output request 2 +SWAN is processing output request 3 +SWAN is processing output request 4
Question and answering
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.