Commit 82fb5b5a authored by Huihuo Zheng's avatar Huihuo Zheng
Browse files

fixed some issues

parent c381c057
......@@ -3,5 +3,5 @@ git clone https://github.com/pmodels/argobots.git
cd argobots
./autogen.sh
CC=gcc CXX=g++ ./configure --prefix=$ABT_DIR
make all install -j4
make all install
cd -
......@@ -3,6 +3,6 @@ git clone https://github.com/hpc-io/vol-async
cd vol-async/src
sed -e "s/HDF5_DIR =/#HDF5_DIR =/g" -e "s/ABT_DIR =/#ABT_DIR =/g" -e "s/CC = cc/CC=mpicc/g" Makefile > Makefile.local
make -f Makefile.local
cp lib* $HDF5_VOL_DIR/lib
cp *.h $HDF5_VOL_DIR/include
cp -v lib* $HDF5_VOL_DIR/lib
cp -v *.h $HDF5_VOL_DIR/include
cd -
#!/bin/sh
git clone https://github.com/hpc-io/vol-cache
cd vol-cache
sed -e "s/DEBUG +=/#DEBUG +=/g" src/Makefile > src/Makefile.local
cd src
make -f Makefile.local
cd ..
make all
cd -
cd ../
#!/bin/sh
git clone https://github.com/hpc-io/vol-external-passthrough
cd vol-external-passthrough
sed -e "s/dylib/so/g" -e "s/HDF5_DIR=/#HDF5_DIR=/g" -e "s/dynamiclib/shared/g" -e "s/-current_version 1.0//g" Makefile > Makefile.local
if [[ $UNAME_S -eq "Linux" ]]
then
LIBNAME=so
else
LIBNAME=dylib
fi
cd vol-external-passthrough
sed -e "s/dylib/$LIBNAME/g" -e "s/HDF5_DIR=/#HDF5_DIR=/g" -e "s/dynamiclib/shared/g" -e "s/-current_version 1.0//g" Makefile > Makefile.local
make -f Makefile.local
cp *.h $HDF5_VOL_DIR/include
cp lib* $HDF5_VOL_DIR/lib
cp -v *.h $HDF5_VOL_DIR/include
cp -v lib* $HDF5_VOL_DIR/lib
cd -
#!/bin/sh
#!/bin/sh -x
function cmkdir() {
for f in $@
do
......@@ -13,4 +13,5 @@ export HDF5_VOL_DIR=$SDK_DIR/hdf5/vol
export ABT_DIR=$SDK_DIR/argobots/
export CC=mpicc
export CXX=mpicxx
cmkdir $SDK_DIR $HDF5_ROOT $HDF5_VOL_DIR $ABT_DIR
cmkdir $SDK_DIR $HDF5_ROOT $HDF5_VOL_DIR $ABT_DIR $HDF5_VOL_DIR/lib $HDF5_VOL_DIR/include
export LD_LIBRARY_PATH=$ABT_DIR/lib:$LD_LIBRARY_PATH
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment