SuperLU Distributed 8.2.1
Distributed memory sparse direct solver
superlu_FCnames.h
Go to the documentation of this file.
1
23#ifndef __SUPERLU_FCNAMES /* allow multiple inclusions */
24#define __SUPERLU_FCNAMES
25
26/* These are the functions defined in F90 wraper */
27#define f_create_gridinfo_handle FC_GLOBAL(f_create_gridinfo_handle,F_CREATE_GRIDINFO_HANDLE)
28#define f_create_gridinfo3d_handle FC_GLOBAL(f_create_gridinfo3d_handle,F_CREATE_GRIDINFO3D_HANDLE)
29#define f_create_options_handle FC_GLOBAL(f_create_options_handle,F_CREATE_OPTIONS_HANDLE)
30#define f_create_SuperMatrix_handle FC_GLOBAL(f_create_supermatrix_handle,F_CREATE_SUPERMATRIX_HANDLE)
31#define f_destroy_gridinfo_handle FC_GLOBAL(f_destroy_gridinfo_handle,F_DESTROY_GRIDINFO_HANDLE)
32#define f_destroy_options_handle FC_GLOBAL(f_destroy_options_handle,F_DESTROY_OPTIONS_HANDLE)
33#define f_destroy_ScalePerm_handle FC_GLOBAL(f_destroy_scaleperm_handle,F_DESTROY_SCALEPERM_HANDLE)
34#define f_destroy_LUstruct_handle FC_GLOBAL(f_destroy_lustruct_handle,F_DESTROY_LUSTRUCT_HANDLE)
35#define f_destroy_SOLVEstruct_handle FC_GLOBAL(f_destroy_solvestruct_handle,F_DESTROY_SOLVESTRUCT_HANDLE)
36#define f_destroy_SuperMatrix_handle FC_GLOBAL(f_destroy_supermatrix_handle,F_DESTROY_SUPERMATRIX_HANDLE)
37#define f_create_SuperLUStat_handle FC_GLOBAL(f_create_superlustat_handle,F_CREATE_SUPERLUSTAT_HANDLE)
38#define f_destroy_SuperLUStat_handle FC_GLOBAL(f_destroy_superlustat_handle,F_DESTROY_SUPERLUSTAT_HANDLE)
39#define f_get_gridinfo FC_GLOBAL(f_get_gridinfo,F_GET_GRIDINFO)
40#define f_get_gridinfo3d FC_GLOBAL(f_get_gridinfo3d,F_GET_GRIDINFO3D)
41#define f_get_SuperMatrix FC_GLOBAL(f_get_supermatrix,F_GET_SUPERMATRIX)
42#define f_set_SuperMatrix FC_GLOBAL(f_set_supermatrix,F_SET_SUPERMATRIX)
43#define f_get_CompRowLoc_Matrix FC_GLOBAL(f_get_comprowloc_matrix,F_GET_COMPROWLOC_MATRIX)
44#define f_set_CompRowLoc_Matrix FC_GLOBAL(f_set_comprowloc_matrix,F_SET_COMPROWLOC_MATRIX)
45#define f_get_superlu_options FC_GLOBAL(f_get_superlu_options,F_GET_SUPERLU_OPTIONS)
46#define f_set_superlu_options FC_GLOBAL(f_set_superlu_options,F_SET_SUPERLU_OPTIONS)
47#define f_set_default_options FC_GLOBAL(f_set_default_options,F_SET_DEFAULT_OPTIONS)
48#define f_superlu_gridinit FC_GLOBAL(f_superlu_gridinit,F_SUPERLU_GRIDINIT)
49#define f_superlu_gridinit3d FC_GLOBAL(f_superlu_gridinit3d,F_SUPERLU_GRIDINIT3D)
50#define f_superlu_gridmap FC_GLOBAL(f_superlu_gridmap,F_SUPERLU_GRIDMAP)
51#define f_superlu_gridexit FC_GLOBAL(f_superlu_gridexit,F_SUPERLU_GRIDEXIT)
52#define f_PStatInit FC_GLOBAL(f_pstatinit,F_PSTATINIT)
53#define f_PStatFree FC_GLOBAL(f_pstatfree,F_PSTATFREE)
54#define f_Destroy_CompRowLoc_Mat_dist FC_GLOBAL(f_destroy_comprowloc_mat_dist,F_DESTROY_COMPROWLOC_MAT_DIST)
55#define f_Destroy_SuperMat_Store_dist FC_GLOBAL(f_destroy_supermat_store_dist,F_DESTROY_SUPERMAT_STORE_DIST)
56#define f_check_malloc FC_GLOBAL(f_check_malloc,F_CHECK_MALLOC)
57
59#define f_dcreate_ScalePerm_handle FC_GLOBAL(f_dcreate_scaleperm_handle,F_DCREATE_SCALEPERM_HANDLE)
60#define f_dcreate_LUstruct_handle FC_GLOBAL(f_dcreate_lustruct_handle,F_DCREATE_LUSTRUCT_HANDLE)
61#define f_dcreate_SOLVEstruct_handle FC_GLOBAL(f_dcreate_solvestruct_handle,F_DCREATE_SOLVESTRUCT_HANDLE)
62#define f_dScalePermstructInit FC_GLOBAL(f_dscalepermstructinit,F_DSCALEPERMSTRUCTINIT)
63#define f_dScalePermstructFree FC_GLOBAL(f_dscalepermstructfree,F_DSCALEPERMSTRUCTFREE)
64#define f_dLUstructInit FC_GLOBAL(f_dlustructinit,F_DLUSTRUCTINIT)
65#define f_dLUstructFree FC_GLOBAL(f_dlustructfree,F_DLUSTRUCTFREE)
66#define f_dDestroy_LU_SOLVE_struct FC_GLOBAL(f_ddestroy_lu_solve_struct,F_DDESTROY_LU_SOLVE_STRUCT)
67#define f_dDestroy_LU_SOLVE_struct_3d FC_GLOBAL(f_ddestroy_lu_solve_struct_3d,F_DDESTROY_LU_SOLVE_STRUCT_3D)
68#define f_dDestroy_A3d_gathered_on_2d FC_GLOBAL(f_ddestroy_a3d_gathered_on_2d,F_DDESTROY_A3D_GATHERED_ON_2D)
69
70#define f_dCreate_CompRowLoc_Mat_dist FC_GLOBAL(f_dcreate_comprowloc_mat_dist,F_DCREATE_COMPROWLOC_MAT_DIST)
71#define f_dSolveFinalize FC_GLOBAL(f_dsolvefinalize,F_DSOLVEFINALIZE)
72#define f_pdgssvx FC_GLOBAL(f_pdgssvx,F_PDGSSVX)
73#define f_pdgssvx3d FC_GLOBAL(f_pdgssvx3d,F_PDGSSVX3D)
74#define f_dcreate_dist_matrix FC_GLOBAL(f_dcreate_dist_matrix,F_DCREATE_DIST_MATRIX)
75#define f_dcreate_matrix_x_b FC_GLOBAL(f_dcreate_matrix_x_b,F_DCREATE_MATRIX_X_B)
76#define f_dcreate_matrix_x_b_3d FC_GLOBAL(f_dcreate_matrix_x_b_3d,F_DCREATE_MATRIX_X_B_3D)
77
79#define f_zcreate_ScalePerm_handle FC_GLOBAL(f_zcreate_scaleperm_handle,F_ZCREATE_SCALEPERM_HANDLE)
80#define f_zcreate_LUstruct_handle FC_GLOBAL(f_zcreate_lustruct_handle,F_ZCREATE_LUSTRUCT_HANDLE)
81#define f_zcreate_SOLVEstruct_handle FC_GLOBAL(f_zcreate_solvestruct_handle,F_ZCREATE_SOLVESTRUCT_HANDLE)
82#define f_zScalePermstructInit FC_GLOBAL(f_zscalepermstructinit,F_ZSCALEPERMSTRUCTINIT)
83#define f_zScalePermstructFree FC_GLOBAL(f_zscalepermstructfree,F_ZSCALEPERMSTRUCTFREE)
84#define f_zLUstructInit FC_GLOBAL(f_zlustructinit,F_ZLUSTRUCTINIT)
85#define f_zLUstructFree FC_GLOBAL(f_zlustructfree,F_ZLUSTRUCTFREE)
86#define f_zDestroy_LU_SOLVE_struct FC_GLOBAL(f_zdestroy_lu_solve_struct,F_ZDESTROY_LU_SOLVE_STRUCT)
87#define f_zDestroy_LU_SOLVE_struct_3d FC_GLOBAL(f_zdestroy_lu_solve_struct_3d,F_ZDESTROY_LU_SOLVE_STRUCT_3D)
88#define f_zDestroy_A3d_gathered_on_2d FC_GLOBAL(f_zdestroy_a3d_gathered_on_2d,F_ZDESTROY_A3D_GATHERED_ON_2D)
89
90#define f_zCreate_CompRowLoc_Mat_dist FC_GLOBAL(f_zcreate_comprowloc_mat_dist,F_ZCREATE_COMPROWLOC_MAT_DIST)
91#define f_zSolveFinalize FC_GLOBAL(f_zsolvefinalize,F_ZSOLVEFINALIZE)
92#define f_pzgssvx FC_GLOBAL(f_pzgssvx,F_PZGSSVX)
93#define f_pzgssvx3d FC_GLOBAL(f_pzgssvx3d,F_PZGSSVX3D)
94#define f_zcreate_matrix_x_b FC_GLOBAL(f_zcreate_matrix_x_b,F_ZCREATE_MATRIX_X_B)
95#define f_zcreate_matrix_x_b_3d FC_GLOBAL(f_zcreate_matrix_x_b_3d,F_ZCREATE_MATRIX_X_B_3D)
96
97/* BLAS */
98#define sasum_ FC_GLOBAL(sasum,SASUM)
99#define isamax_ FC_GLOBAL(isamax,ISAMAX)
100#define scopy_ FC_GLOBAL(scopy,SCOPY)
101#define sscal_ FC_GLOBAL(sscal,SSCAL)
102#define sger_ FC_GLOBAL(sger,SGER)
103#define snrm2_ FC_GLOBAL(snrm2,SNRM2)
104#define ssymv_ FC_GLOBAL(ssymv,SSYMV)
105#define sdot_ FC_GLOBAL(sdot,SDOT)
106#define saxpy_ FC_GLOBAL(saxpy,SAXPY)
107#define ssyr2_ FC_GLOBAL(ssyr2,SSYR2)
108#define srot_ FC_GLOBAL(srot,SROT)
109#define sgemv_ FC_GLOBAL(sgemv,SGEMV)
110#define strsv_ FC_GLOBAL(strsv,STRSV)
111#define sgemm_ FC_GLOBAL(sgemm,SGEMM)
112#define strsm_ FC_GLOBAL(strsm,STRSM)
113
114#define dasum_ FC_GLOBAL(dasum,DASUM)
115#define idamax_ FC_GLOBAL(damax,DAMAX)
116#define dcopy_ FC_GLOBAL(dcopy,DCOPY)
117#define dscal_ FC_GLOBAL(dscal,DSCAL)
118#define dger_ FC_GLOBAL(dger,DGER)
119#define dnrm2_ FC_GLOBAL(dnrm2,DNRM2)
120#define dsymv_ FC_GLOBAL(dsymv,DSYMV)
121#define ddot_ FC_GLOBAL(ddot,DDOT)
122#define daxpy_ FC_GLOBAL(daxpy,DAXPY)
123#define dsyr2_ FC_GLOBAL(dsyr2,DSYR2)
124#define drot_ FC_GLOBAL(drot,DROT)
125#define dgemv_ FC_GLOBAL(dgemv,DGEMV)
126#define dtrsv_ FC_GLOBAL(dtrsv,DTRSV)
127#define dgemm_ FC_GLOBAL(dgemm,DGEMM)
128#define dtrsm_ FC_GLOBAL(dtrsm,DTRSM)
129
130#define scasum_ FC_GLOBAL(scasum,SCASUM)
131#define icamax_ FC_GLOBAL(icamax,ICAMAX)
132#define ccopy_ FC_GLOBAL(ccopy,CCOPY)
133#define cscal_ FC_GLOBAL(cscal,CSCAL)
134#define scnrm2_ FC_GLOBAL(scnrm2,SCNRM2)
135#define caxpy_ FC_GLOBAL(caxpy,CAXPY)
136#define cgemv_ FC_GLOBAL(cgemv,CGEMV)
137#define ctrsv_ FC_GLOBAL(ctrsv,CTRSV)
138#define cgemm_ FC_GLOBAL(cgemm,CGEMM)
139#define ctrsm_ FC_GLOBAL(ctrsm,CTRSM)
140#define cgerc_ FC_GLOBAL(cgerc,CGERC)
141#define chemv_ FC_GLOBAL(chemv,CHEMV)
142#define cher2_ FC_GLOBAL(cher2,CHER2)
143
144#define dzasum_ FC_GLOBAL(dzasum,DZASUM)
145#define izamax_ FC_GLOBAL(izamax,IZAMAX)
146#define zcopy_ FC_GLOBAL(zcopy,ZCOPY)
147#define zscal_ FC_GLOBAL(zscal,ZSCAL)
148#define dznrm2_ FC_GLOBAL(dznrm2,DZNRM2)
149#define zaxpy_ FC_GLOBAL(zaxpy,ZAXPY)
150#define zgemv_ FC_GLOBAL(zgemv,ZGEMV)
151#define ztrsv_ FC_GLOBAL(ztrsv,ZTRSV)
152#define zgemm_ FC_GLOBAL(zgemm,ZGEMM)
153#define ztrsm_ FC_GLOBAL(ztrsm,ZTRSM)
154#define zgerc_ FC_GLOBAL(zgerc,ZGERC)
155#define zhemv_ FC_GLOBAL(zhemv,ZHEMV)
156#define zher2_ FC_GLOBAL(zher2,ZHER2)
157#define zgeru_ FC_GLOBAL(zgeru,ZGERU)
158
159/* LAPACK */
160#define strtri_ FC_GLOBAL(strtri,STRTRI)
161#define dtrtri_ FC_GLOBAL(dtrtri,DTRTRI)
162#define ctrtri_ FC_GLOBAL(ctrtri,CTRTRI)
163#define ztrtri_ FC_GLOBAL(ztrtri,ZTRTRI)
164
165/*
166#define mc64id_dist mc64id_dist
167#define mc64ad_dist mc64ad_dist
168*/
169
170#define c_bridge_dgssv_ FC_GLOBAL(c_bridge_dgssv,C_BRIDGE_DGSSV)
171#define c_fortran_slugrid_ FC_GLOBAL(c_fortran_slugrid,C_FORTRAN_SLUGRID)
172#define c_fortran_pdgssvx_ FC_GLOBAL(c_fortran_pdgssvx,C_FORTRAN_PDGSSVX)
173#define c_fortran_pdgssvx_ABglobal_ FC_GLOBAL(c_fortran_pdgssvx_ABglobal,C_FORTRAN_PDGSSVX_ABGLOBAL)
174#define c_fortran_pzgssvx_ FC_GLOBAL(c_fortran_pzgssvx,C_FORTRAN_PZGSSVX)
175#define c_fortran_pzgssvx_ABglobal_ FC_GLOBAL(c_fortran_pzgssvx_ABglobal,C_FORTRAN_PZGSSVX_ABGLOBAL)
176
177
178#endif /* __SUPERLU_FCNAMES */