diff --git a/config/acme/machines/config_machines.xml b/config/acme/machines/config_machines.xml index 20c8071e9b9..1a0d975a51c 100644 --- a/config/acme/machines/config_machines.xml +++ b/config/acme/machines/config_machines.xml @@ -85,8 +85,8 @@ --label -n $TOTALPES - -c $SHELL{echo 48/`./xmlquery --value MAX_TASKS_PER_NODE`*$ENV{OMP_NUM_THREADS} | bc } - $SHELL{if [ 24 -ge `./xmlquery --value MAX_TASKS_PER_NODE` ]; then echo "--cpu_bind=cores"; else echo "--cpu_bind=threads"; fi} + -c $SHELL{echo 48/`./xmlquery --value MAX_MPITASKS_PER_NODE`|bc} + $SHELL{if [ 24 -ge `./xmlquery --value MAX_MPITASKS_PER_NODE` ]; then echo "--cpu_bind=cores"; else echo "--cpu_bind=threads";fi;}