~ubuntu-branches/ubuntu/utopic/nwchem/utopic

« back to all changes in this revision

Viewing changes to src/tools/ga-5-2/benchmarks/Makefile

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
  GA_CONFIG := # e.g. /path/to/ga/install/bin/ga-config
 
2
ifneq ($(GA_CONFIG),)
 
3
CPPFLAGS := $(shell $(GA_CONFIG) --cppflags)
 
4
  FFLAGS := $(shell $(GA_CONFIG) --fflags)
 
5
  CFLAGS := $(shell $(GA_CONFIG) --cflags)
 
6
    LIBS := $(shell $(GA_CONFIG) --libs)
 
7
   FLIBS := $(shell $(GA_CONFIG) --flibs)
 
8
 LDFLAGS := $(shell $(GA_CONFIG) --ldflags)
 
9
      CC := $(shell $(GA_CONFIG) --cc)
 
10
     F77 := $(shell $(GA_CONFIG) --f77)
 
11
endif
 
12
 
 
13
dist:
 
14
        rm -rf ga-benchmarks
 
15
        mkdir ga-benchmarks
 
16
        cp -f ../global/testing/mp3.h      ./ga-benchmarks/mp3.h
 
17
        cp -f ../global/testing/mp3.fh     ./ga-benchmarks/mp3.fh
 
18
        cp -f ../global/testing/ga_shift.F ./ga-benchmarks/ga_shift.F
 
19
        cp -f ../global/testing/perf.F     ./ga-benchmarks/ga_ptp.F
 
20
        cp -f ../global/testing/perf2.c    ./ga-benchmarks/ga_perf.c
 
21
        cp -f ../armci/testing/perf.c      ./ga-benchmarks/armci_perf.c
 
22
        cp -f ./Makefile                   ./ga-benchmarks/Makefile
 
23
        cp -f ./config.h                   ./ga-benchmarks/config.h
 
24
        cp -f ./config.fh                  ./ga-benchmarks/config.fh
 
25
        cp -f ./util.c                     ./ga-benchmarks/util.c
 
26
        cp -f ./testutil.fh                ./ga-benchmarks/testutil.fh
 
27
        cp -f ./README                     ./ga-benchmarks/README
 
28
        sed -i '13,31d'                    ./ga-benchmarks/Makefile
 
29
        rm -f ga-benchmarks.tgz
 
30
        tar -czf ga-benchmarks.tgz ./ga-benchmarks
 
31
 
 
32
.SUFFIXES:
 
33
 
 
34
benchmarks: ga_shift.x ga_ptp.x ga_perf.x armci_perf.x
 
35
 
 
36
ga_shift.x: ga_shift.o util.o
 
37
        $(F77) -o $@ $^ $(LDFLAGS) $(LIBS)
 
38
ga_shift.o: ga_shift.F mp3.fh config.fh
 
39
        $(F77) -o $@ -c $< -DHAVE_CONFIG_H -I. $(CPPFLAGS) $(FFLAGS)
 
40
 
 
41
ga_ptp.x: ga_ptp.o util.o
 
42
        $(F77) -o $@ $^ $(LDFLAGS) $(LIBS)
 
43
ga_ptp.o: ga_ptp.F mp3.fh config.fh
 
44
        $(F77) -o $@ -c $< -DHAVE_CONFIG_H -I. $(CPPFLAGS) $(FFLAGS)
 
45
 
 
46
ga_perf.x: ga_perf.o util.o
 
47
        $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) $(FLIBS)
 
48
ga_perf.o: ga_perf.c mp3.h config.h
 
49
        $(CC) -o $@ -c $< -DHAVE_CONFIG_H -I. $(CPPFLAGS) $(CFLAGS)
 
50
 
 
51
armci_perf.x: armci_perf.o util.o
 
52
        $(CC) -o $@ $^ $(LDFLAGS) $(LIBS) $(FLIBS)
 
53
armci_perf.o: armci_perf.c mp3.h config.h
 
54
        $(CC) -o $@ -c $< -DHAVE_CONFIG_H -I. $(CPPFLAGS) $(CFLAGS)
 
55
 
 
56
util.o: util.c
 
57
        $(CC) -o $@ -c $< -DHAVE_CONFIG_H -I. $(CPPFLAGS) $(CFLAGS)
 
58
 
 
59
config.h:
 
60
config.fh:
 
61
mp3.h:
 
62
mp3.fh:
 
63
 
 
64
clean:
 
65
        rm -f *.x *.o