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

« back to all changes in this revision

Viewing changes to src/tools/ga-5-2/armci/tcgmsg/ipcv5.0/tcgshmem.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
/** @file
 
2
 * Header file which declares stubs for the shared memory interface.
 
3
 * Note that the input arguments switch between integers and pointers
 
4
 * to integers depending on if they are modified on return.
 
5
 */
 
6
#ifndef SHMEM_H_
 
7
#define SHMEM_H_
 
8
 
 
9
/**
 
10
 * Create a shared region of at least size bytes, returning the actual size,
 
11
 * the id associated with the region. The return vaue is a pointer to the
 
12
 * the region. Any error is a hard fail.
 
13
 */
 
14
extern char *CreateSharedRegion(long *id, long *size);
 
15
 
 
16
/**
 
17
 * Detach a process from a shared memory region. 0 is returned on success,
 
18
 * -1 for failure. id, size, and addr much match exactly those items returned
 
19
 * from CreateSharedRegion
 
20
 *
 
21
 */
 
22
extern long DetachSharedRegion(long id, long size, char *addr);
 
23
 
 
24
/**
 
25
 * Delete a shared region from the system. This has to be done on the SUN
 
26
 * to remove it from the system. On the Alliant the shared region disappears
 
27
 * when the last process dies or detaches. Returns 0 on success, -1 on error.
 
28
 */
 
29
extern long DeleteSharedRegion(long id);
 
30
 
 
31
/**
 
32
 * Attach to a shared memory region of known id and size. Returns the
 
33
 * address of the mapped memory. Size must exactly match the size returned
 
34
 * from CreateSharedRegion (which in turn is the requested size rounded
 
35
 * up to a multiple of 4096). Any error is a hard fail. 
 
36
 */
 
37
extern char *AttachSharedRegion(long id, long size);
 
38
 
 
39
#endif /* SHMEM_H_ */