Contact US

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!

*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

Debugging subroutines (ABAQUS)

Debugging subroutines (ABAQUS)

Debugging subroutines (ABAQUS)

Hey all,

Does anybody know how to debug abaqus subroutines using breakpoints rather than relying on the .msg/.log file? I have a relatively long VUEL subroutine and when I try to test it I get a segmentation fault error which can basically mean anything.

RE: Debugging subroutines (ABAQUS)

You can perform such debugging if you have some third-party debugger installed on your machine. Then you have to add, among others, the -debug parameter and debuggers name to the job submission command. Details are described in the Dassault Systemes Knowledge Base article QA00000007986 ("Debugging user subroutines and post processing programs").

RE: Debugging subroutines (ABAQUS)

Do you by any chance have a direct link to that article? I tried searching online and on the dassault knowledge base and couldn't find anything. This sounds like exactly what I need right now.

RE: Debugging subroutines (ABAQUS)

To access this article you will need a customer account on the Dassault Systemes portal. Then search for their Knowledge Base, log in and locate the article.

A very similar instruction for subroutine debugging is provided in the book titled "Troubleshooting Finite-Element Modeling with Abaqus" by R.J. Boulbes.

RE: Debugging subroutines (ABAQUS)

Alright, thanks for the info!

RE: Debugging subroutines (ABAQUS)

Many years ago, I had posted instructions on how to connect Visual Studio with a Fortran code for Abaqus in a PolymerFEM forum (what worked for me at the time, anyway). Then others improved upon it. Here is one such thread. And yes, I managed to do the sort of debugging you want to do. You have to be sure your Visual Studio, Intel Fortran Compiler and Abaqus versions are compatible and are installed in the right order.

Unless you haven't already used it, here is one trick that could come in handy in debugging your code with breakpoints etc. independent of Abaqus altogether. Such an approach has limitations but it allows enhanced control/flexibility/.. as well. So, to the trick: You could simply write a Fortran subroutine that provides all the arrays your VUEL subroutine expects. With this simple trick, you can run your code in any Fortran compiler.

I must admit: I have neither used Abaqus nor coded subroutines in a very long time so the trick may be useless.

Are you new to this forum? If so, please read these FAQs:


RE: Debugging subroutines (ABAQUS)

Appreciate the info, I'll look into it.

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! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close