Commit e570b2e3 authored by Femi Kadri's avatar Femi Kadri

modify files

parent 7226f1f8
......@@ -53,6 +53,10 @@ sbatch schooner_initial_LBM.sh #replace "initial" with resume or finalize for re
lsf_chain1.tcsh for jobs on stampede.Some modification is being currently being made to combine both into a single chain script************
nohup /scratch/kasperone1/lbm/lbm2/lbm_1/lsf_chain.tcsh schooner 6 >& lsf_chain_output.txt & #cluster name is schooner in this example
OR better still use environment variables.In this case however,you need to run the nohup command in the directory containing the chain script
and all the other program files.In this case,run as:
nohup $PWD'/lsf_chain.tcsh' schooner 6 >& lsf_chain_output.txt & #cluster name is schooner OR
nohup $(pwd)'/lsf_chain.tcsh' stampede 6 >& lsf_chain_output.txt &
#Remember to replace "/scratch/kasperone1/lbm/lbm2/lbm_1/lbm.git" with your full path of directory containing your chain script "lsf_chain.tcsh".
#6 here is the number of jobs being sent to the cluster.Replace it with the number of jobs you wish to run.Depending on the type
......
......@@ -34,7 +34,8 @@ dos2unix *
dos2unix lsf*
chmod 755 lsf* *cmd
module load intel/2016a #this line is only need when running the job on schooner.Not needed if running on stampede.
#module load mpi/openmpi/1.10.1/pgi #if using a pgi compiler.the batch script also has to be modified to reflect this change
#module load mpi/openmpi/1.10.1/pgi #if using a pgi compiler.the batch script also has to be modified to reflect this change.
#Also if using a pgi compiler,the line **setenv MPI_COMPILER "intel"** has to be replaced with **setenv MPI_COMPILER "pgi"**
mpicc -c timer.c
./make_cmd schooner #compiles the code
......
......@@ -22,6 +22,8 @@
# Secondly,use full path of chain script "lsf_chain.tcsh".E.g./scratch/kasperone1/lbm/lbm2/lbm_1/lsf_chain.tcsh
# Then run as follows replacing "/scratch/kasperone1/lbm/lbm2/lbm_1" with your full path of directory containing your chain script:
# nohup /scratch/kasperone1/lbm/lbm2/lbm_1/lsf_chain.tcsh schooner 6 >& lsf_chain_output.txt &
# nohup $PWD'/lsf_chain.tcsh' schooner 6 >& lsf_chain_output.txt & #cluster name is schooner OR
# nohup $(pwd)'/lsf_chain.tcsh' stampede 6 >& lsf_chain_output.txt &
# The first aliasing is not needed if running job in a bash shell.
# nohup lsf_chain.tcsh ... >&! lsf_chain_whatever_output.txt &
# nohup lsf_chain.tcsh sooner 500 >&! lsf_chain_whatever_output.txt &
......@@ -71,7 +73,7 @@ if (${debug} == 1 ) echo 'maximum_number_of_jobs = '${maximum_number_of_jobs} #s
setenv current_dir_path `pwd` # Notice that we're using the back quote
#USER INPUT: SET THE AMOUNT OF SECONDS THIS SCRIPT WILL WAIT BEFORE CHECKING IF THE CURRENT RUNNING JOB HAS COMPLETED
set job_pause_duration_in_seconds = 30
set job_pause_duration_in_seconds = 300
if (${debug} == 1 ) echo 'DEBUG: ABOUT TO COPY SOME FILES'
# Save a copy of the input file, for backup(remove any old copies of ${input_filename}_orig.txt).
......
......@@ -71,7 +71,7 @@ if (${debug} == 1 ) echo 'maximum_number_of_jobs = '${maximum_number_of_jobs} #s
setenv current_dir_path `pwd` # Notice that we're using the back quote
#USER INPUT: SET THE AMOUNT OF SECONDS THIS SCRIPT WILL WAIT BEFORE CHECKING IF THE CURRENT RUNNING JOB HAS COMPLETED
set job_pause_duration_in_seconds = 30
set job_pause_duration_in_seconds = 300
if (${debug} == 1 ) echo 'DEBUG: ABOUT TO COPY SOME FILES'
# Save a copy of the input file, for backup(remove any old copies of ${input_filename}_orig.txt).
......
......@@ -25,6 +25,10 @@
# Then run as follows replacing "/scratch/kasperone1/lbm/lbm2/lbm_1/lbm.git" with your full path of directory containing your chain script:
# nohup /work/02948/kasperon/lbm_chainrun/lsf_chain1.tcsh stampede 6 >& lsf_chain_output.txt &
##### nohup /scratch/kasperone1/lbm/lbm2/lbm_1/lsf_chain1.tcsh schooner 6 >& lsf_chain_output.txt &
# OR better still use environment variables.In this case however,you need to run the nohup command in the directory containing the chain script
# and all the other program files.In this case,run as:
# nohup $PWD'/lsf_chain.tcsh' schooner 6 >& lsf_chain_output.txt & #cluster name is schooner OR
# nohup $(pwd)'/lsf_chain.tcsh' stampede 6 >& lsf_chain_output.txt &
# The first aliasing is not needed if running job in a bash shell.
# nohup lsf_chain.tcsh ... >&! lsf_chain_whatever_output.txt &
# nohup lsf_chain.tcsh sooner 500 >&! lsf_chain_whatever_output.txt &
......
......@@ -73,7 +73,7 @@ if (${debug} == 1 ) echo 'maximum_number_of_jobs = '${maximum_number_of_jobs} #s
setenv current_dir_path `pwd` # Notice that we're using the back quote
#USER INPUT: SET THE AMOUNT OF SECONDS THIS SCRIPT WILL WAIT BEFORE CHECKING IF THE CURRENT RUNNING JOB HAS COMPLETED
set job_pause_duration_in_seconds = 30
set job_pause_duration_in_seconds = 300
if (${debug} == 1 ) echo 'DEBUG: ABOUT TO COPY SOME FILES'
# Save a copy of the input file, for backup(remove any old copies of ${input_filename}_orig.txt).
......
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