Skip to content

Commit 51da51d

Browse files
committed
Add installer for development software
1 parent 649d6f3 commit 51da51d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

physics/install_dev.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env bash
2+
set -eu
3+
4+
if [ "${EUID}" -ne 0 ]; then
5+
echo "This script should be run as root."
6+
exit 1
7+
fi
8+
9+
apt update
10+
# Boost is required for AdaptiveCPP
11+
# https://github.com/AdaptiveCpp/AdaptiveCpp
12+
# These seem to be also required for its cmake compilation: libedit-dev, libclang-rt-dev
13+
# libedit-dev seems to be required for cmake compilation of AdaptiveCPP
14+
apt install build-essential clang cmake hdf5-tools hipcc \
15+
libboost-dev libboost-context-dev libboost-fiber-dev libboost-test-dev \
16+
libedit-dev libgomp1 libhdf5-mpi-dev libomp-dev lld mpi-default-dev ninja-build pkg-config
17+
18+
snap install clion --classic
19+
snap install rustrover --classic

0 commit comments

Comments
 (0)