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

Problem in calling MKL Trust Region routine from Abaqus user subrotuine

V_T_
Beginner
563 Views

Hello,

I want to use the Trust Region solver of MKL in Abaqus user subroutine. I have a problem in using dtrnlsp_solve. As a test, I took an example from the manual (Example 14-1. dtrnlsp Usage in Fortran). It works well if I run this example as a separate project in Miscrosoft Visual Studio with MKL. However, when I call this example from the Abaqus user subroutine (in a module of user element subroutine) then I have a "unexpected error 193" or Abaqus "system error". I see that initialization goes smoothly (dtrnlsp_init is called) but the program fails in calling Trust Region solver (dtrnlsp_solve). Can you, please, give me some idea how to solve this problem? Thanks.

I use Intel Composer XE 2011, Microsoft Visual Studio 2008 and the Abaqus's versions 6.10-2 and 6.12. I included 'mkl_rci.fi' in the code statement.

0 Kudos
1 Reply
V_T_
Beginner
563 Views

I found the problem! The reason was a mistaken usage of integer(4) type instead of integer(8) for one of the MKL-routine variable. Now the subroutine works well.

 

0 Kudos
Reply