#!/bin/bash

HYDRA_DIR="/opt/hydra"
HYDRA="${HYDRA_DIR}/bin/hydra"
MPIPROG="mpiexec"
mkdir output
${MPIPROG} -n  {{ number_of_slots }} ${HYDRA} -i input/{{mesh.name}} -c input/hydra.cntl -p output/results.exo -o output/log.txt -g output/stat.txt
rm -rf -rf input/{{mesh.name}}
#!/bin/bash

###
#$ -S /bin/bash
#$ -pe orte {{ number_of_slots }}
###

HYDRA_DIR="/opt/hydra"
HYDRA="${HYDRA_DIR}/bin/hydra"
MPIPROG="mpiexec"
mkdir output
${MPIPROG} -n  {{ number_of_slots }} ${HYDRA} -i input/{{mesh.name}} -c input/hydra.cntl -p output/results.exo -o output/log.txt -g output/stat.txt
rm -rf -rf input/{{mesh.name}}
Add parallel environment comment to Hydra script
Add parallel environment comment to Hydra script
