zlib on mpi-bgq
authorYanhua Sun <sun51@illinois.edu>
Thu, 18 Apr 2013 20:34:13 +0000 (20:34 +0000)
committerYanhua Sun <sun51@illinois.edu>
Thu, 18 Apr 2013 20:34:13 +0000 (20:34 +0000)
src/arch/mpi-bluegeneq/cc-xlc.sh
src/arch/mpi-bluegeneq/conv-mach.sh

index df293722ec7aa2ea5675a9a3063d5e579f628c0c..4d7e55114a79a1546d806374d824c358cd8938c8 100644 (file)
@@ -1,3 +1,9 @@
+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"
index 096a3d2e07a2f819aa0c528146b725d3b6da331b..34908c64cc447ba667aaf34e54a3a8dd5e589d65 100644 (file)
@@ -13,9 +13,10 @@ then
 fi
 
 BGQ_BIN=$BGQ_FLOOR/gnu-linux/bin
-BGQ_INC="-I$BGQ_INSTALL/comm/xl/include -I$BGQ_INSTALL/spi/include -I$BGQ_INSTALL -I$BGQ_INSTALL/spi/include/kernel/cnk/"
+BGQ_ZLIB=/soft/libraries/alcf/current/gcc/ZLIB/
 
-BGQ_LIB="-L$BGQ_INSTALL/comm/xl.legacy.ndebug/lib -lmpich -lopa -lmpl -ldl -L$BGQ_INSTALL/comm/sys-fast/lib -lpami -L$BGQ_INSTALL/spi/lib -lSPI -lSPI_cnk -lpthread -lrt"
+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" 
 
 # test if compiler binary present
 if test ! -x $BGQ_BIN/powerpc64-bgq-linux-g++