~ubuntu-branches/ubuntu/saucy/nwchem/saucy

« back to all changes in this revision

Viewing changes to src/tools/ga-4-3/armci/src/message.h

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Michael Banck, Daniel Leidert
  • Date: 2012-02-09 20:02:41 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120209200241-jgk03qfsphal4ug2
Tags: 6.1-1
* New upstream release.

[ Michael Banck ]
* debian/patches/02_makefile_flags.patch: Updated.
* debian/patches/02_makefile_flags.patch: Use internal blas and lapack code.
* debian/patches/02_makefile_flags.patch: Define GCC4 for LINUX and LINUX64
  (Closes: #632611 and LP: #791308).
* debian/control (Build-Depends): Added openssh-client.
* debian/rules (USE_SCALAPACK, SCALAPACK): Removed variables (Closes:
  #654658).
* debian/rules (LIBDIR, USE_MPIF4, ARMCI_NETWORK): New variables.
* debian/TODO: New file.
* debian/control (Build-Depends): Removed libblas-dev, liblapack-dev and
  libscalapack-mpi-dev.
* debian/patches/04_show_testsuite_diff_output.patch: New patch, shows the
  diff output for failed tests.
* debian/patches/series: Adjusted.
* debian/testsuite: Optionally run all tests if "all" is passed as option.
* debian/rules: Run debian/testsuite with "all" if DEB_BUILD_OPTIONS
  contains "checkall".

[ Daniel Leidert ]
* debian/control: Used wrap-and-sort. Added Vcs-Svn and Vcs-Browser fields.
  (Priority): Moved to extra according to policy section 2.5.
  (Standards-Version): Bumped to 3.9.2.
  (Description): Fixed a typo.
* debian/watch: Added.
* debian/patches/03_hurd-i386_define_path_max.patch: Added.
  - Define MAX_PATH if not defines to fix FTBFS on hurd.
* debian/patches/series: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _MESSAGE_H_
 
2
#define _MESSAGE_H_
 
3
 
 
4
#if defined(__cplusplus) || defined(c_plusplus)
 
5
extern "C" {
 
6
#endif
 
7
 
 
8
#define ARMCI_INT       -99
 
9
#define ARMCI_LONG      -101
 
10
#define ARMCI_LONG_LONG -102
 
11
#define ARMCI_FLOAT     -306
 
12
#define ARMCI_DOUBLE    -307
 
13
 
 
14
#define SCOPE_ALL     333
 
15
#define SCOPE_NODE    337
 
16
#define SCOPE_MASTERS 339
 
17
 
 
18
#define armci_msg_sel(x,n,op,type,contribute)\
 
19
        armci_msg_sel_scope(SCOPE_ALL,(x),(n),(op),(type),(contribute)) 
 
20
#if 0
 
21
#define armci_msg_bcast(buffer, len, root)\
 
22
        armci_msg_bcast_scope(SCOPE_ALL, (buffer), (len), (root))
 
23
#endif
 
24
 
 
25
extern void armci_msg_sel_scope(int scope, void *x, int n, char* op, 
 
26
                                int type, int contribute);
 
27
extern void armci_msg_bcast_scope(int scope, void* buffer, int len, int root);
 
28
extern void armci_msg_brdcst(void* buffer, int len, int root);
 
29
extern void armci_msg_snd(int tag, void* buffer, int len, int to);
 
30
extern void armci_msg_rcv(int tag, void* buffer, int buflen, int *msglen, int from);
 
31
extern int  armci_msg_rcvany(int tag, void* buffer, int buflen, int *msglen);
 
32
 
 
33
extern void armci_msg_gop_scope(int scope, void *x, int n, char* op, int type);
 
34
extern void armci_msg_igop(int *x, int n, char* op);
 
35
extern void armci_msg_lgop(long *x, int n, char* op);
 
36
extern void armci_msg_llgop(long long *x, int n, char* op);
 
37
extern void armci_msg_fgop(float *x, int n, char* op);
 
38
extern void armci_msg_dgop(double *x, int n, char* op);
 
39
extern void armci_exchange_address(void *ptr_ar[], int n);
 
40
extern void armci_msg_barrier();
 
41
extern void armci_msg_bintree(int scope, int* Root, int *Up, int *Left, int *Right);
 
42
 
 
43
extern int  armci_msg_me();
 
44
extern int  armci_msg_nproc();
 
45
extern void armci_msg_abort(int code);
 
46
extern double armci_timer();
 
47
 
 
48
extern void armci_msg_clus_brdcst(void *buf, int len);
 
49
extern void armci_msg_clus_igop(int *x, int n, char* op); 
 
50
extern void armci_msg_clus_fgop(float *x, int n, char* op); 
 
51
extern void armci_msg_clus_lgop(long *x, int n, char* op); 
 
52
extern void armci_msg_clus_llgop(long long *x, int n, char* op); 
 
53
extern void armci_msg_clus_dgop(double *x, int n, char* op); 
 
54
 
 
55
#if defined(__cplusplus) || defined(c_plusplus)
 
56
}
 
57
#endif
 
58
 
 
59
  
 
60
#endif