How to develop on your own copy of ips-wrappers
Install the IPS
Skip this if you've already installed the IPS.
- Create an IPS directory and clone the IPS-framework, wrappers, and examples repos.
mkdir IPS
cd IPS
git clone https://github.com/HPC-SimTools/IPS-framework.git ips-framework
git clone https://github.com/ORNL-Fusion/ips-wrappers.git
git clone https://github.com/ORNL-Fusion/ips-examples.git
- Export the
IPS_DIR
environment variable
export IPS_DIR=${PWD}
- Add this to your
.bashrc
or otherwise so it's there next time you open a shell (Note: Adapt forcsh
or otherwise).
echo 'export IPS_DIR='${PWD} >> ~/.bashrc
Run the example
- Source the IPS environemnt
cd $IPS_DIR
source ips-wrappers/env.ips
- Run the ABC example
- Locally
cd ips-examples/ABC_example
ips.py --simulation=ABC_simulation.config --platform=platform.conf
- On a batch system (e.g., Edison at NERSC)
cd ips-examples/ABC_example
sbatch Edison_run
To clean all the run files and start with just the input deck run
./cleanIpsRun.sh