Commit b792baee authored by Femi Kadri's avatar Femi Kadri

README.TXT

parent 58f0c26f
......@@ -33,10 +33,31 @@ and method = LBM or LST
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 kong.
module load intel/2016a #this line is only need when running the job on schooner.Not needed if running on stampede.
mpicc -c timer.c
./make_cmd schooner
./make_cmd schooner #compiles the code
#if the code has been compiled and you wish to recompile,run the command "make clean" in terminal.
#To run the compiled code on the "schooner" cluster,submit batch job using the command below.
#To run a different cluster say stampede,replace schooner with stampede in the file name.
sbatch schooner_initial_LBM.sh #replace "initial" with resume or finalize for resume and finalize jobs.
#To run scripts on the background with chain script,run as:
********Note that there two chain scripts named "lsf_chain.tcsh" and "lsf_chain1.tcsh".For now,use lsf_chain.tcsh to run jobs schooner and
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
#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
#of simulation.The value can be 1 or as high as 100 or even more.If the simulation converges before the number of jobs specified
#is reached,the script stops submitting jobs and if no convergence is reached after the number of jobs specified is reached.You
#will have to submit more jobs continuing from the last simulation point.
tcsh lsf_chain.tcsh schooner 1 #FOR EXAMPLE IF YOU JUST WANT TO RUN A SINGLE JOB FOR TESTING YOUR CODE
tcsh lsf_chain.tcsh schooner 100 #FOR RUNNING
......
......@@ -37,9 +37,9 @@ module load intel/2016a #this line is only need when running the job on schoo
mpicc -c timer.c
./make_cmd schooner
tcsh lsf_chain.tcsh sooner 1 #FOR EXAMPLE IF YOU JUST WANT TO RUN A SINGLE JOB FOR TESTING YOUR CODE
tcsh lsf_chain.tcsh schooner 1 #FOR EXAMPLE IF YOU JUST WANT TO RUN A SINGLE JOB FOR TESTING YOUR CODE
tcsh lsf_chain.tcsh sooner 100 #FOR RUNNING
tcsh lsf_chain.tcsh schooner 100 #FOR RUNNING
OR
......
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