×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

User subroutine obj file

User subroutine obj file

User subroutine obj file

(OP)
Hi,

I am using abaqus with user subroutine on my pc which has no fortran compiler.

Can some of you tell me can I compile my user subroutine on other computer that has fortran compiler, then get the obj file from there, so I can eventually run jobs with it on my pc?
If yes, how to do it?

Thanks so much.

RE: User subroutine obj file

You don't need to compile your FORTRAN subroutine before you can use it. ABAQUS will compile it when you run the job with the USER option. But you can not use ABAQUS CAE to run the job, and you need use command line to do it.

RE: User subroutine obj file

Abaqus won't compile it unless Fortran has been installed on that machine. I've not heard of subroutines being run with a pre-compiled source code. You'll just have to install fortran.

corus

RE: User subroutine obj file

(OP)
Hi Corus,

Thank you for your advice.

Here is an excerpt from abaqus online document 24.1.1:
"One or more user subroutines can be included in a model by using the user option on the abaqus execution procedure to specify the name of a FORTRAN source or object file that contains the subroutines". Does it mean abaqus allows run with obj file?

Is it possible to extract the obj file after the abaqus job is completed on a compiler-installed computer?


Thanks.

RE: User subroutine obj file

This is news to me, though I have fortran so haven't looked for this. The easiest way to check it is to run the job with the addition it says, ie. abaqus job=... user=fred.o where fred.o is the object file.
The second question I have no idea, but why extract it 'after' the job has run?

corus

RE: User subroutine obj file

(OP)
Hi Corus,

Thank you.  The reason for my second question is that my pc doe not have fortran compiler.  I was thinking submitting my abaqus job (with my subroutine) to another computer where I borrowed an account from my friend, then getting the wanted obj file and transferring it to my pc for later use.  I can't stay on my friend's account for too long.  My subroutine is a user element code, and it will be used for many other jobs on my pc.

Thanks.

engm

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources