forked from juanjosepalacios/ANT.Gaussian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.package
53 lines (46 loc) · 1.09 KB
/
make.package
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
#!/bin/bash
#
version=2.7.2
mkdir -v ANT.Gaussian-$version
mkdir -v ANT.Gaussian-$version/BLDAT
mkdir -v ANT.Gaussian-$version/doc
mkdir -v ANT.Gaussian-$version/install
mkdir -v ANT.Gaussian-$version/src
mkdir -v ANT.Gaussian-$version/examples
cp -v BLDAT/*.dat ANT.Gaussian-$version/BLDAT/
cp -rv doc/* ANT.Gaussian-$version/doc/
cp -rv examples/* ANT.Gaussian-$version/examples/
cp -v install/install* ANT.Gaussian-$version/install/
cp -v make.package ANT.Gaussian-$version
sources="
src/ANT.F90
src/BetheLattice.F90
src/cluster.F90
src/device.F90
src/numeric.F90
src/parameters.F90
src/constants.F90
src/g03Common.F90
src/g09Common.F90
src/OneDLead.F90
src/util.F90
src/ortho.F90
src/correlation.F90
src/MolMod.F90
src/antcommon.F90
src/filemaster.F90
src/messages.F90
src/SpinOrbit.F90
src/SpinRotate.F90
src/lapack_blas.f
src/preproc.F
src/system.c
src/make.in
src/make.in.intel
src/Makefile.pgi.g09
src/Makefile.intel.g09"
cp -v $sources ANT.Gaussian-$version/src/
tar -cvf ANT.Gaussian-$version.tar ANT.Gaussian-$version
gzip ANT.Gaussian-$version.tar
rm -rf ANT.Gaussian-$version
echo "Done."