Skip to content
Snippets Groups Projects
Commit 1715d91e authored by Kerstin Kaspar's avatar Kerstin Kaspar
Browse files

msub

parent 3cf1f935
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
timestamp=$(date +"%Y-%m-%d-%H-%M")
tmp_file=temp/${timestamp}_$1
echo "$timestamp Submitting $1 to msub with temporary file $tmp_file"
sed "s/TIMESTAMP/$timestamp/" $1 > $tmp_file
msub $tmp_file
#!/bin/bash
#MSUB -S /bin/bash
#MSUB -o msub/log/TIMESTAMP_train_test_unet.$PBS_JOBID
#MSUB -j oe
#MSUB -N train_test_unet
#MSUB -q gpu
#MSUB -l nodes=1:ppn=1:gpus=1
#MSUB -l walltime=01:00:00:00
#MSUB -d /home/kaspar01/projects/unet
echo "date: $(date +"%Y-%m-%d %T")"
echo "job: $PBS_JOBID"
echo "workdir: $PBS_O_WORKDIR"
. ~/anaconda3/yes/etc/profile.d/conda.sh
conda activate dival
python train_test.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment