PDA

View Full Version : Ansys 11 + Ifv9 + Imsl 5


jaksonmv
2008-02-22, 09:42
Hi,

I'm having problems with the IMSL Fortran library. I have success to compile a USERMAT routine without the IMSL functions, but my constitutive model needs to use these functions (eigenvalue, eigenvector, transpose, inverse, ecc) and I don’t want to write these routines (functions).
The IMSL guide recommends the command “USE” to use the linear algebra operators (module), like in this fortran example:
---------------------------------------------
USE linear_operators
IMPLICIT none

DOUBLE PRECISION A(3,3), D(3,3)
D=EIG(A)
---------------------------------------------

Am I in the wrong way? Did I forget something?
Anyway, can someone help me to make it work?

Thanks,

Jakson

Jorgen
2008-02-24, 16:36
Yes, that looks right. Can you compile a static application that using the IMSL library?
Anyway, how do you like the IMSL library?

- Jorgen

jaksonmv
2008-02-24, 18:18
Hi Jorgen,
Now it work. The routine was fine. I just was using the module "linear_operators" in the wrong line.

Thanks,

Jakson