From 169e29742c7bdc4899254f85227f8ee7148d4fb5 Mon Sep 17 00:00:00 2001 From: Shane Li Date: Wed, 8 Nov 2017 14:02:58 +0800 Subject: [PATCH] Fix run_intelcaffe issue --- scripts/run_intelcaffe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_intelcaffe.sh b/scripts/run_intelcaffe.sh index a1ceb4cb7..9c91a6172 100755 --- a/scripts/run_intelcaffe.sh +++ b/scripts/run_intelcaffe.sh @@ -139,7 +139,7 @@ function init_mpi_envs if [ "$network" == "opa" ]; then export I_MPI_FABRICS=tmi export I_MPI_TMI_PROVIDER=psm2 - if [ "$cpu_model" == "knl" || "$cpu_model" == "knm" ]; then + if [ "$cpu_model" == "knl" ] || [ "$cpu_model" == "knm" ]; then # PSM2 configuration export PSM2_MQ_RNDV_HFI_WINDOW=2097152 # to workaround PSM2 bug in IFS 10.2 and 10.3 export PSM2_MQ_EAGER_SDMA_SZ=65536