forked from BenoitMorel/ParGenes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·50 lines (42 loc) · 1.06 KB
/
Copy pathinstall.sh
File metadata and controls
executable file
·50 lines (42 loc) · 1.06 KB
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
build_mpi_scheduler() {
echo "*********************************"
echo "** Installing mpi_scheduler... **"
echo "*********************************"
cd mpi-scheduler
mkdir -p build
cd build
cmake ..
make
cd ../..
}
build_raxml() {
echo "*********************************"
echo "** Installing raxml-ng... **"
echo "*********************************"
cd raxml-ng
mkdir -p build
cd build
cmake -DUSE_MPI=ON -DBUILD_AS_LIBRARY=ON ..
make
cd ../../
}
build_modeltest() {
echo "*********************************"
echo "** Installing model-test-ng... **"
echo "*********************************"
cd modeltest
mkdir -p build
cd build
cmake -DUSE_MPI=ON -DBUILD_AS_LIBRARY=ON ..
make
cd ../../
}
build_mpi_scheduler
build_raxml
build_modeltest
mpi_scheduler="`pwd`mpi-scheduler/build/mpi-scheduler"
raxml="`pwd`/raxml-ng/bin/raxml-ng-mpi.so"
modeltest="`pwd`/modeltest/bin/modeltest-ng"
echo "- mpi_scheduler executable built in ${mpi_scheduler}"
echo "- raxml library built in ${raxml}"
echo "- modeltest built in ${modeltest}"