fix the ZLIB path problem on BGQ
[charm.git] / src / arch / pami-bluegeneq / conv-mach.sh
index 2c50c557d679fcd3280c16de52c6c2cbf2db0ae2..cb22c478c4e58421c031eddf9bc8a9898b2dafb9 100644 (file)
@@ -12,12 +12,12 @@ then
   BGQ_INSTALL=$BGQ_TYPICAL_FLOOR
 fi
 
-#BGQ_ZLIB=/soft/libraries/3rdparty/zlib-1.2.6
+BGQ_ZLIB=/soft/libraries/alcf/current/gcc/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"
+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 -lSPI -lSPI_cnk -lpthread -lrt"
+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++