nitinchandola
2008-07-18, 13:33
I have ABAQUS 6.7-1. I was trying to run a user subroutine which did not work. It showed ifort.exe missing. I have installed the Intel Fortran Compiler now.
I tried running the first UMAT example in the verification manual but it showed the following error:
fortcom: Error: First statement in file must not be continued
umattest.for(5) : Error: Syntax error, found END-OF-STATEMENT when expecting one of: => = . ( %
4 DFGRD0,DFGRD1,NOEL,NPT,KSLAY,KSPT,KSTEP,KINC)
----------------------------------------------------^
umattest.for(179) : Error: A RETURN statement is invalid in the main program.
RETURN
------^
umattest.for(10) : Error: An automatic object is invalid in a main program. [STRESS]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
----------------^
umattest.for(10) : Error: An automatic object is invalid in a main program. [STATEV]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
------------------------------^
umattest.for(11) : Error: An automatic object is invalid in a main program. [DDSDDE]
1 DDSDDE(NTENS,NTENS),DDSDDT(NTENS),DRPLDE(NTENS),
-------^
umattest.for(11) : Error: An automatic object is invalid in a main program. [DDSDDT]
1 DDSDDE(NTENS,NTENS),DDSDDT(NTENS),DRPLDE(NTENS),
---------------------------^
umattest.for(11) : Error: An automatic object is invalid in a main program. [DRPLDE]
1 DDSDDE(NTENS,NTENS),DDSDDT(NTENS),DRPLDE(NTENS),
-----------------------------------------^
umattest.for(12) : Error: An automatic object is invalid in a main program. [STRAN]
2 STRAN(NTENS),DSTRAN(NTENS),TIME(2),PREDEF(1),DPRED (1),
-------^
umattest.for(12) : Error: An automatic object is invalid in a main program. [DSTRAN]
2 STRAN(NTENS),DSTRAN(NTENS),TIME(2),PREDEF(1),DPRED (1),
--------------------^
umattest.for(10) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NTENS]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
-----------------------^
umattest.for(10) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NSTATV]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
-------------------------------------^
umattest.for(13) : Error: An automatic object is invalid in a main program. [PROPS]
3 PROPS(NPROPS),COORDS(3),DROT(3,3),
-------^
umattest.for(13) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NPROPS]
3 PROPS(NPROPS),COORDS(3),DROT(3,3),
-------------^
compilation aborted for umattest.for (code 1)
Abaqus Error: Problem during compilation - C:\Temp\umattest.for
Abaqus/Analysis exited with errors
Does the first example work? what does this error message mean? Can I read about this in some section of the Manual?
I tried running the first UMAT example in the verification manual but it showed the following error:
fortcom: Error: First statement in file must not be continued
umattest.for(5) : Error: Syntax error, found END-OF-STATEMENT when expecting one of: => = . ( %
4 DFGRD0,DFGRD1,NOEL,NPT,KSLAY,KSPT,KSTEP,KINC)
----------------------------------------------------^
umattest.for(179) : Error: A RETURN statement is invalid in the main program.
RETURN
------^
umattest.for(10) : Error: An automatic object is invalid in a main program. [STRESS]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
----------------^
umattest.for(10) : Error: An automatic object is invalid in a main program. [STATEV]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
------------------------------^
umattest.for(11) : Error: An automatic object is invalid in a main program. [DDSDDE]
1 DDSDDE(NTENS,NTENS),DDSDDT(NTENS),DRPLDE(NTENS),
-------^
umattest.for(11) : Error: An automatic object is invalid in a main program. [DDSDDT]
1 DDSDDE(NTENS,NTENS),DDSDDT(NTENS),DRPLDE(NTENS),
---------------------------^
umattest.for(11) : Error: An automatic object is invalid in a main program. [DRPLDE]
1 DDSDDE(NTENS,NTENS),DDSDDT(NTENS),DRPLDE(NTENS),
-----------------------------------------^
umattest.for(12) : Error: An automatic object is invalid in a main program. [STRAN]
2 STRAN(NTENS),DSTRAN(NTENS),TIME(2),PREDEF(1),DPRED (1),
-------^
umattest.for(12) : Error: An automatic object is invalid in a main program. [DSTRAN]
2 STRAN(NTENS),DSTRAN(NTENS),TIME(2),PREDEF(1),DPRED (1),
--------------------^
umattest.for(10) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NTENS]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
-----------------------^
umattest.for(10) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NSTATV]
DIMENSION STRESS(NTENS),STATEV(NSTATV),
-------------------------------------^
umattest.for(13) : Error: An automatic object is invalid in a main program. [PROPS]
3 PROPS(NPROPS),COORDS(3),DROT(3,3),
-------^
umattest.for(13) : Error: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [NPROPS]
3 PROPS(NPROPS),COORDS(3),DROT(3,3),
-------------^
compilation aborted for umattest.for (code 1)
Abaqus Error: Problem during compilation - C:\Temp\umattest.for
Abaqus/Analysis exited with errors
Does the first example work? what does this error message mean? Can I read about this in some section of the Manual?