Enable MPI_SMP.
[charm.git] / src / arch / shmem-crayxe / conv-mach.sh
1 #CMK_DEFS="-I/opt/xt-mpt/1.5.47/mpich2-64/T/include "
2 #CMK_LD_DEFS="-lrca "
3
4 PGCC=`CC -V 2>/dev/null | grep pgCC`
5
6 CMK_INC="-I/opt/cray/mpt/5.2.0/xt/gemini/sma/include/"
7 CMK_LD_PATH="-L/opt/cray/mpt/5.2.0/xt/gemini/sma/lib64/"
8
9 CMK_CPP_CHARM="/lib/cpp -P"
10 CMK_CPP_C="cc -E $CMK_DEFS $CMK_INC"
11 CMK_CXXPP="CC -E $CMK_DEFS $CMK_INC"
12 CMK_CC="cc $CMK_DEFS $CMK_INC"
13 CMK_CXX="CC  $CMK_DEFS $CMK_INC"
14 CMK_LD="$CMK_CC $CMK_LD_DEFS $CMK_LD_PATH"
15 CMK_LDXX="$CMK_CXX $CMK_LD_DEFS $CMK_LD_PATH"
16 CMK_LIBS="-lckqt -lsma -lrca"
17 CMK_QT='generic64'
18
19 CMK_RANLIB="ranlib"
20 CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
21
22 # compiler for compiling sequential programs
23 if test -n "$PGCC"
24 then
25 CMK_CC="$CMK_CC -DCMK_FIND_FIRST_OF_PREDICATE=1 "
26 CMK_CXX="$CMK_CXX -DCMK_FIND_FIRST_OF_PREDICATE=1 --no_using_std "
27 # gcc is needed for building QT
28 CMK_SEQ_CC="gcc -fPIC"
29 CMK_SEQ_CXX="pgCC -fPIC --no_using_std "
30 else
31 CMK_SEQ_CC="gcc -fPIC"
32 CMK_SEQ_CXX="g++ -fPIC "
33 fi
34 CMK_SEQ_LD="$CMK_SEQ_CC "
35 CMK_SEQ_LDXX="$CMK_SEQ_CXX "
36 CMK_SEQ_LIBS=""
37
38 # compiler for native programs
39 CMK_NATIVE_CC="gcc "
40 CMK_NATIVE_LD="gcc "
41 CMK_NATIVE_CXX="g++ "
42 CMK_NATIVE_LDXX="g++ "
43 CMK_NATIVE_LIBS=""
44
45
46 # for F90 compiler
47 CMK_CF77="ftn "
48 CMK_CF90="ftn "
49 CMK_F90LIBS=""
50 CMK_F90_USE_MODDIR=1
51 CMK_F90_MODINC="-I"
52 CMK_MOD_EXT="mod"
53
54 CMK_NO_BUILD_SHARED=true
55