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

« back to all changes in this revision

Viewing changes to src/tools/ga-5-2/armci/src/include/memlock.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
/* $Id: memlock.h,v 1.18 2004-09-21 17:26:23 manoj Exp $ */
 
2
#ifndef _MEMLOCK_H_
 
3
#define _MEMLOCK_H_ 
 
4
 
 
5
 
 
6
/* data structure for locking memory areas */
 
7
#define MAX_SLOTS 8
 
8
typedef struct{
 
9
    void *start;
 
10
    void *end;
 
11
} memlock_t;
 
12
 
 
13
/* SGI Altix Stuff */
 
14
typedef struct {
 
15
  void *seg_addr;  /* master's starting address of the segment */
 
16
  size_t seg_size;
 
17
  size_t tile_size;
 
18
  size_t mem_offset;
 
19
}armci_memoffset_t;
 
20
 
 
21
extern void** memlock_table_array;
 
22
extern int *armci_use_memlock_table;
 
23
 
 
24
#if defined(LAPI  ) || defined(FUJITSU)  || defined(PTHREADS) || \
 
25
  defined(QUADRICS) || defined(HITACHI)  || \
 
26
  defined(CYGWIN)   || defined(__crayx1) || defined(NEC)      || \
 
27
  (defined(LINUX64) && defined(__GNUC__) && defined(__alpha__))
 
28
#  define ARMCI_LOCKMEM armci_lockmem_
 
29
#  define ARMCI_UNLOCKMEM armci_unlockmem_
 
30
#else
 
31
#  define ARMCI_LOCKMEM armci_lockmem
 
32
#  define ARMCI_UNLOCKMEM armci_unlockmem
 
33
#endif
 
34
 
 
35
extern void ARMCI_LOCKMEM(void *pstart, void *pend, int proc);
 
36
extern void ARMCI_UNLOCKMEM(int proc);
 
37
#define MEMLOCK_SHMEM_FLAG 
 
38
#endif