- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello everyone,
I am trying to compile Fortran code in the Abaqus DLUX subroutine. I am very not in this field. I tried to compile Fortran code but it is getting failed " compilation aborted" statement.
DFLUX subroutine for Abaqus is as follows :
D:\abaqus\Gausian\2file>abaqus job=Moving_Hf user=trail12 interactive
Analysis initiated from SIMULIA established products
Abaqus JOB Moving_Hf
Abaqus 2021
Abaqus License Manager checked out the following licenses:
Abaqus/Standard checked out 5 tokens from Flexnet server ###.##.###.###.
<** out of ** licenses remain available>.
Begin Compiling Abaqus/Standard User Subroutines
6/29/2023 3:24:47 PM
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.2.0 Build 20210228_000000
Copyright (C) 1985-2021 Intel Corporation. All rights reserved.
trail12.f(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: <IDENTIFIER>
DIMENSION FLUX(2), TIME(2), COORDS(3),
--------------------------------------------^
compilation aborted for trail12.f (code 1)
Abaqus Error: Problem during compilation - trail12.f
Abaqus/Analysis exited with errors
**********************************************************************
I have also attached the Fortran code file.
Anyone could help me and thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To expand on mecej4's post...
Suggest you compile as free-form.
one of:
a) !DIR$ FIXEDFORMLINESIZE:132
to top of program
b) rename the source file as trail12.f90 (indicates source is free form)
c) add option /free or /nofixed
d) add option /extend-source:132
Jim Dempsey
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The first line of your program is longer than 72 characters, which is not allowed in standard fixed form Fortran source.
There is an unexpected comma character at the end of the DIMENSION... line in your program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To expand on mecej4's post...
Suggest you compile as free-form.
one of:
a) !DIR$ FIXEDFORMLINESIZE:132
to top of program
b) rename the source file as trail12.f90 (indicates source is free form)
c) add option /free or /nofixed
d) add option /extend-source:132
Jim Dempsey

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page