Hi,
In my UMAT i used this code to show error messages in my job monitor:
SUBROUTINE ThrowError(message)
IMPLICIT NONE
CHARACTER(LEN=*), INTENT(IN) :: message
EXTERNAL STDB_ABQERR
CHARACTER*500 STRING
STRING = 'Analysis is being terminated from a user subroutine:' // CHAR(10) // '***UMAT CALLED ERROR:'//TRIM(message)
CALL STDB_ABQERR(-3, STRING, 0, 0, '')
END SUBROUTINE ThrowError
i tried to change the STDB_ABQERR
to
CALL XPLB_ABQERR
but it isn't working. I am getting this error message in the log file:
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2024.2.0 Build 20240602
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.
End Compiling Single Precision Abaqus/Explicit User Subroutines
Begin Linking Single Precision Abaqus/Explicit User Subroutines
Microsoft (R) Incremental Linker Version 14.44.35211.0
Copyright (C) Microsoft Corporation. All rights reserved.
Bibliothek "explicitU.lib" und Objekt "explicitU.exp" werden erstellt.
explicitU_static.lib(SMAUXpUsubs_XP_IF.obj) : error LNK2005: DllMain ist bereits in MSVCRT.lib(dll_dllmain_stub.obj) definiert.
explicitU.dll : fatal error LNK1169: Mindestens ein mehrfach definiertes Symbol gefunden.
Abaqus Error: Problem during linking - Single Precision Abaqus/Explicit 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
Any ideas?
Here the link to the documentation: