~ubuntu-branches/ubuntu/lucid/mumps/lucid

« back to all changes in this revision

Viewing changes to libseq/mpi.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-12-07 17:56:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091207175651-ftogh061hebcqzty
Tags: 4.9.2.dfsg-1
* New upstream release (closes: #554159).
* Changed -lblas to -lblas-3gf in Makefile.*.inc (closes: #557699).
* Linking tests to shared instead of static libs (closes: #555759).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *
3
 
 *  This file is part of MUMPS 4.8.4, built on Mon Dec 15 15:31:38 UTC 2008
 
3
 *  This file is part of MUMPS 4.9.2, built on Thu Nov  5 07:05:08 UTC 2009
4
4
 *
5
5
 *
6
6
 *  This version of MUMPS is provided to you free of charge. It is public
7
7
 *  domain, based on public domain software developed during the Esprit IV
8
8
 *  European project PARASOL (1996-1999) by CERFACS, ENSEEIHT-IRIT and RAL.
9
9
 *  Since this first public domain version in 1999, the developments are
10
 
 *  supported by the following institutions: CERFACS, ENSEEIHT-IRIT, and
11
 
 *  INRIA.
 
10
 *  supported by the following institutions: CERFACS, CNRS, INPT(ENSEEIHT)-
 
11
 *  IRIT, and INRIA.
12
12
 *
13
 
 *  Main contributors are Patrick Amestoy, Iain Duff, Abdou Guermouche,
14
 
 *  Jacko Koster, Jean-Yves L'Excellent, and Stephane Pralet.
 
13
 *  Current development team includes Patrick Amestoy, Alfredo Buttari,
 
14
 *  Abdou Guermouche, Jean-Yves L'Excellent, Bora Ucar.
15
15
 *
16
16
 *  Up-to-date copies of the MUMPS package can be obtained
17
17
 *  from the Web pages:
24
24
 *
25
25
 *  User documentation of any code that uses this software can
26
26
 *  include this complete notice. You can acknowledge (using
27
 
 *  references [1], [2], and [3]) the contribution of this package
 
27
 *  references [1] and [2]) the contribution of this package
28
28
 *  in any scientific publication dependent upon the use of the
29
29
 *  package. You shall use reasonable endeavours to notify
30
30
 *  the authors of the package of this publication.
31
31
 *
32
 
 *   [1] P. R. Amestoy, I. S. Duff and  J.-Y. L'Excellent,
33
 
 *   Multifrontal parallel distributed symmetric and unsymmetric solvers,
34
 
 *   in Comput. Methods in Appl. Mech. Eng., 184,  501-520 (2000).
35
 
 *
36
 
 *   [2] P. R. Amestoy, I. S. Duff, J. Koster and  J.-Y. L'Excellent,
 
32
 *   [1] P. R. Amestoy, I. S. Duff, J. Koster and  J.-Y. L'Excellent,
37
33
 *   A fully asynchronous multifrontal solver using distributed dynamic
38
34
 *   scheduling, SIAM Journal of Matrix Analysis and Applications,
39
35
 *   Vol 23, No 1, pp 15-41 (2001).
40
36
 *
41
 
 *   [3] P. R. Amestoy and A. Guermouche and J.-Y. L'Excellent and
 
37
 *   [2] P. R. Amestoy and A. Guermouche and J.-Y. L'Excellent and
42
38
 *   S. Pralet, Hybrid scheduling for the parallel solution of linear
43
39
 *   systems. Parallel Computing Vol 32 (2), pp 136-156 (2006).
44
40
 *
46
42
 
47
43
#ifndef MUMPS_MPI_H
48
44
#define MUMPS_MPI_H
49
 
/* Those can be used by the main driver to the C interface */
50
 
 
51
 
/* Simple type for MPI communicator */
52
 
      typedef int MPI_Comm;
53
 
      int MPI_COMM_WORLD;
54
 
      int MPI_Init(int *pargc, char ***pargv);
55
 
      int MPI_Comm_rank(int  comm, int  *rank);
56
 
      int MPI_Finalize(void);
57
 
#endif
 
45
 
 
46
/* We define all symbols as extern "C" for users who call MUMPS with its
 
47
   libseq from a C++ driver. */
 
48
#ifdef __cplusplus
 
49
extern "C" {
 
50
#endif
 
51
 
 
52
/* This is the minimum to have the C interface of MUMPS work.
 
53
 * Most of the time, users who need this file have no call to MPI functions in
 
54
 * their own code. Hence it is not worth declaring all MPI functions here.
 
55
 * However if some users come to request some more stub functions of the MPI
 
56
 * standards, we may add them. But it is not worth doing it until then. */
 
57
 
 
58
typedef int MPI_Comm; /* Simple type for MPI communicator */
 
59
int MPI_COMM_WORLD;
 
60
 
 
61
int MPI_Init(int *pargc, char ***pargv);
 
62
int MPI_Comm_rank(int  comm, int  *rank);
 
63
int MPI_Finalize(void);
 
64
 
 
65
#ifdef __cplusplus
 
66
}
 
67
#endif
 
68
 
 
69
#endif /* MUMPS_MPI_H */