Skip to content

Instantly share code, notes, and snippets.

@mwoodbri
Last active August 6, 2020 13:00
Show Gist options
  • Save mwoodbri/2cd825c4f3bbf15d44cdbcebca6bb571 to your computer and use it in GitHub Desktop.
Save mwoodbri/2cd825c4f3bbf15d44cdbcebca6bb571 to your computer and use it in GitHub Desktop.
#!/bin/bash
#PBS -l walltime=03:00:00,select=1:ncpus=32:mem=62g
source ~/anaconda3/etc/profile.d/conda.sh
# conda create --yes --name covid-sim cmake python=3 r-sp
conda activate covid-sim
git clone --branch v0.14.0 --depth 1 https://github.com/mrc-ide/covid-sim.git
cd covid-sim/data
# https://github.com/mrc-ide/covid-sim/issues/378
export CXXFLAGS="-D__STDC_FORMAT_MACROS"
./run_sample.py United_Kingdom
Rscript ../Rscripts/PlotRuns.R
Rscript ../Rscripts/CompareRuns.R
rsync -a . $EPHEMERAL/${PBS_JOBNAME}.${PBS_JOBID%.pbs}/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment