UMIACS Servers: Difference between revisions

From David's Wiki
Line 31: Line 31:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
module load Python3
module load Python3
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py --user
export PATH="${PATH}:$(python3 -c 'import site; print(site.USER_BASE)')/bin"
</syntaxhighlight>
</syntaxhighlight>

Revision as of 21:35, 26 December 2019

Notes on using UMIACS servers


Modules

Use modules to load programs you need to run.

Notes
  • You can load modules in your .bashrc file
# List loaded modules
module list

# Load a module
module load [my_module]

# List all available modules
module avail

Some useful modules in my .bashrc file

module load tmux
module load cuda/10.0.130
module load cudnn/v7.5.0

Python

Do not install anaconda. You will run out of space.
Load the Python 3 module

module load Python3
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py --user
export PATH="${PATH}:$(python3 -c 'import site; print(site.USER_BASE)')/bin"