Discussion:
Fortran 90/95 with abaqus 6.10 -howto?
Brian Bak
2011-03-28 13:53:33 UTC
Permalink
Hi

I am trying to get abaqus 6.10 to accept fortran 90/95 code for user
subroutines like UEL. I have found a thread discussing this:
http://old.nabble.com/Does-any-version-of-abaqus-accept-fortran-90-subroutines--td22022789.html.
But this is for older versions of abaqus and on linux machines. I can see
that I should change the environment settings in abaqus_v6.env at the line:
compile_fortran = (...

can anybody help me with what arguments should be given here inorder to make
abaqus work with fortran 90/95 user subroutines?

My system:

abaqus 6.10
win7 32 bit
microsoft visual studio 2008
intel visual fortran 11.1

Thanks in advance

Regards

Brian Bak


[Non-text portions of this message have been removed]
Brian Bak
2011-03-30 13:37:25 UTC
Permalink
Hi

I have found out that abaqus supports fortran 90/95 by default. I just
thought that it didn't because of the fortran 77 way of using fixed line
width and other things. I fixed it by adding '/free' to abaqus_v6.env.

compile_fortran=['ifort', '/c', '/Gm', '/recursive', '/nologo',
'/heap-arrays:1', '/include:%I', '/free']


Med venlig hilsen

Brian Bak
Post by Brian Bak
Hi
I am trying to get abaqus 6.10 to accept fortran 90/95 code for user
http://old.nabble.com/Does-any-version-of-abaqus-accept-fortran-90-subroutines--td22022789.html.
But this is for older versions of abaqus and on linux machines. I can see
compile_fortran = (...
can anybody help me with what arguments should be given here inorder to
make abaqus work with fortran 90/95 user subroutines?
abaqus 6.10
win7 32 bit
microsoft visual studio 2008
intel visual fortran 11.1
Thanks in advance
Regards
Brian Bak
[Non-text portions of this message have been removed]
fcn_public
2011-03-31 09:08:28 UTC
Permalink
Hi Brian,
Post by Brian Bak
can anybody help me with what arguments should be given here
inorder to make abaqus work with fortran 90/95 user subroutines?
You should read the documentation of the Intel compiler, the section where it explains the command-line arguments. There you will find which of the flags ABAQUS uses make it "want" F77 (the compiler accepts F90/95 by default, including free-form lines).

It would be nice if you posted the solution in a follow-up post to the list, so that the next person with the question finds it quickly...

Hope this helps,
Fernando

Loading...