Add hmc model sampler and fix initial As set to zero

This commit is contained in:
Deaglan Bartlett 2024-08-15 17:47:43 +02:00
parent e55eee4b17
commit 7348a826ff
20 changed files with 430 additions and 211 deletions

29
scripts/build_borg.sh Executable file
View file

@ -0,0 +1,29 @@
#!/bin/sh
# Modules
module purge
module restore myborg
module load cuda/12.3
# Environment
source /home/bartlett/.bashrc
source /home/bartlett/anaconda3/etc/profile.d/conda.sh
conda deactivate
conda activate borg_env
# Kill job if there are any errors
set -e
# Path variables
BORG_DIR=/home/bartlett/borg
BUILD_DIR=/data101/bartlett/build_borg/
cd $BORG_DIR
# git pull
# rm -rf $BUILD_DIR
bash build.sh --c-compiler $(which x86_64-conda_cos6-linux-gnu-gcc) --cxx-compiler $(which x86_64-conda_cos6-linux-gnu-g++) --python --hades-python --build-dir $BUILD_DIR
cd $BUILD_DIR
make -j
exit 0