-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·30 lines (22 loc) · 1.22 KB
/
build.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
rm -rf build/
mkdir build
echo "Build HF"
clang++ -std=c++11 -g -o build/hf.out code/hartree-fock++.cc -lint2 -lpthread
echo "1 elec"
clang++ -std=c++11 -g -o build/get_1elec_int.out code/Create1ParticleOperator.cc -lint2 -lpthread
echo "2 elec"
g++ -std=c++14 -g -o build/get_2elec_int.out code/Create2ParticleOperator.cc -lint2 -lpthread -lxerus -lxerus_misc
echo "Transform Basis"
g++ -std=c++14 -g -o build/basistransform.out code/BasisTransform.cpp -lint2 -lpthread -lxerus -lxerus_misc
echo "Load electron ints from file"
g++ -std=c++14 -g -o build/read_FCIdump.out code/read_FCIdump.cpp -lxerus -lxerus_misc -lboost_regex
echo "Build Hamil"
g++ -std=c++14 -g -o build/buildhamil.out code/BuildHamiltonian.cpp -lxerus -lxerus_misc
echo "Build Diag"
g++ -std=c++14 -g -o build/buildhamildiag.out code/BuildHamiltonianDiag.cpp -lxerus -lxerus_misc
echo "Build Precon"
g++ -g -std=c++14 -o build/buildprecon.out code/BuildPrecon.cpp -lxerus -lxerus_misc
echo "Build DMRG"
g++ -g -std=c++14 -fext-numeric-literals -DARPACK_LIBRARIES -o build/dmrg.out code/RunDmrg.cpp -lxerus -lxerus_misc -lboost_regex -fopenmp
echo "Build PPGD"
g++ -g -std=c++14 -o build/ppgd.out code/PPGD_CG.cpp -lxerus -lxerus_misc -fopenmp