PDA

View Full Version : error LNK2005 with UMAT



piotrobo
2006-04-13, 06:40
Hello!
I am working with ABAQUS using UMAT.
After compiling and while creating library standardU.lib and object standardU.exp, the following is what I encountered:

standardU_static.lib(umat.obj) : error LNK2005: _UMAT already defined in competModif.obj
standardU.dll : fatal error LNK1169: one or more multiply defined symbols found
ABAQUS Error: Problem during linking - ABAQUS/Standard User Subroutines
ABAQUS/Analysis exited with errors

I will be gratifull, if you could help me
thanks in Advance

Piotrobo

Jorgen
2006-04-16, 17:08
Have your tried to use your UMAT with the following command:
abaqus job=... user=[umat.f]

That should work and is sometimes easier if you have problems with a shared library. You can also try to use the simple VUMAT that is provided here (http://www.polymerfem.com/modules.php?name=Downloads&d_op=getit&lid=33).
That VUMAT should work without problems.

- Jorgen