-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.sh
35 lines (26 loc) · 1.46 KB
/
configure.sh
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
#!/bin/bash
echo -e "\n\n`date` FitCons2 Master configuration file, configures top level bin dire, then Insight2 then covtree."
echo -e "\n\n`date`\tRequires approximately 10GB of storage space and downloads but does not expand covtree db."
db="."; db=`readlink -f "${db}"`
echo -e "\n`date`\tConfiguration base directory:\n\t\t${db}\n"
echo -e "\n`date`\t Configuring ./bin "
pushd bin >> /dev/null
chmod a+x ./configure.sh
./configure.sh
popd >> /dev/null
echo -e "\n\n`date`\t Configuring ./Insight2 (about 2 mins, see ./Insight2/configure.sh.log) "
pushd ./Insight2 >> /dev/null
chmod a+x ./configure.sh
( ./configure.sh 2>&1 ) >> ./configure.sh.log
popd >> /dev/null
echo -e "\n\n`date`\t Configuring ./covtree (about 2 mins, see ./covtree/configure.sh.log). "
pushd ./covtree >> /dev/null
chmod a+x ./configure.sh
(./configure.sh 2>&1 ) >> ./configure.sh.log
popd >> /dev/null
echo -e "\n\n`date`\t Configuration Complete.\n\n"
echo -e "\t To run Insight2 demos\n\t\t cd ./Insight2/tests\n\t\t./runtests.sh\n\n"
echo -e "\t To run covtree demos\n\t\t cd ./covtree/tests\n\t\t./runtest1.sh\n\t\truntest2.sh\n\n"
echo -e "Covtree demos download and operate on a subset of the FitCons2 database and may require 20GB of RAM, 100GB of storage and take an hour on three cores."
echo -e "Full FitCons2 database (2.5GB) is downloadded when covtree is configured but requries approximately 150GB of storage to decompress. This is not required for demos."
echo -e "\n\n`date` Done, exiting."