~ubuntu-branches/ubuntu/trusty/nwchem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/tools/ga-5-1/m4/armci_x86copy.m4

  • 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
 
# ARMCI_X86COPY()
2
 
# ---------------
3
 
# Attempt to compile the inline assembly x86copy code.  If we fail,
4
 
# search for a list of compilers known to work and try again.
5
 
#
6
 
AC_DEFUN([ARMCI_X86COPY], [
7
 
AC_CACHE_CHECK([whether we can compile x86copy inline assembly],
8
 
    [armci_cv_as_x86copy],
9
 
    [ga_compile="$CC -c $CFLAGS -I$ARMCI_TOP_SRCDIR/src/include $CPPFLAGS $ARMCI_TOP_SRCDIR/src/common/x86copy.c"
10
 
     AS_ECHO(["$ga_compile"])>&AS_MESSAGE_LOG_FD
11
 
     AS_IF([$ga_compile 1>&AS_MESSAGE_LOG_FD 2>&1],
12
 
        [armci_cv_as_x86copy=yes],
13
 
        [armci_cv_as_x86copy=no])
14
 
     rm -f x86copy.o])
15
 
AC_CACHE_CHECK([whether we can compile x86copy inline assembly with help],
16
 
    [armci_cv_as_x86copy_with],
17
 
    [AC_PATH_PROGS_FEATURE_CHECK([ARMCI_X86COPY_AS], [bgxlc xlc gcc],
18
 
        [ga_compile="$ac_path_ARMCI_X86COPY_AS -c $CFLAGS -I$ARMCI_TOP_SRCDIR/src/include $CPPFLAGS $ARMCI_TOP_SRCDIR/src/common/x86copy.c"
19
 
         AS_ECHO(["$ga_compile"])>&AS_MESSAGE_LOG_FD
20
 
         AS_IF([$ga_compile 1>&AS_MESSAGE_LOG_FD 2>&1],
21
 
            [armci_cv_as_x86copy_with=$ac_path_ARMCI_X86COPY_AS
22
 
             ac_cv_path_ARMCI_X86COPY_AS=$ac_path_ARMCI_X86COPY_AS
23
 
             ac_path_ARMCI_X86COPY_AS_found=:])
24
 
         rm -f x86copy.o],
25
 
        [armci_cv_as_x86copy_with=no])])
26
 
AC_SUBST([ARMCI_X86COPY_AS], [$ac_cv_path_ARMCI_X86COPY_AS])
27
 
AS_CASE([$ga_cv_target:$host_cpu],
28
 
[LINUX:*86*],
29
 
    [armci_cv_as_x86copy_need=yes
30
 
     AC_DEFINE([COPY686], [1], [Defined when TARGET=LINUX and cpu is x86])])
31
 
AM_CONDITIONAL([INLINE_X86COPY_NEEDED],
32
 
    [test "x$armci_cv_as_x86copy_need" = xyes])
33
 
AM_CONDITIONAL([INLINE_X86COPY_OKAY],
34
 
    [test "x$armci_cv_as_x86copy" = xyes])
35
 
AM_CONDITIONAL([INLINE_X86COPY_WITH],
36
 
    [test "x$armci_cv_as_x86copy_with" != xno])
37
 
])dnl