User login

Navigation

You are here

ABAQUS + gfortran (abaqus_v6.env)

Hi

has anyone succeeded in compiling and linking a user define subroutine (e.g. DISP) with gfortran in ABAQUS? I appreciate the issues of linking e.g DISP.obj (compiled with gfortran) with object files precompiled with ABAQUS, however, as long as all compilers  are set to target the same platform and architecture, for example i386 instruction set on Linux, then you should be able to link the files. So I feel it is not necessarily a lost cause.

I am working on Windows OS using the Mingw distribution of the GNU compilers, however a Linux solution may be transferable. So far I have succeeded in compiling the subroutine using

compile_fortran=['gfortran', '-c']

in the abaqus_v6.env file.

However to get it to link with GNU's "ld.exe", I had to remove most of the linker commands in the abaqus_v6.env. This is what I ended up with

link_sl='cmd /c "ld  -o %U %A %L"'
link_exe='cmd /c "ld -o %J %F %M %L %B %O"'

The problem is that DISP is not found during running, so I have probably not linked the DISP.obj after all, but instead simply linked  other object files represented by these variable starting with a percentage sign.

I appreciate any input. I feel purchasing the intel fortran compiler for commercial use is overkill when the source code and operation for a user defined function is often so trivial.

Best

 

 

 

M.R.Esmaeili's picture

Hi.

I want to model cylindrical shell that it's thickness varies from top to bottom with this function

h=h0(1-ε cos(θ)) or each arbitrary function.How can I do this?

Please!!! that for my pleasure to guide me.

My email: mohammadreza.esmaeili.eng@gmail.com

Best Regard

Subscribe to Comments for "ABAQUS + gfortran (abaqus_v6.env)"

Recent comments

More comments

Syndicate

Subscribe to Syndicate