1 BGQ_TYPICAL_FLOOR
=/bgsys
/drivers
/ppcfloor
3 # if no floor set, use typical floor path
4 if test -z "$BGQ_FLOOR"
6 BGQ_FLOOR
=$BGQ_TYPICAL_FLOOR
9 # if no install path (for experimental) set, use floor
10 if test -z "$BGQ_INSTALL"
12 BGQ_INSTALL
=$BGQ_TYPICAL_FLOOR
15 BGQ_BIN
=$BGQ_FLOOR/gnu-linux
/bin
16 BGQ_INC
="-I$BGQ_INSTALL/comm/xl/include -I$BGQ_INSTALL/spi/include -I$BGQ_INSTALL -I$BGQ_INSTALL/spi/include/kernel/cnk/"
18 BGQ_LIB
="-L$BGQ_INSTALL/comm/xl/lib -lmpich -lopa -lmpl -ldl -L$BGQ_INSTALL/comm/sys-fast/lib -lpami -L$BGQ_INSTALL/spi/lib -lSPI -lSPI_cnk -lpthread -lrt"
20 # test if compiler binary present
21 if test ! -x $BGQ_BIN/powerpc64-bgq-linux-g
++
23 echo "ERROR: Invalid BGQ_INSTALL or BGQ_FLOOR, C/C++ compiler missing"
28 GCC_OPTS
="-Wno-deprecated -mminimal-toc $BGQ_INC"
31 CMK_CPP_CHARM
="$BGQ_BIN/powerpc64-bgq-linux-cpp -P"
32 CMK_CPP_C
="$BGQ_BIN/powerpc64-bgq-linux-cpp -E "
33 CMK_CXX
="$BGQ_BIN/powerpc64-bgq-linux-g++ $GCC_OPTS "
34 CMK_GCXX
="$BGQ_BIN/powerpc64-bgq-linux-g++ $GCC_OPTS "
35 CMK_CC
="$BGQ_BIN/powerpc64-bgq-linux-gcc $GCC_OPTS "
36 CMK_CXXPP
="$BGQ_BIN/powerpc64-bgq-linux-g++ -E "
37 CMK_CF77
="$BGQ_BIN/powerpc64-bgq-linux-gfortran "
39 CMK_RANLIB
="$BGQ_BIN/powerpc64-bgq-linux-ranlib "
40 CMK_AR
="$BGQ_BIN/powerpc64-bgq-linux-ar q "
41 CMK_SYSLIBS
="$BGQ_LIB"
43 #CMK_LD="$BGQ_INSTALL/comm/gcc/bin/mpicc"
44 #CMK_LDXX="$BGQ_INSTALL/comm/gcc/bin/mpicxx"
47 CMK_LD_LIBRARY_PATH
="-Wl,-rpath,$CHARMLIBSO/"
49 #CMK_SEQ_CC="$BGQ_BIN/powerpc64-bgq-linux-gcc -Wno-deprecated "
50 #CMK_SEQ_LD="$CMK_SEQ_CC"
51 #CMK_SEQ_CXX="$BGQ_BIN/powerpc64-bgq-linux-g++ -Wno-deprecated "
52 #CMK_SEQ_LDXX="$CMK_SEQ_CXX"
55 CMK_NATIVE_CXX
='g++ -Wno-deprecated '
57 CMK_F90LIBS
='-lf90math -lfio -lU77 -lf77math '
58 CMK_MOD_NAME_ALLCAPS
=1