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.