build_io.sh 702 Bytes
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10 11 12
#! /bin/bash

# Make a directory in /tmp/OpenFPM_data

mkdir /tmp/openfpm_io
mv * .[^.]* /tmp/openfpm_io
mv /tmp/openfpm_io OpenFPM_IO

mkdir OpenFPM_IO/src/config

git clone git@ppmcore.mpi-cbg.de:incardon/openfpm_devices.git OpenFPM_devices
git clone git@ppmcore.mpi-cbg.de:incardon/openfpm_data.git OpenFPM_data
incardon's avatar
incardon committed
13
git clone git@ppmcore.mpi-cbg.de:incardon/openfpm_pdata.git OpenFPM_pdata
incardon's avatar
incardon committed
14 15 16
cd "$1/OpenFPM_data"
git checkout develop
cd ..
incardon's avatar
incardon committed
17

incardon's avatar
incardon committed
18
cd "$1/OpenFPM_IO"
incardon's avatar
incardon committed
19 20 21 22 23

sh ./autogen.sh
if [ "$2" == "master" ]
then
 sh ./configure --disable-gpu
incardon's avatar
incardon committed
24
elif [ "$2" == "gin" ]
incardon's avatar
incardon committed
25
then
incardon's avatar
incardon committed
26 27
 module load gcc/4.8.2
 module load boost/1.54.0
incardon's avatar
incardon committed
28
 sh ./configure --with-boost=/sw/apps/boost/1.54.0/
incardon's avatar
incardon committed
29 30 31 32 33 34 35
else
 sh ./configure
fi
make

./src/io