-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv_setup.sh
executable file
·35 lines (32 loc) · 1.19 KB
/
env_setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# Andrew Cameron, 25/08/2021 (andrewcameron@swin.edu.au)
# CSH SCRIPT TO SET UP ENVIRONMENT FOR OPERATION OF MEERPIPE_DB - PYTHON3
# SHOULD PROVIDE IDENTICAL INSTRUCTIONS TO ENV_SETUP.CSH
module use /apps/users/pulsar/common/modulefiles
if [ ${SYS_ARCH} == "milan" ]; then
# Using new Ngarrgu Tindebeek (NT) cluster
module use /apps/users/pulsar/milan/gcc-11.3.0/modulefiles
elif [ ${SYS_ARCH} == "skylake" ]; then
# Using original ozstar cluster
module use /apps/users/pulsar/skylake/modulefiles
fi
module purge
# LOAD REQUIRED MODULES
module load psrhome/latest
if [ ${SYS_ARCH} == "milan" ]; then
# Using new Ngarrgu Tindebeek (NT) cluster
# module load psrdb/fdb4d06
# module load psrdb/3f70bad
module load scintools/ba68b84
module load pandas/1.4.2-scipy-bundle-2022.05
module load matplotlib/3.5.2
module load nextflow/23.04.1
elif [ ${SYS_ARCH} == "skylake" ]; then
# Using original ozstar cluster
module load psrchive/96b8d4477-python-3.6.4
module load psrdb/latest
module load pandas/0.22.0-python-3.6.4
module load matplotlib/2.2.2-python-3.6.4
module load scipy/1.3.0-python-3.6.4
module load astropy/3.1.2-python-3.6.4
fi