Hi,
I am a new comer to this forum (impressed and attracted me so much) which I came across through Googling.
I have one question about using user subroutine in ABAQUS. Can the user subroutine in ABAQUS call third partys DLL?
I have the ABAQUS input file (200foot.inp), the user subroutine UEL (UEL.FOR) and a DLL (CVFDLL). All these three files were tested and assumed to be correct (with the !Dec$ declarations). Everything is fine when the UEL does not use the DLL using the following command line:
C:\Temp>abaqus job=20foot user=uel interactive
But an error always occur when the UEL attempts to use the DLL. Ther error message is:
C:\Temp>abaqus job=20foot user=uel interactive
Abaqus JOB 20foot
Abaqus Version 6.7-1
Begin Compiling Abaqus/Standard User Subroutines
3/4/2009 3:29:23 PM
End Compiling Abaqus/Standard User Subroutines
3/4/2009 3:29:24 PM
Begin Linking Abaqus/Standard User Subroutines
3/4/2009 3:29:24 PM
Creating library standardU.lib and object standardU.exp
uel.obj : error LNK2019: unresolved external symbol __imp__CVFDLL@0 referenced in function _UEL
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 version of Abaqus may need to be adjusted.
Abaqus/Analysis exited with errors
To me, that means the DLL can not be located by ABAQUS and can not be linked to create the StandardU.dll. Is my understanding correct?
I tried:
1. add usub_lib_dir in the enviromental setting file (abaqus_v6.env) to direct to the path where the DLL is,
2. add /DLL:X:\path\CVFDLL.DLL to the link_sl= in abaqus_v6.env.
but neither works.
the first got the same error prompt and the second got similiar error message:
C:\Temp>abaqus job=20foot user=uel interactive
Abaqus JOB 20foot
Abaqus Version 6.7-1
Begin Compiling Abaqus/Standard User Subroutines
3/4/2009 3:40:20 PM
End Compiling Abaqus/Standard User Subroutines
3/4/2009 3:40:20 PM
Begin Linking Abaqus/Standard User Subroutines
3/4/2009 3:40:20 PM
LINK : fatal error LNK1146: no argument specified with option /dll:
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 version of Abaqus may need to be adjusted.
Abaqus/Analysis exited with errors
Does anybody have some suggestions? Any comments will be appreciated.
thanks