#!/bin/bash

mpirun -np 8 lmp_png -in Inputscript_${n_cyanos}_${n_ecw}_${SucPct}.lammps > Inputscript_${n_cyanos}_${n_ecw}_${SucPct}.log
cd Run_${n_cyanos}_${n_ecw}_${SucPct}_${Reps}
tar -zcf VTK.tar.gz *.vtr *.vtu *.vti
python3 ../../nufeb-tools/Datafedcreate.py --id ${id} --n VTK --m ../run_${n_cyanos}_${n_ecw}_${SucPct}.pkl --f ./VTK.tar.gz
python3 ../../nufeb-tools/Datafedcreate.py --id ${id} --n Avg_con --m ../run_${n_cyanos}_${n_ecw}_${SucPct}.pkl --f ./Results/avg_concentration.csv
python3 ../../nufeb-tools/Datafedcreate.py --id ${id} --n Biomass --m ../run_${n_cyanos}_${n_ecw}_${SucPct}.pkl --f ./Results/biomass.csv
python3 ../../nufeb-tools/Datafedcreate.py --id ${id} --n Ntypes --m ../run_${n_cyanos}_${n_ecw}_${SucPct}.pkl --f ./Results/ntypes.csv
python3 ../../nufeb-tools/Datafedcreate.py --id ${id} --n Trajectory --m ../run_${n_cyanos}_${n_ecw}_${SucPct}.pkl --f ./trajectory.h5
python3 ../../nufeb-tools/Datafedcreate.py --id ${id} --n Log --m ../run_${n_cyanos}_${n_ecw}_${SucPct}.pkl --f ../Inputscript_${n_cyanos}_${n_ecw}_${SucPct}.log
cd ..
