Skip to content

Instantly share code, notes, and snippets.

@jw3126 jw3126/install.sh
Created Nov 12, 2018

Embed
What would you like to do?
Install EGSnrc
#!/bin/bash
###### tweakable parameters
EGS_SRC=$HOME/EGSnrc
CONFIG=linux.conf
COMPILE_USER_CODES=1
###### script implemention
export HEN_HOUSE=$EGS_SRC/HEN_HOUSE
export EGS_CONFIG=$HEN_HOUSE/specs/linux.conf
sudo apt install --yes gfortran gcc g++ expect git
git clone https://github.com/nrc-cnrc/EGSnrc $EGS_SRC
cd $EGS_SRC
HEN_HOUSE/scripts/configure.expect $CONFIG $COMPILE_USER_CODES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.