Dolfin on Podman

Since Docker is not useful on Fedora 32 anymore, I decided to install podman in order to use the dolphin (previously called fenics) to run some solutions of PDEs.

Install podman on Fedora 32. If you want further information of podman, click here.

sudo dnf install -y podman

You might check that you are running podman by executing the ps command. This process might take a while. It is a new environment that use Fedora 32 resources.

[yulytas@fedora ~]$ podman ps -s
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE
[yulytas@fedora ~]$

Now, we are going to create a folder where all the dolfin work will be stored in our laptop:

sudo mkdir ~/dolfin

From the file recently created, we can access interactively to the container register in quay.io/fenicsproject/stable:current. This will happen by using the port 8000 and mounting the work space /home/fenics/shared into my local folder ~/dolfin, as follows:

cd ~/dolfin && podman run -ti -p 8000:8000 -v ~/dolfin:/home/fenics/shared -w /home/fenics/shared quay.io/fenicsproject/stable:current

repofenics

*** If everything goes well, you will see the following message displayed ***

# FEniCS stable version image

Welcome to FEniCS/stable!

This image provides a full-featured and optimized build of the stable
release of FEniCS.

To help you get started this image contains a number of demo
programs. Explore the demos by entering the 'demo' directory, for
example:

cd ~/demo/python/documented/poisson
python3 demo_poisson.py

What I am going to do from now on is, calculate the PDEs using dolfin (fenics), and then copy the results to /home/fenics/shared which is linked automatically to my local /dolfin.

Thanks to Dan for the explanation about containers.

About Julita Inca

Ingeniero de Sistemas UNAC, Magíster en Ciencias de la Computación PUCP, Magíster en Computación de Alto Rendimiento de la Universidad de Edimburgo, OPW GNOME 2011, Miembro de la GNOME Foundation desde el 2012, Embajadora Fedora Perú desde el 2012, ganadora del scholarship of the Linux Foundation 2012, experiencia como Admin Linux en GMD y Especialista IT en IBM, con certificaciones RHCE, RHCSA, AIX 6.1, AIX 7 Administrator e ITILv3. Experiencia académica en universidades como PUCP, USIL y UNI. Leader of LinuXatUNI Community, HPC Software Specialist at UKAEA, and reviewer of the Technological Magazine of ESPOL-RTE, and volunteering Linux training for MINSA Peru... a simple mortal, just like you!
This entry was posted in τεχνολογια :: Technology and tagged , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s