build_vcluster.sh 476 Bytes
Newer Older
Pietro Incardona's avatar
Pietro Incardona committed
1
2
3
4
5
6
7
8
9
10
11
#! /bin/bash

# Make a directory in /tmp/OpenFPM_data

mkdir /tmp/openfpm_vcluster
mv * .[^.]* /tmp/openfpm_vcluster
mv /tmp/openfpm_vcluster OpenFPM_vcluster

mkdir OpenFPM_vcluster/src/config

git clone git@ppmcore.mpi-cbg.de:incardon/openfpm_devices.git OpenFPM_devices
Pietro Incardona's avatar
Pietro Incardona committed
12
git clone git@ppmcore.mpi-cbg.de:incardon/openfpm_data.git OpenFPM_data
Pietro Incardona's avatar
Pietro Incardona committed
13
14
15
16
17
18
19
20
21

cd "$1/OpenFPM_vcluster"

sh ./autogen.sh
sh ./configure CXX=mpic++
make

mpirun -np 2 ./src/vcluster
mpirun -np 4 ./src/vcluster