Commit 536ba0d4 authored by Migle Surblyte's avatar Migle Surblyte

Adds resume Kong file. This file will resume the job as needed and print the…

Adds resume Kong file. This file will resume the job as needed and print the completion status to a job log for later use.
parent d185a2ea
#!/bin/bash
#$ -N LBM_resume
#$ -q medium
#$ -M ms2286@njit.edu
#$ -m abe
#$ -cwd
#$ -pe ompi 32 # make, ompi, threaded, matlab, fluent_pe, mpich2
this_job_id=`qstat | sed -n '3p' | cut -c 1-7`
echo "JOBID: ${this_job_id}"
module load intel
#mpirun ./main.exe
date
time \
mpirun \
./lbm \
< input.txt \
&& date
echo "$(date '+%Y-%m-%d %H:%M:%S') Job number ${SGE_JOB_ID:-$this_job_id} completed, RC = $?" >>$HOME/my_job_log
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment