Adding linking support for zlib library on BG/P.
[charm.git] / src / arch / mpi-bluegenep / conv-mach.sh
index fe87dd92171ab29573b2996a265047a6c41e638e..a602e9a02b0970eb57c7533e1a4c2d4455a23641 100644 (file)
@@ -12,10 +12,12 @@ then
   BGP_INSTALL=$BGP_TYPICAL_FLOOR
 fi
 
+BGP_ZLIB=/soft/apps/zlib-1.2.3
+
 BGP_BIN=$BGP_FLOOR/gnu-linux/bin
-BGP_INC="-I$BGP_INSTALL/comm/include -I$BGP_INSTALL/arch/include"
+BGP_INC="-I$BGP_INSTALL/comm/include -I$BGP_INSTALL/arch/include -I$BGP_ZLIB/include "
 
-BGP_LIB="-L$BGP_INSTALL/comm/lib -L$BGP_INSTALL/runtime/SPI"
+BGP_LIB="-L$BGP_INSTALL/comm/lib -L$BGP_INSTALL/runtime/SPI -L$BGP_ZLIB/lib "
 
 # test if compiler binary present
 if test ! -x $BGP_BIN/powerpc-bgp-linux-g++