Building, deploying and running scientific software relies upon different categories of applications:
Each category is compatible with a specific range of versions of the other ones. On a personal computer, it is relatively easy to provide sufficiently recent applications and tools. However, on production clusters, a significant part of the environment may be outdated.
Here, we describe how to install the necessary software in each of the above categories.
A lot of scientific software is written in Fortran, while many operating systems do not have Fortran support by default or provide outdated versions of the corresponding compilers. This is why it is essential to check that a suitable compiler and version is installed on your system, then install one yourself if not.
The reference set of compilers is GCC, the GNU Compiler Collection. When accessing a new computer for the first time, the very first thing to do is to check which version of GCC is installed, by typing the following:
gcc --version g++ --version gfortran --version
If GCC is correctly installed, the 3 commands should return the same version number. If one of them is missing, the best is to install a recent version of GCC yourself.
For scientific software, the criteria to choose a version of GCC is:
Here are a few pointers to facilitate your choices:
To install GCC, follow the instructions provided on the GCC installation page.
The use of Python has greatly spread and expanded among the scientific community over the last decade. In particular, it has now become a requirement for many testing and post-processing tools.