code_saturne command not found

In this troubleshooting guide we learn how to fix code_saturne command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

code_saturne: command not found

or when using sudo you get the following error message

sudo: code_saturne: command not found

Solutions to code_saturne: command not found

How To Fix code_saturne: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu code_saturne is provided by code-saturne-bin package.

code-saturne-bin is:

The basic capabilities of Code_Saturne enable the handling of either incompressible or expandable flows with or without heat transfer and turbulence. Dedicated modules are available for specific physics such as radiative heat transfer, combustion (gas, coal, heavy fuel oil, …), magneto-hydrodynamics, compressible flows, two-phase flows (Euler-Lagrange approach with two-way coupling), extensions to specific applications (e.g. Mercure_Saturne for atmospheric environment).

It runs in parallel with MPI on distributed memory machines. Developed since 1997 at EDF R&D, it is based on a co-located Finite Volume approach that accepts meshes with any type of cell (tetrahedral, hexahedral, prismatic, pyramidal, polyhedral…) and any type of grid structure (unstructured, block structured, hybrid, conforming or with hanging nodes, …).

This package contains the binary files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install code-saturne-bin

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install code-saturne-bin.

sudo apt -y install code-saturne-bin

Or if you have aptitude installed you can use the following command.

sudo aptitude install code-saturne-bin

Summary

In this tutorial we learn how to fix code_saturne command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.