-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeFile.sh
53 lines (37 loc) · 1.96 KB
/
makeFile.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#/bin/sh
echo "================================================================================"
echo "Building carbonara..."
if ls src/.o 1> /dev/null 2>&1; then
rm src/.o
fi
g++ -c -O3 -std=gnu++14 -o src/point.o src/point.cpp
g++ -c -O3 -std=gnu++14 -o src/polyHelix.o src/polyHelix.cpp
g++ -c -O3 -std=gnu++14 -o src/randomMolGen.o src/randomMolGen.cpp
g++ -c -O3 -std=gnu++14 -o src/ktlMoleculeRandom.o src/ktlMoleculeRandom.cpp
g++ -c -O3 -std=gnu++14 -o src/experimentalData.o src/experimentalData.cpp
g++ -c -O3 -std=gnu++14 -o src/hydrationShellRandom.o src/hydrationShellRandom.cpp
g++ -c -O3 -std=gnu++14 -o src/skmt.o src/skmt.cpp
g++ -c -O3 -std=gnu++14 -o src/writheFP.o src/writheFP.cpp
g++ -c -O3 -std=gnu++14 -o src/moleculeFitAndState.o src/moleculeFitAndState.cpp
g++ -c -O3 -std=gnu++14 -o src/Logger.o src/Logger.cpp
g++ -c -O3 -std=gnu++14 -o src/helpers.o src/helpers.cpp
g++ -c -O3 -std=gnu++14 -o src/parameters.o src/parameters.cpp
g++ -c -O3 -std=gnu++14 -o src/mainPredictionFinalQvar.o src/mainPredictionFinalQvar.cpp
g++ -O3 -std=gnu++14 -o predictStructureQvary src/point.o src/polyHelix.o src/randomMolGen.o src/ktlMoleculeRandom.o src/experimentalData.o src/hydrationShellRandom.o src/skmt.o src/writheFP.o src/moleculeFitAndState.o src/mainPredictionFinalQvar.o src/Logger.o src/helpers.o src/parameters.o
g++ -c -O3 -std=gnu++14 -o src/Flexible_generator.o src/Flexible_generator.cpp
g++ -O3 -std=gnu++14 -o generate_structure src/point.o src/polyHelix.o src/randomMolGen.o src/ktlMoleculeRandom.o src/Flexible_generator.o
echo "\n"
echo "Built carbonara!"
echo "================================================================================"
echo "Running carbonara..."
echo "\n"
sh RunMe_test_simple_fitdata.sh
echo "\n"
# echo "Ran carbonara!"
# echo "\n"
echo "================================================================================"
#echo "\n"
# echo "Running test script..."
# python test_build.py
# echo "Test script run!"
# echo "\n"