Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28381 Discussions

Problem Linking Abaqus/Standard User Subroutines " unresolved external symbol"

Hessein
Novice
3,050 Views

Dear Helpers,

I have Abaqus 2020 linked to intel oneAPI and it runs run ok until I had this issue. "error LNK2019: unresolved external symbol ROTSIG referenced in function umat.R"  ROTSIG is a call inside the UMAT. Is there any quick way to fix the problem. I use VS 2019 for compiling. The error statement is below

Begin Linking Abaqus/Standard User Subroutines
Creating library standardU.lib and object standardU.exp
swell.obj : error LNK2019: unresolved external symbol ROTSIG referenced in function umat.R
standardU.dll : fatal error LNK1120: 1 unresolved externals
Abaqus Error: Problem during linking - Abaqus/Standard User Subroutines.
This error may be due to a mismatch in the Abaqus user subroutine arguments.
These arguments sometimes change from release to release, so user subroutines
used with a previous release of Abaqus may need to be adjusted.
Abaqus/Analysis exited with errors

 

Thanks in advance!

0 Kudos
1 Solution
Barbara_P_Intel
Moderator
3,026 Views

What version of the compiler are you using?

If you are using oneAPI 2021.1.2 or 2021.2.0 there is a bug.  This posting on this Forum has the workaround.

 

View solution in original post

0 Kudos
5 Replies
mecej4
Honored Contributor III
3,038 Views

ROTSIG is an Abaqus-supplied subroutine. It is not part of standard Fortran or supplied by Intel. There are a small number of Abaqus users who are members in this forum, but your best solution would be to ask Abaqus and Abaqus user forums.

0 Kudos
Barbara_P_Intel
Moderator
3,027 Views

What version of the compiler are you using?

If you are using oneAPI 2021.1.2 or 2021.2.0 there is a bug.  This posting on this Forum has the workaround.

 

0 Kudos
Hessein
Novice
3,022 Views

I am using Fortran 2021.2.0.

What is the bug if you don't mind knowing that I have the program linked and worked well for several examples

0 Kudos
Hessein
Novice
3,016 Views
0 Kudos
Hessein
Novice
3,013 Views

The problem is solved I had to use the following bug

!DEC$ ATTRIBUTES ALIAS:"rotsig"::ROTSIG

 

Thanks for the comment #mecej4

0 Kudos
Reply