Commit d185a2ea authored by Migle Surblyte's avatar Migle Surblyte

Adds initial Kong file. This file will run the job and print the completion…

Adds initial Kong file. This file will run the job and print the completion status to a job log for later use.
parent de9d9ac1
#!/bin/bash
#$ -N LBM_initial
#$ -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