Mise à jour de Software Environment authored by Awa Sepou Ngailo's avatar Awa Sepou Ngailo
...@@ -7,24 +7,28 @@ The software environment is managed through [lmod](https://lmod.readthedocs.io/e ...@@ -7,24 +7,28 @@ The software environment is managed through [lmod](https://lmod.readthedocs.io/e
Note that `module avail` does not display all the potentially available modules, only those available with the currently loaded modules. Note that `module avail` does not display all the potentially available modules, only those available with the currently loaded modules.
For example, let say the module `hdf5` depends on the module `intel-gnu8-runtime`, it will only appear once `intel-gnu8-runtime` is loaded[^1]: For example, let say the module `fftw` depends on the module `intel-oneapi`, it will only appear once `intel-oneapi` is loaded[^1]:
``` ```
$ module purge $ module purge
$ module avail $ module avail
--------------------------------------------------- /opt/ohpc/pub/oca/modulefiles --------------------------------------------------- --------------------- /opt/ohpc/pub/oca/modulefiles -----------------------
cmake/3.18.0 intel-gnu8-runtime/19.0.5.281 ne/3.3.0 cmake/3.13.3 intel-oneapi/2023.1.0 ne/3.3.0
[...] [...]
``` ```
Here, We only see utility tool and the **intel-gnu8-runtime** module which provide the Intel based software environment. None the the libraries or tools based on that environment are shown until it's loaded: Here, We only see utility tool and the **intel-oneapi** module which provide the Intel based software environment. None the the libraries or tools based on that environment are shown until it's loaded:
``` ```
$ module load intel-gnu8-runtime $ module load intel-oneapi
$ module avail $ module avail
---------------------------------------------- /opt/ohpc/pub/oca/moduledeps/intel-gnu8 ---------------------------------------------- ------------------- /opt/ohpc/pub/oca/moduledeps/gcc ----------------------
boost/1.73.0 hdf5/1.12.0 impi/2019.5.281 intelpython3 cmake/3.26.2/gcc-12.2.0 git-lfs/3.3.0/gcc-12.2.0 openmpi/4.1.5/gcc-12.2.0
--------------------------------------------------- /opt/ohpc/pub/oca/modulefiles --------------------------------------------------- [...]
intel-gnu8-runtime/19.0.5.281 (L) --------------- /opt/ohpc/pub/oca/moduledeps/intel-oneapi -----------------
anaconda3/2022.10/oneapi-2023.1.0 fftw/3.3.10/oneapi-2023.1.0-mpi
[...]
-------------------- /opt/ohpc/pub/oca/modulefiles ------------------------
intel-oneapi/2023.1.0 (L)
[...] [...]
$ $
``` ```
...@@ -50,21 +54,19 @@ The supported python is the one provided with the Intel environment (**intel-gnu ...@@ -50,21 +54,19 @@ The supported python is the one provided with the Intel environment (**intel-gnu
``` ```
11:50:54 [alainm@castor ~]# module purge [asepoungailo@pollux ~]# module purge
11:51:01 [alainm@castor ~]# module load intel-gnu8-runtime [asepoungailo@pollux ~]# module load intel-oneapi
11:51:11 [alainm@castor ~]# module load intelpython3 [asepoungailo@pollux ~]# module load anaconda3/2022.10
11:51:14 [alainm@castor ~]# python [asepoungailo@pollux ~]# python
Python 3.6.9 |Intel Corporation| (default, Aug 18 2019, 19:47:51) Python 3.9.13 (main, Aug 25 2022, 23:26:10)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux [GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information. Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> import numpy as np >>> import numpy as np
>>> np.zeros(10) >>> np.zeros(10)
array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]) array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0.])
>>> ^D >>>
11:51:42 [alainm@castor ~]# [asepoungailo@pollux ~]#
``` ```
[^1]: most libraries depend on the **intel-gnu8-runtime**, since it;s one we use to build them. [^1]: most libraries depend on the **intel-oneapi**, since it;s one we use to build them.