BGP-Forcing qarch=450, prevents autosimdization that causes memory misaligned
[charm.git] / src / arch / bluegenep / cc-xlc.sh
1 XLC_PRE=/soft/apps/ibmcmp
2 XLC_POST=bin/bg
3 XLC_F=$XLC_PRE/xlf/bg/11.1
4 CMK_CC="$XLC_PRE/vac/bg/9.0/${XLC_POST}xlc -qcpluscmt -qhalt=e -I$CHARMINC $BGP_INC"
5 CMK_CXX="$XLC_PRE/vacpp/bg/9.0/${XLC_POST}xlC -qhalt=e -I$CHARMINC $BGP_INC"
6 CMK_LD="$CMK_CC $BGP_LIB "
7 CMK_LDXX="$CMK_CXX $BGP_LIB"
8 CMK_CF77="$XLC_F/${XLC_POST}xlf "
9 CMK_CF90="$XLC_F/${XLC_POST}xlf90  -qsuffix=f=f90" 
10 CMK_CF90_FIXED="$XLC_PRE/xlf/bg/11.1/${XLC_POST}xlf90 " 
11 CMK_C_OPTIMIZE='-O3 -qstrict -qarch=450 -Q '
12 CMK_CXX_OPTIMIZE='-O3 -qstrict -qarch=450 -Q '
13 CMK_AR='ar cq'
14 CMK_NM='nm '
15 CMK_QT="aix"
16 CMK_NATIVE_CC="gcc"
17 CMK_NATIVE_CXX="g++"
18 CMK_NATIVE_LD="$CMK_NATIVE_CC"
19 CMK_NATIVE_LDXX="$CMK_NATIVE_CXX"
20 CMK_RANLIB="ranlib"
21 CMK_F90LIBS="-lxlf90 -lxlopt -lxl -lxlfmath"