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

« back to all changes in this revision

Viewing changes to .pc/02_makefile_flags.patch/src/peigs/DEFS

  • 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
1
#
2
 
# $Id: DEFS 20121 2011-03-21 18:54:55Z jhammond $
 
2
# $Id: DEFS 23064 2012-11-06 17:36:28Z edo $
3
3
#
4
4
#======================================================================
5
5
#
61
61
#
62
62
# generic definitions from nwchem makefile.h
63
63
#
64
 
 
65
64
peigs_AR = $(AR) $(ARFLAGS)
66
65
peigs_RANLIB = $(RANLIB)
67
66
peigs_FC = $(FC) $(FOPTIONS) $(FOPTIMIZE) -I$(peigs_HDIR)
459
458
        peigs_CODEOBJ = DBLE
460
459
        peigs_CPU = RS600064
461
460
        peigs_COMM =TCGMSG
462
 
        peigs_CC  += -D$(peigs_CPU) -DSTD_DBL -DIBM  -O -qinline -qmaxmem=8192
463
 
        -WF,-Iinclude,-DIBM,-DSTD_DBL,-I$(peigs_HDIR),-D$(peigs_CPU),-D$(peigs_COMM) \
 
461
        peigs_CC  += -D$(peigs_CPU) -DSTD_DBL -DIBM  -O -qinline \
 
462
        -Iinclude -DIBM -DSTD_DBL -I$(peigs_HDIR) -D$(peigs_CPU) -D$(peigs_COMM) \
464
463
        -qfloat=rsqrt:fltint -qinline
465
464
        peigs_CPP +=   -DSTD_DBL -DIBM -I$(peigs_HDIR) -P
466
465
        ifdef USE_INTEGER4
670
669
endif
671
670
 
672
671
ifeq ($(peigs_TARGET),BGL)
673
 
#bluegene
 
672
#Blue Gene/L
674
673
     peigs_COMM =TCGMSG
675
674
     peigs_CPU = RS6000
676
675
     peigs_CODEOBJ=DBLE
683
682
endif
684
683
 
685
684
ifeq ($(peigs_TARGET),BGP)
686
 
#bluegene/p
687
 
     peigs_AR     = /bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc-bgp-linux-ar -r
688
 
     peigs_RANLIB = /bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc-bgp-linux-ranlib
 
685
#Blue Gene/P
689
686
     peigs_COMM =TCGMSG
690
687
     peigs_CPU = RS6000
691
688
     peigs_CODEOBJ=DBLE
692
 
     peigs_CC += -DSTD_INT -DSTD_DBL -g -O2
693
 
     peigs_FC += -WF,-Iinclude,-DSTD_DBL,-DSTD_INT,-DRS6000,-D$(peigs_COMM)
694
 
     peigs_CPP += -DDCMF -DBGP -DRS6000 -DSTD_INT -DSTD_DBL -I$(peigs_HDIR) -P
 
689
     peigs_CC += -DSTD_INT -DSTD_DBL -g -O3 -qstrict -qarch=450d -qtune=450
 
690
     peigs_FC += -WF,-Iinclude,-DTCGMSG,-DSTD_DBL,-DSTD_INT,-DRS6000,-D$(peigs_COMM)
 
691
     peigs_CPP += -DDCMF -DMPI -DBGP -DRS6000 -DSTD_INT -DSTD_DBL -I$(peigs_HDIR) -P
695
692
     peigs_COMMLIB = -L$(TOPDIR)/lib/$(NWCHEM_TARGET) -ltcgmsg
696
693
     peigs_BLASLIB   = -lesslbg
697
694
     peigs_LAPACKLIB = -llapack -lesslbg
698
 
endif
699
 
 
 
695
     #peigs_AR = powerpc-bgp-linux-ar -r
 
696
     #peigs_RANLIB = powerpc-bgp-linux-ranlib
 
697
endif
 
698
 
 
699
 
 
700
ifeq ($(peigs_TARGET),BGQ)
 
701
#Blue Gene/Q
 
702
     peigs_COMM =TCGMSG
 
703
     peigs_CPU = RS6000
 
704
     peigs_CODEOBJ=DBLE
 
705
     peigs_CC +=  -DSTD_DBL -g -O2
 
706
     # GNU
 
707
     #peigs_FC += -fdefault-integer-8 -g -O2 -funderscoring
 
708
     #peigs_FC += -Iinclude -DTCGMSG -DSTD_DBL -DSTD_INT -DRS6000 -D$(peigs_COMM)
 
709
     #peigs_BLASLIB   = -lblas 
 
710
     #peigs_LAPACKLIB = -llapack 
 
711
     # XL
 
712
     peigs_FC += -qintsize=8 -g -O2 -qEXTNAME
 
713
     ifdef USE_INTEGER4
 
714
      peigs_FC += -WF,-Iinclude,-DTCGMSG,-DSTD_DBL,-DSTD_INT,-DRS6000,-D$(peigs_COMM)
 
715
     else
 
716
      peigs_FC += -WF,-Iinclude,-DTCGMSG,-DSTD_DBL,-DRS6000,-D$(peigs_COMM)
 
717
     endif
 
718
     peigs_BLASLIB   = -lblas -lesslbg
 
719
     peigs_LAPACKLIB = -llapack -lesslbg
 
720
     #
 
721
     peigs_CPP += -DMPI -DBGQ -DRS6000  -DSTD_DBL -I$(peigs_HDIR) -P
 
722
     ifdef USE_INTEGER4
 
723
      peigs_CPP += -DSTD_INT
 
724
      peigs_CC  += -DSTD_INT
 
725
     endif
 
726
     peigs_COMMLIB = -L$(TOPDIR)/lib/$(NWCHEM_TARGET) -ltcgmsg
 
727
     peigs_AR = powerpc64-bgq-linux-ar -r
 
728
     peigs_RANLIB = powerpc64-bgq-linux-ranlib
 
729
endif
700
730
 
701
731
 
702
732
export peigs_COMM