forked from fmihpc/rhybrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
54 lines (51 loc) · 1.41 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
EXAMPLE COMPILATIONS
Ubuntu 14.04.3 LTS (Jan 11, 2016)
cd /home/user/bin
wget https://github.com/fmihpc/rhybrid/archive/master.zip -O rhybrid.zip
wget https://github.com/fmihpc/corsair/archive/master.zip -O corsair.zip
wget https://github.com/fmihpc/vlsv/archive/master.zip -O vlsv.zip
wget https://github.com/fmihpc/pargrid/archive/master.zip -O pargrid.zip
wget http://ftp.mcs.anl.gov/pub/alice/10x10/zoltan_distrib_v3.6.tar.gz
tar -xzf zoltan_distrib_v3.6.tar.gz
rm parmetis_3.1.tar.gz ._scotch_5.1.12b.tar.gz scotch_5.1.12b.tar.gz
cd Zoltan_v3.6
mkdir build
cd build
../configure --prefix=/home/user/bin/Zoltan_v3.6/build
make
make install
cd ~/bin
unzip '*.zip'
cd vlsv-master
cp Makefile.arch Makefile.my
jed Makefile.my
INC_SILO=
LIB_SILO=
jed Makefile
ARCH ?= my
make
cd visit-plugin
xmledit vlsv.xml
CXXFLAGS -std=c++0x -I/home/user/bin/vlsv-master -DNEW_VTK_API
LDFLAGS -L/home/user/bin/vlsv-master
xml2cmake vlsv.xml
cmake .
make
cd ~/bin
mv rhybrid-master/src/ corsair-master/src/user/rhybrid
cd corsair-master
cp Makefile.arch Makefile.my
jed Makefile
ARCH ?= my
SIM=rhybrid
jed Makefile.my
INC=
INC_BOOST=-I/usr/include/boost
LIB_BOOST=-L/usr/lib/ -lboost_program_options
INC_PARGRID=-I/home/user/bin/pargrid-master
LIB_PARGRID=
INC_VLSV=-I/home/user/bin/vlsv-master
LIB_VLSV=-L/home/user/bin/vlsv-master -lvlsv
INC_ZOLTAN=-I/home/user/bin/Zoltan_v3.6/build/include
LIB_ZOLTAN=-L/home/user/bin/Zoltan_v3.6/build/lib -lzoltan
make