Commit cc552ff3 authored by Migle Surblyte's avatar Migle Surblyte

Adds finalize Kong file. This file will finish up the job and print the…

Adds finalize Kong file. This file will finish up the job and print the completion status to a job log for later use.
parent 536ba0d4
#!/bin/bash
#$ -N LBM_finalize
#$ -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