Commit f143b654 authored by Alessandro Mirone's avatar Alessandro Mirone

correced a deployment bug that was introduced during the adaptation to SLURM

parent 08500a27
......@@ -444,8 +444,7 @@ print(" SCHEDULER TYPE is ", SCHEDULER_TYPE )
print("HOW MANY PROCESSES " )
nprocs, rshagent, machinefile_name = get_NPROCS( SCHEDULER_TYPE)
nprocs, machinefile_name, rshagent = get_NPROCS( SCHEDULER_TYPE)
print("HOW MANY PROCESSES ", nprocs )
......@@ -480,7 +479,7 @@ def callpyhst(inputfile):
else:
if SCHEDULER_TYPE != "SLURM":
args= [mpi_extra,machinefile_name,rshagent, nprocs, "pyhst_2_"+myversion ] + [inputfile]+sys.argv[2:]
args= [mpi_extra,rshagent, machinefile_name, nprocs, "pyhst_2_"+myversion ] + [inputfile]+sys.argv[2:]
seguito = " %s "*len(sys.argv[1:])
comando = ("mpirun %s --mca mpi_warn_on_fork 0 --mca orte_rsh_agent %s -machinefile %s -n %d %s "+seguito) % tuple(args)
print( comando +" " +gpus_string)
......
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