-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup_om.sh
executable file
·18 lines (15 loc) · 972 Bytes
/
setup_om.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# setup_om.sh: set up script | Author: Catherine Wong.
# Setup script for MIT BCS's OpenMind computing cluster. Should be run upon cloning the directory.
# Download LAPS-DreamCoder submodule dependency, which needs to be unpacked into laps/dreamcoder
git submodule update --init --recursive
# Download the singularity container (currently owned by Catherine Wong: [email protected]).
mkdir containers
cp /om2/user/zyzzyva/containers/laps-dev-container.img ../containers/laps-dev-container.img
# Install the NLTK word tokenize package.
python -m nltk.downloader 'punkt'
# Remake the binaries for Linux. This requires using an alternate geomLib/logoLib.
rm -rf ocaml/solvers/geomLib
rm -rf ocaml/solvers/logoLib
mv ocaml/linux_solvers/geomLib_linux ocaml/solvers/geomLib
mv ocaml/linux_solvers/logoLib_linux ocaml/solvers/logoLib
cd ocaml && ../../containers/laps-dev-container.img make compression_rescoring_api && ../../containers/laps-dev-container.img make compression