Sign inSign up

openeuler/swan

Sponsored OSS

By openeuler

•Updated 3 months ago

Image
0

9.5K

openeuler/swan repository overview

⁠Quick reference

⁠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⁠.

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

TagCurrentlyArchitectures
41.51-oe2403sp4⁠swan 41.51 on openEuler 24.03-LTS-SP4amd64, arm64
41.51-oe2403sp2⁠swan 41.51 on openEuler 24.03-LTS-SP2amd64, arm64
41.51-oe2403lts⁠SWAN 41.51 on openEuler 24.03-LTSamd64, arm64

⁠Usage

Here, users can select the corresponding {Tag} by their requirements.

  • Pull the openeuler/swan image from docker

    docker 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

    1. 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
    
    1. Run a test case
    cd refrac
    ln -s $workdir/swan.exe ./
    cp a11refr.swn INPUT
    mpirun -np 8 ./swan.exe
    

    It 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⁠.

Tag summary

Content type

Image

Digest

sha256:7829b7eae…

Size

390.7 MB

Last updated

3 months ago

docker pull openeuler/swan

This week's pulls

Pulls:

105

Last week