Fix for cluster running
authorTrevor Irons <u6003297@kingspeak2.wasatch.peaks>
Thu, 24 Aug 2017 18:42:08 +0000 (12:42 -0600)
committerTrevor Irons <u6003297@kingspeak2.wasatch.peaks>
Thu, 24 Aug 2017 18:42:08 +0000 (12:42 -0600)
EAGE_Abstract/Lemma/CLS/Kern.yaml
EAGE_Abstract/Lemma/CLS/run-kingspeak.sh [new file with mode: 0755]
EAGE_Abstract/Lemma/CLS/run.sh

index dcbf464..a669483 100644 (file)
@@ -20,7 +20,7 @@ IntegrationOrigin: !<Vector3r>
     - .5
 Larmor: 0
 Temperature: 283
-tol: 1e-10
+tol: 1e-12
 minLevel: 0
 maxLevel: 12
 Taup: 0.02
diff --git a/EAGE_Abstract/Lemma/CLS/run-kingspeak.sh b/EAGE_Abstract/Lemma/CLS/run-kingspeak.sh
new file mode 100755 (executable)
index 0000000..f901278
--- /dev/null
@@ -0,0 +1,31 @@
+#!/bin/bash 
+
+#SBATCH --time=24:55:00              # walltime, abbreviated by -t
+#SBATCH --nodes=1                   # number of cluster nodes, abbreviated by -N
+#SBATCH -o kingtest-omp20-%j.out-%N # name of the stdout, using the job number (%j) and the first node (%N)
+#SBATCH --ntasks=1                  # number of MPI tasks, abbreviated by -n # additional information for allocated clusters
+#SBATCH --account=carbon-kp   #irons        # account - abbreviated by -A
+#SBATCH --partition=carbon-kp #kingspeak    # partition, abbreviated by -p # # set data and working directories
+
+#export WORKDIR=$HOME/src/STOMP/Test/
+#export SCRDIR=/scratch/kingspeak/serial/u6003297/myscratch
+#mkdir -p $SCRDIR
+#cp -r $WORKDIR/* $SCRDIR
+#cd $SCRDIR
+
+# load appropriate modules, in this case Intel compilers, MPICH2
+module load gcc/6.4.0 
+# # for MPICH2 over Ethernet, set communication method to TCP - for general lonepeak nodes
+# # see above for network interface selection options for other MPI distributions
+# setenv MPICH_NEMESIS_NETMOD tcp
+# # run the program
+# # see above for other MPI distributions
+#export OMP_NUM_THREADS=20
+#export OMP_DYNAMIC=TRUE 
+#./KernelV0-2 earth2.yaml  Tx.yaml  z.yaml
+#./KernelV0-2 earth2.yaml  Tx.yaml  x.yaml
+./run.sh 
+#time ./KernelV0-2 earth2.yaml  Tx.yaml  y.yaml
+
+# mpirun -np $SLURM_NTASKS my_mpi_program > my_program.out
+#
index 2489c55..7dbce59 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/env bash
 # Central loop sounding
-#./KernelV0-2 Kern.yaml  100m  z-comp 
-./KernelV0-2 Kern.yaml  100m  y-comp 
-./KernelV0-2 Kern.yaml  100m  x-comp 
+./KernelV0-2 Kern.yaml  100m  x-comp  false 
+./KernelV0-2 Kern.yaml  100m  y-comp  false 
+./KernelV0-2 Kern.yaml  100m  z-comp  false 
 
 # post-processing