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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 ksteube 1312
2     /*******************************************************
3 ksteube 1811 *
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 dhawcroft 631
14 ksteube 1811
15 gross 425 /**************************************************************/
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 gross 584 #include "performance.h"
31 gross 425
32     # if defined(_WIN32) || defined(_WIN64)
33     #define PARDISO pardiso
34     #else
35     #define PARDISO pardiso_
36     #endif
37    
38     #ifdef MKL
39 ksteube 1705 #include "mkl_pardiso.h"
40 gross 425 #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 gross 584 void Paso_MKL(Paso_SystemMatrix* A, double* out, double* in, Paso_Options* options,Paso_Performance* pp);
63 gross 425 #endif

  ViewVC Help
Powered by ViewVC 1.1.26