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

« back to all changes in this revision

Viewing changes to src/tools/ga-5-1/armci/src/devices/mpi-mt/mpi2.h

  • 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
 
#ifndef MPI2_H
2
 
#define MPI2_H
3
 
 
4
 
#include <mpi.h>
5
 
 
6
 
#define MPI_SPAWN_DEBUG 0
7
 
 
8
 
#undef MPI_SPAWN_ZEROCOPY /* enables zero-copy for large requests */
9
 
 
10
 
#ifdef MPI_SPAWN_ZEROCOPY
11
 
#  define MPI_USER_DEF_DATATYPE /* Enables MPI userdefined type for non-contig
12
 
                                 * data, if MPI_SPAWN_ZEROCOPY is enabled */
13
 
#endif
14
 
 
15
 
/* uncomment MULTIPLE_BUFS macro definition to disable multiple buffers */
16
 
#undef MULTIPLE_BUFS
17
 
 
18
 
#define ARMCI_MPI_SPAWN_INIT_TAG   1000
19
 
#define ARMCI_MPI_SPAWN_TAG        2000
20
 
#define ARMCI_MPI_SPAWN_DATA_TAG   3000
21
 
#define ARMCI_MPI_SPAWN_VDATA_TAG  4000
22
 
#define ARMCI_MPI_CLIENT2SERVER_TAG 4500
23
 
#define ARMCI_MPI_SERVER2CLIENT_TAG 5000
24
 
 
25
 
/* In case of multiple buffers, we use tags from 2001 to 2999 (999 tags
26
 
 * total) to ensure flow control at the server side */
27
 
#define ARMCI_MPI_SPAWN_TAG_BEGIN  2001
28
 
#define ARMCI_MPI_SPAWN_TAG_END    2999
29
 
 
30
 
#define GET_SEND_BUFFER   _armci_buf_get
31
 
#define FREE_SEND_BUFFER  _armci_buf_release
32
 
 
33
 
#define COMPLETE_HANDLE   _armci_buf_complete_nb_request
34
 
#define TEST_HANDLE       _armci_buf_test_nb_request
35
 
 
36
 
#define SEND 0
37
 
#define RECV 1
38
 
 
39
 
extern void armci_mpi_strided(int op, void *ptr, int stride_levels,
40
 
                              int stride_arr[],  int count[], int proc,
41
 
                              MPI_Comm comm);
42
 
 
43
 
extern void armci_mpi_strided2(int op, void *ptr, int stride_levels,
44
 
                               int stride_arr[], int count[], int proc,
45
 
                               MPI_Comm comm);
46
 
 
47
 
 
48
 
#endif /* MPI2_H */