Skip to content
#!/bin/bash
if [ -z "$1" ]
then
echo "Please provide the targeted machine from:"
ls ../machines/
echo ""
echo "Example: ./prepare.sh jeanzay-gpu"
exit 1
fi
machine_dir="../machines/$1"
cp $machine_dir/env_bench .
cp $machine_dir/batch_medium.slurm .
ln -s ../DeepGalaxy-master/output_bw_512.hdf5 .
#!/bin/bash
sbatch batch_medium.slurm
#!/bin/bash
set -e
RESULT_DIR=results-DG-medium
mkdir -p $RESULT_DIR
cp dg.err dg.out $RESULT_DIR
grep "Epoch" -A1 dg.out > $RESULT_DIR/epochs.results
grep "Epoch 100/100" -A1 dg.out > $RESULT_DIR/last_epoch.results