Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26734 Discussions

error LNK 2019: unresoled external symbol D referenced in function UMAT 41

weerasinghe__dakshit
92 Views

Hello everybody!

I'm trying to write a subroutine to LS Dyna code and am getting this error. It however compiles and generates the executable file. When I run the executable in my application, it will show me another error (attached herewith).

Attached herewith is the code dyn21.f. I ony modified the umat41 and umat41v.

Can anybody please help? I'm new to programming.

 

Thanks in advance.

0 Kudos
1 Reply
mecej4
Black Belt
92 Views

In subroutine umat41 you have expressions that reference d(1), d(2) and d(3). You should probably declare d as an array (of size 3 or as appropriate) and device a way to supply values for the array array elements.

If there are errors during the build of an EXE or DLL, it is usually of no use to attempt to make sense of the error messages that are generated when the defective EXE or DLL is run.

Reply