fix in infi_CmiFree the case in standalone mode for SMP.
[charm.git] / src / arch / mpi-bluegenep / conv-mach.sh
1 BGP_TYPICAL_FLOOR=/bgsys/drivers/ppcfloor
2
3 # if no floor set, use typical floor path
4 if test -z "$BGP_FLOOR"
5 then
6   BGP_FLOOR=$BGP_TYPICAL_FLOOR
7 fi
8
9 # if no install path (for experimental) set, use floor
10 if test -z "$BGP_INSTALL"
11 then
12   BGP_INSTALL=$BGP_TYPICAL_FLOOR
13 fi
14
15 BGP_BIN=$BGP_FLOOR/gnu-linux/bin
16 BGP_INC="-I$BGP_INSTALL/comm/include -I$BGP_INSTALL/arch/include"
17
18 BGP_LIB="-L$BGP_INSTALL/comm/lib -L$BGP_INSTALL/runtime/SPI"
19
20 # test if compiler binary present
21 if test ! -x $BGP_BIN/powerpc-bgp-linux-g++
22 then
23  echo "ERROR: Invalid BGP_INSTALL or BGP_FLOOR, C/C++ compiler missing"
24  exit 1
25 fi
26
27 OPTS_CPP="$OPTS_CPP"
28 GCC_OPTS="-gdwarf-2 -Wno-deprecated $BGP_INC"
29 OPTS_LD="$OPTS_LD"
30
31 CMK_CPP_CHARM="$BGP_BIN/powerpc-bgp-linux-cpp -P"
32 CMK_CPP_C="$BGP_BIN/powerpc-bgp-linux-cpp -E "
33 CMK_CXX="$BGP_BIN/powerpc-bgp-linux-g++ $GCC_OPTS "
34 CMK_GCXX="$BGP_BIN/powerpc-bgp-linux-g++ $GCC_OPTS "
35 CMK_CC="$BGP_BIN/powerpc-bgp-linux-gcc $GCC_OPTS "
36 CMK_CXXPP="$BGP_BIN/powerpc-bgp-linux-g++ -E "
37 CMK_CF77="$BGP_BIN/powerpc-bgp-linux-gfortran "
38 CMK_CF90='f90'
39 CMK_RANLIB="$BGP_BIN/powerpc-bgp-linux-ranlib "
40 CMK_AR="$BGP_BIN/powerpc-bgp-linux-ar q "
41 CMK_LD="$CMK_CC $BGP_LIB"
42 CMK_LDXX="bgxlC $BGP_LIB"
43 CMK_LIBS='-lckqt -lmpich.cnk -ldcmf.cnk -ldcmfcoll.cnk -lpthread -lrt -lSPI.cna'
44 CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
45 #CMK_SEQ_LIBS=''
46 #CMK_SEQ_CC="$BGP_BIN/powerpc-bgp-linux-gcc -Wno-deprecated "
47 #CMK_SEQ_LD="$CMK_SEQ_CC"
48 #CMK_SEQ_CXX="$BGP_BIN/powerpc-bgp-linux-g++ -Wno-deprecated "
49 #CMK_SEQ_LDXX="$CMK_SEQ_CXX"
50 CMK_NATIVE_CC='gcc '
51 CMK_NATIVE_LD='gcc '
52 CMK_NATIVE_CXX='g++ -Wno-deprecated '
53 CMK_NATIVE_LDXX='g++'
54 CMK_F90LIBS='-lf90math -lfio -lU77 -lf77math '
55 CMK_MOD_NAME_ALLCAPS=1
56 CMK_MOD_EXT="mod"
57 CMK_F90_USE_MODDIR=1
58 CMK_F90_MODINC="-p"
59 CMK_QT="aix"