fix the ZLIB path problem on BGQ
[charm.git] / src / arch / pami-bluegeneq / cc-xlc.sh
index df293722ec7aa2ea5675a9a3063d5e579f628c0c..5fb79587901bca6afff8b0ac55a64fafd3a4821e 100644 (file)
@@ -1,3 +1,8 @@
+BGQ_ZLIB=/soft/libraries/alcf/current/xl/ZLIB/
+BGQ_BIN=$BGQ_FLOOR/gnu-linux/bin
+BGQ_INC="-I$BGQ_INSTALL/comm/sys/include -I$BGQ_INSTALL/spi/include -I$BGQ_INSTALL -I$BGQ_INSTALL/spi/include/kernel/cnk -I$BGQ_ZLIB/include"
+BGQ_LIB="-L$BGQ_INSTALL/comm/sys-fast/lib -lpami -L$BGQ_INSTALL/spi/lib -L$BGQ_ZLIB/lib -lSPI -lSPI_cnk -lpthread -lrt" 
+CMK_SYSLIBS="$BGQ_LIB"
 CMK_CC="bgxlc_r -qcpluscmt -qhalt=e $BGQ_INC -qnokeyword=__int128"
 CMK_CXX="bgxlC_r -qhalt=e $BGQ_INC -qnokeyword=__int128"
 CMK_LD="$CMK_CC"
@@ -18,3 +23,4 @@ CMK_NATIVE_LDXX="$CMK_NATIVE_CXX"
 CMK_RANLIB="ranlib"
 CMK_F90LIBS="-lxlf90 -lxlopt -lxl -lxlfmath"
 
+