-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
92 lines (69 loc) · 1.88 KB
/
install.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
source /opt/lsst/software/stack/loadLSST.bash
eups distrib install -t d_2020_02_17 lsst_distrib
setup lsst_distrib -t d_2020_02_17
cd $HOME/repos
### NetCDF
wget -L https://github.com/Unidata/netcdf-c/archive/v4.6.1.tar.gz
gzip -d v4.6.1.tar.gz
tar -xf v4.6.1.tar
cd netcdf-c-4.6.1
./configure --prefix=$HOME/repos/BUILD_DIR/NETCDF --disable-netcdf-4
make
make install
cd ..
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/repos/BUILD_DIR/NETCDF/lib/
wget -L http://www.libradtran.org/download/history/libRadtran-2.0.2.tar.gz
gzip -d libRadtran-2.0.2.tar.gz
tar -xf libRadtran-2.0.2.tar
cd libRadtran-2.0.2
export LIBS="-lgslcblas -lgsl"
export LDFLAGS=-L$GSL_DIR/lib
export CPPFLAGS=-I$GSL_DIR/include
./configure --prefix=$HOME/repos/BUILD_DIR/LIBRADTRAN --with-libnetcdf=$HOME/repos/BUILD_DIR/NETCDF
sed -i "s/PYTHON.*/PYTHON = \/usr\/bin\/python2.7/" Makeconf
make uvspec
cd ..
export LIBRADTRANDIR=$HOME/repos/libRadtran-2.0.2/
export LIBRADTRAN_DIR=$HOME/repos/libRadtran-2.0.2/
cd $HOME/repos
git clone https://github.com/lsst/astro_metadata_translator.git
cd astro_metadata_translator
setup -j -r .
scons
cd $HOME/repos
git clone https://github.com/lsst-sitcom/rapid_analysis.git
cd rapid_analysis
setup -j -r .
scons
git checkout tickets/DM-21412
cd $HOME/repos
git clone https://github.com/lsst-dm/atmospec.git
cd atmospec
setup -j -r .
scons
git checkout tickets/DM-20823
cd $HOME/repos
git clone https://github.com/lsst-dm/Spectractor.git
cd Spectractor
git checkout tickets/DM-23284
pip install -r requirements.txt
pip install -e .
cd $HOME/repos
git clone https://github.com/lsst/obs_base.git
cd obs_base
setup -j -r .
scons
cd $HOME/repos
git clone https://github.com/lsst/obs_lsst.git
cd obs_lsst
git checkout u/mfl/feb2020_observing
setup -j -r .
scons
cd $HOME/repos
git clone https://github.com/lsst/cp_pipe.git
cd cp_pipe
setup -j -r .
scons
cd $HOME/repos
cd summit
python mySetup.py