Commit 9971f231 authored by ext-neveu_n's avatar ext-neveu_n
Browse files

hypert input

parent c35e3776
......@@ -529,12 +529,13 @@ class Simulation:
s1 += "export n_mpi_ranks_per_node=" + str(coresPerNode)+ " \n"
s1 += "export n_mpi_ranks=" + str(total_mpi_ranks) + "\n"
#s1 += "export n_openmp_threads_per_rank=4"
#s1 += "export n_hyperthreads_per_core=2"
if hypert > 0:
s1 += "export n_hyperthreads_per_core=2"
#s1 += "export n_hyperthreads_skipped_between_ranks=4"
s1 += "####################################################\n"
s1 += "ARGS=" + "\"" + oinpFile + " --info " + str(info) + " --warn 6 \"\n"
s1 += "CMD=$OPAL_EXE_PATH/opal \n"
s1 += "MPICMD=\"aprun -n $n_mpi_ranks -N $n_mpi_ranks_per_node $CMD $ARGS\" \n"
s1 += "MPICMD=\"aprun -n $n_mpi_ranks -N $n_mpi_ranks_per_node -j $n_hyperthreads_per_core $CMD $ARGS\" \n"
s1 += "echo $MPICMD\n"
s1 += "$MPICMD \n"
s1 += "####################################################\n"
......
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