If you ever wanted to use numpy with a recent version of Python on Baobab, it may seem at first that it’s not available since module spider numpy
returns only:
[...]
Versions:
numpy/1.8.2-Python-2.7.11
numpy/1.12.1-Python-3.5.2
numpy/1.13.1-Python-3.6.1
numpy/1.14.2-Python-2.7.11
In fact, numpy is provided by the SciPy module. The reason is to be found in the numpy install page:
To install NumPy, we strongly recommend using a scientific Python distribution . See Installing the SciPy Stack for details.
ml spider SciPy-bundle/2019.03
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SciPy-bundle: SciPy-bundle/2019.03
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Description:
Bundle of Python packages for scientific software
You will need to load all module(s) on any one of the lines below before the "SciPy-bundle/2019.03" module is available to load.
GCC/8.2.0-2.31.1 CUDA/10.1.105 OpenMPI/3.1.3
GCC/8.2.0-2.31.1 OpenMPI/3.1.3
Help:
Description
===========
Bundle of Python packages for scientific software
More information
================
- Homepage: http://python.org/
Compatible modules
==================
This module is compatible with the following modules, one of each line is required:
* Python/3.7.2 (default), Python/2.7.15
Included extensions
===================
mpi4py-3.0.1, mpmath-1.1.0, numpy-1.16.2, pandas-0.24.2, scipy-1.2.1
You can then load SciPy (and numpy) like this:
ml GCC/8.2.0-2.31.1 OpenMPI/3.1.3 Python/3.7.2 SciPy-bundle/2019.03
Best