Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

8 byte integer version of pardiso

wjiang123
Beginner
668 Views

Dear users of pardiso,

I found in MKL reference manual that argument pt(64) must be defined as INTEGER*8 for 64-bit architectures. What about other integer type parameters? Is the present version supporting 8 byte integers? Thanks,

Wen

0 Kudos
1 Solution
Gennady_F_Intel
Moderator
668 Views

Wen,

If we are talking about Pardiso, then 2 options:

for ILP64 interface all integer types are INTEGER*8,

but for LP64 interface not, all integer types are 4 bytes

as an example, please look at $MKLROOT/examples/solver/source/pardiso_sym_c.c

you can see there:

#if defined(MKL_ILP64)

#define MKL_INT long long

#else

#define MKL_INT int

#endif

More info about LP64 and ILP64 interfaces concepts you can find into MKL User Guide ( see Chapter 3, Support for ILP64 Programming )

PS:

Note that some Intel MKL functions ( not Pardiso ) and subroutines have scalar or array parameters of

type INTEGER*4 or INTEGER(KIND=4), which are always 4-byte, regardless of whether the

code is compiled with the /4I8 option.

--Gennady

View solution in original post

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
669 Views

Wen,

If we are talking about Pardiso, then 2 options:

for ILP64 interface all integer types are INTEGER*8,

but for LP64 interface not, all integer types are 4 bytes

as an example, please look at $MKLROOT/examples/solver/source/pardiso_sym_c.c

you can see there:

#if defined(MKL_ILP64)

#define MKL_INT long long

#else

#define MKL_INT int

#endif

More info about LP64 and ILP64 interfaces concepts you can find into MKL User Guide ( see Chapter 3, Support for ILP64 Programming )

PS:

Note that some Intel MKL functions ( not Pardiso ) and subroutines have scalar or array parameters of

type INTEGER*4 or INTEGER(KIND=4), which are always 4-byte, regardless of whether the

code is compiled with the /4I8 option.

--Gennady

0 Kudos
Reply