From ae367fb02f3ee3db1c7a8406aeaca298d2258f0f Mon Sep 17 00:00:00 2001 From: Shane Li Date: Fri, 26 Oct 2018 16:18:38 +0800 Subject: [PATCH] Fix issue to suport multi-instances on more than 64 physical cores. --- scripts/set_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set_env.sh b/scripts/set_env.sh index a1b053a44..15e84a0b7 100755 --- a/scripts/set_env.sh +++ b/scripts/set_env.sh @@ -90,7 +90,7 @@ function init_mpi_envs done for ((mask_index=${#masks[@]}-1; mask_index>=0; mask_index--)) do - mask_str+=`printf "%x" "${masks[$mask_index]}"` + mask_str+=`printf "%016x" "${masks[$mask_index]}"` done domain_str+="$mask_str" if [ $ppn_index -ne $((ppn-1)) ]; then