26 lines
449 B
Bash
Executable File
26 lines
449 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd /opt
|
|
source environment.sh
|
|
|
|
ln -s /usr/bin/python3 /usr/bin/python
|
|
|
|
# Install dependencies
|
|
# --------------------
|
|
|
|
apt install -y cmake python3 git make
|
|
|
|
|
|
git clone --depth=1 https://github.com/filippi-claudia/champ.git
|
|
cd champ
|
|
cmake -S. -Bbuild \
|
|
-DCMAKE_Fortran_COMPILER="mpiifort" \
|
|
-DENABLE_TREXIO=ON \
|
|
-DENABLE_QMCKL=ON
|
|
|
|
cmake --build build -j 8
|
|
|
|
rm -rf compile-* docs tests build lib
|
|
|
|
apt remove -y cmake git make
|