Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use two subroutines in Abaqus

Status
Not open for further replies.

drkc01

Mechanical
Jan 26, 2015
6
Hi all

I have two subroutines Uhyper and rsurfu. they are independent of each other (so if elseif is not required)
A quick goggle search had me combining those two subroutines in one file - just copy and paste, since they are not related.
I did that and i have the error now "problem during compilation".
so something is not right. Now I know those two work just fine when i run them separately so what am i missing here?
is there any words or statements that is required in the fortran file.
Please help me
 
Replies continue below

Recommended for you

I have never used two at once, but always thought the required steps were:

1) Compile each subroutine into separate object file with fortran compiler
2) Link object files into a shared library with visual studio
(I think both can be done with abaqus make command)

You then have to modify (or use a local) abaqus_v6.env to point to the newly created library.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor