Sign inSign up

dtgeo/fall3d_alpine_linux

By dtgeo

Updated almost 2 years ago

Fall3D software mounted in alpine Linux

Image
0

205

dtgeo/fall3d_alpine_linux repository overview

Running the container

Dependencies

To run Fall3D is required

  • Docker

Ubuntu or Linux AMD64

  • Download the image from Docker Hub
docker pull dtgeo/fall3d_alpine_linux:version_v1
Run Image

To run the image

docker run --rm --name fall3d -it dtgeo/fall3d_alpine_linux:version_v1 
Run fall3D Example
cd fall3d/Example

Serial mode:

./Fall3d.r8.x All Example.inp

Parallel Mode:

Note: Adapt this command depending on your available resources. The 8 processors is the result from 4x2x1

mpirun -n 8 --allow-run-as-root ./Fall3d.r8.x All Example.inp 4 2 1

Run Fall3D with docker volumes

Create the volume:

docker volume create fall3d_files

Inside this new volume you have to include these files:

ls /var/lib/docker/volumes/fall3d_files/_data

Output:

Example-8.0.wrf.nc  Example.inp  Example.pts  Example.tgsd

Open Example.inp file and insert the complete path of the Example-8.0.wrf.nc file:

METEO_DATA_FORMAT          = WRF
   METEO_DATA_DICTIONARY_FILE =
   METEO_DATA_FILE            = /home/fall3d/Example/Example-8.0.wrf.nc
   METEO_ENSEMBLE_BASEPATH    = ./
   METEO_LEVELS_FILE          = ../Other/Meteo/Tables/L137_ECMWF.levels

Save and close file

Execute the container with the volume

Serial:

docker run --rm -it --name fall3d-test -v fall3d_files:/home/fall3d/Example dtgeo/fall3d_alpine_linux:version_v1 /home/fall3d/bin/Fall3d.r8.x All /home/fall3d/Example/Example.inp

Parallel:

docker run --rm -it --name fall3d-test -v fall3d_files:/home/fall3d/Example dtgeo/fall3d_alpine_linux:version_v1 mpirun -n 8 --allow-run-as-root /home/fall3d/bin/Fall3d.r8.x All /home/fall3d/Example/Example.inp 4 2 1

Tag summary

Content type

Image

Digest

sha256:c7660b31b

Size

284.1 MB

Last updated

almost 2 years ago

docker pull dtgeo/fall3d_alpine_linux:v9.0