User Tools

Site Tools


guide:python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
guide:python [2022/06/13 09:24]
wikiadmin
guide:python [2022/06/13 11:58] (current)
wikiadmin
Line 4: Line 4:
 Use this command to get a full list: Use this command to get a full list:
     module avail chpc/python     module avail chpc/python
 +
 +Note that the modules including anaconda are more recent and thus recommended over the plain Python modules, i.e., use one of:
 +
 +  chpc/python/anaconda/3-2019.10
 +  chpc/python/anaconda/3-2020.02
 +  chpc/python/anaconda/3-2020.11
 +  chpc/python/anaconda/3-2021.05
 +  chpc/python/anaconda/3-2021.11
 +
 +>  To check the version of Python provided by each, load the module (after purging any already loaded modules) and then run ''python --version'' For example (screen capture --- don't type in the ''login1:~$'', that's the shell prompt):
 +
 +  login1:~$ module purge
 +  login1:~$ module load chpc/python/anaconda/3-2019.10
 +  login1:~$ python3 --version
 +  Python 3.7.4
 +  login1:~$ module purge
 +  login1:~$ module load chpc/python/anaconda/3-2021.11
 +  login1:~$ python3 --version
 +  Python 3.9.7
 +  login1:~$ 
 +
 +
  
 All python modules should have mpi4py, numpy and scipy installed; however if matplotlib is required, please use anaconda (which also has the biggest range of 3rd-party python modules). The module ''chpc/python/3.5.2_gcc-6.2.0'' also has a working matplotlib installation. All python modules should have mpi4py, numpy and scipy installed; however if matplotlib is required, please use anaconda (which also has the biggest range of 3rd-party python modules). The module ''chpc/python/3.5.2_gcc-6.2.0'' also has a working matplotlib installation.
/app/dokuwiki/data/attic/guide/python.1655105097.txt.gz · Last modified: 2022/06/13 09:24 by wikiadmin