This IPS has 3 components:
- Python IMAS init - creates an initial IMAS file
- Fortran IMAS component - does
get_slice
, modifies it and puts it back as a new sliceput_slice
. - Python display script - load the IMAS file and display it's contents
It runs a time loop from 1 to 10.
This assumes you have cloned the repos already, since they will just be copied in
git clone ssh://git@git.iter.org/imas/access-layer.git
git clone ssh://git@git.iter.org/imas/data-dictionary.git
To build docker image
docker build . --tag imas
docker run imas
First install IPS
module load anaconda3/2021.5
python -m pip install ipsframework
Build IMAS Fortran component, can use either gfortran or ifort
cd IPS
./build-stellar.sh
Submit batch script
sbatch batch-stellar-intel.sh
The script imas_cori_build
will download, build and install IMAS to
$HOME/IMAS
. It only builds the python, gfortran and ifort APIs and
only for the HDF5 backend.
First install IPS
module load python
python -m pip install ipsframework
Build IMAS Fortran component, can be either gfortran or ifort
cd IPS
./build-cori.sh
Submit batch script
sbatch batch-cori.sh