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

error LNK2019: unresolved external symbol

xxwxxw
Beginner
591 Views
I used IVF to convert a project from CVF. When I compiled it, it came out such an error:
MODSIM error LNK2019: unresolved external symbol _ABORT@8 referenced in function _MAIN__
The code is:

4123

CALL ABORT('MODSIM HAS ENDED')

So which library shall Iuse if I want to use this 'abort' ? Thanks.

xiaowei

0 Kudos
1 Reply
Steven_L_Intel1
Employee
591 Views
Add USE IFPORT to the routine that calls ABORT. Either that, or change the calling convention to the default, instead of CVF which the converter set it to. (Also change the string length convention to be the default of "after all args".)
0 Kudos
Reply