Enable MPI_SMP.
[charm.git] / src / arch / mpi-bluegeneq / cc-xlc.sh
index d10916179b01fcf9b1c1449fa5c0eac56eb10a71..5809d3692483fbf9a0a0af3a5c6e55db095e4557 100644 (file)
@@ -18,13 +18,13 @@ then
 fi
 
 XLC_F=$XLF_TYPICAL_PRE
 fi
 
 XLC_F=$XLF_TYPICAL_PRE
-CMK_CC="$XLC_PRE/${XLC_POST}xlc -qcpluscmt -qhalt=e $BGQ_INC"
-CMK_CXX="$XLC_PRE/${XLC_POST}xlC -qhalt=e $BGQ_INC"
+CMK_CC="$XLC_PRE/${XLC_POST}xlc_r -qcpluscmt -qhalt=e $BGQ_INC"
+CMK_CXX="$XLC_PRE/${XLC_POST}xlC_r -qhalt=e $BGQ_INC"
 CMK_LD="$CMK_CC"
 CMK_LDXX="$CMK_CXX"
 CMK_LD="$CMK_CC"
 CMK_LDXX="$CMK_CXX"
-CMK_CF77="$XLC_F/${XLC_POST}xlf "
-CMK_CF90="$XLC_F/${XLC_POST}xlf90  -qsuffix=f=f90" 
-CMK_CF90_FIXED="$XLC_F/${XLC_POST}xlf90 " 
+CMK_CF77="$XLC_F/${XLC_POST}xlf_r "
+CMK_CF90="$XLC_F/${XLC_POST}xlf90_r  -qsuffix=f=f90" 
+CMK_CF90_FIXED="$XLC_F/${XLC_POST}xlf90_r " 
 CMK_C_OPTIMIZE='-O3 -Q'
 CMK_CXX_OPTIMIZE='-O3 -Q'
 CMK_AR='ar cq'
 CMK_C_OPTIMIZE='-O3 -Q'
 CMK_CXX_OPTIMIZE='-O3 -Q'
 CMK_AR='ar cq'