/[escript]/trunk/paso/src/MKL.h
ViewVC logotype

Contents of /trunk/paso/src/MKL.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1811 - (show annotations)
Thu Sep 25 23:11:13 2008 UTC (11 years ago) by ksteube
File MIME type: text/plain
File size: 1625 byte(s)
Copyright updated in all files

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2008 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 /**************************************************************/
16
17 /* Paso: SystemMatrix: interface to intel MKL sparse solver */
18
19 /**************************************************************/
20
21 /* Copyrights by ACcESS Australia 2006 */
22 /* Author: gross@access.edu.au */
23
24 /**************************************************************/
25
26 #ifndef INC_PASO_MKL
27 #define INC_PASO_MKL
28
29 #include "SystemMatrix.h"
30 #include "performance.h"
31
32 # if defined(_WIN32) || defined(_WIN64)
33 #define PARDISO pardiso
34 #else
35 #define PARDISO pardiso_
36 #endif
37
38 #ifdef MKL
39 #include "mkl_pardiso.h"
40 #endif
41
42
43 #define MKL_ERROR_NO 0
44 #define MKL_MTYPE_SYM -2
45 #define MKL_MTYPE_UNSYM 11
46
47 #define MKL_REORDERING_MINIMUM_DEGREE 0
48 #define MKL_REORDERING_NESTED_DISSECTION 2
49 #define MKL_PHASE_SYMBOLIC_FACTORIZATION 11
50 #define MKL_PHASE_FACTORIZATION 22
51 #define MKL_PHASE_SOLVE 33
52 #define MKL_PHASE_RELEASE_MEMORY -1
53
54 /* extern int PARDISO
55 # (void *, int *, int *, int *, int *, int *,
56 # double *, int *, int *, int *, int *, int *,
57 # int *, double *, double *, int *);
58 */
59
60
61 void Paso_MKL_free(Paso_SystemMatrix* A);
62 void Paso_MKL(Paso_SystemMatrix* A, double* out, double* in, Paso_Options* options,Paso_Performance* pp);
63 #endif

  ViewVC Help
Powered by ViewVC 1.1.26