-
Notifications
You must be signed in to change notification settings - Fork 4
/
nanoplot_on_NCI.txt
24 lines (23 loc) · 1.04 KB
/
nanoplot_on_NCI.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
###install nanoplot
module load python3/3.5.2
module load python3/3.5.2-matplotlib
mkdir -p myapps/nanoplot/1.0.0
export PYTHONPATH=/home/106/ap5514/myapps/nanoplot/1.0.0/lib/python3.5/site-packages
mkdir -p $PYTHONPATH
export PATH=/home/106/ap5514/myapps/nanoplot/1.0.0/bin:$PATH
pip3 install --upgrade pip --prefix /home/106/ap5514/myapps/nanoplot/1.0.0 --ignore-installed
#pip3 install -v --no-binary :all: matplotlib --prefix /home/106/ap5514/myapps/nanoplot/1.0.0/ --ignore-installed
pip3 install nanoplot --prefix /home/106/ap5514/myapps/nanoplot/1.0.0
####check if it worked
NanoPlot -h
###make module file
#%Module1.0#####################################################################
source /opt/Modules/extensions/extensions.tcl
proc ModulesHelp { } {
puts stderr "\tAdds NanoPlot bin directory to the path"
}
module-whatis "nanoplot"
soft-prereq python3/3.5.2
set nanoplotversion 1.0.0
prepend-path PATH home/106/ap5514/myapps/nanoplot/1.0.0/bin
prepend-path PYTHONPATH /home/106/ap5514/myapps/nanoplot/1.0.0/lib/python3.5/site-packages