We use the 'module' engine to access available software packages.
module avail
module keyword keyword
module load moduleName
moduleName
modulemodule help moduleName
module purge
To install a tagged version of specific package that is not listed please submit HelpDesk ticket.
We provide the /opt/meties/el8/ucontrib
folder for personal installations.
To build a test version from the source, follow the steps below (replace ProjectFolder, UserName, PackageName, and ModuleName with actual names) :
mkdir -p /lstr/sahara/ProjectFolder/build
/opt/metis/el8/ucontrib/UserName/packageName
as an installation targetcd /lstr/sahara/ProjectFolder/build/PackageName
./configure --prefix=/opt/gaea/ucontrib/UserName/packageName [build options]
make all -j8; make install
mkdir -p /home/UserName/mymodulefiles; cd /home/UserName/mymodulefiles
touch packageName/moduleName
packageName/moduleName
packageName/moduleName
in a shell or in a batch script to run the installed executables:module use /home/UserName/mymodulefiles;
module purge; module load packageName/moduleName
We allow user-level installation of the python modules via pip3 and conda managers.
python3 -m pip install -U pip --user
pip3 install pkgName --user
python3 -m pip install -U pip --user
pip3 install git+git://github.com/xxxx/pkgName.git
Conda allows a more flexible way to manage personal python packages, which is also more complex.
To be used as an extension of pip3 functions when special python modules are required.
On Gaea, conda is primarily required to install TensorFlow packages.
conda create --name p39test python=3.9
conda info --env
conda activate p39test
conda install pytorch tensorflow
pip3 install --upgrade pip
pip3 install matplotlib
(p39test) python3 mycode.py
(p39test) conda deactivate
[@metis ~]$ pip3 install jupyter
[@metis ~]$ pip3 install urllib3==1.26.6
[@metis ~]$ jupyter notebook --no-browser --port=12345 --ip=0.0.0.0
metis ~]$ jupyter notebook --no-browser --port=12345 --ip=0.0.0.0 [I 23:26:55.768 NotebookApp] Serving notebooks from local directory: /home/username [I 23:26:55.768 NotebookApp] Jupyter Notebook 6.4.10 is running at: [I 23:26:55.768 NotebookApp] http://metis:12345/?token=f7586e3b06bddb86f130f762860dfc4af4ce70223a8b8e77 [I 23:26:55.769 NotebookApp] or http://127.0.0.1:12345/?token=f7586e3b06bddb86f130f762860dfc4af4ce70223a8b8e77 [I 23:26:55.769 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 23:26:55.790 NotebookApp] ......
[@myComputer ~]$ ssh -f username@metis.niu.edu -L 12345:metis.niu.edu:12345 -N