- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to write a subroutine using Intel Fortan 10.1 through Visual Studio 2008. As this is a subroutine I am not sure how to check for bugs or errors in the code. The code is currently not working with Abaqus had there were errors during com. However, I do not know if theerrors are on the Subroutine end or the Abaqus end?I am getting the following error message when trying to run the subroutine in with Abaqus, "Problem during compilation" Therefore:
1)How can Icheck for errors or debug the codefromFortran?
2) Does there appear to be anything inhertenly wrong with the code below from a programmers end?
Thank-you
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to know something about the subroutine arguments that Abaqus passes to your subroutine -- after all, one cannot write a subroutine without knowing what its specification is. Using that knowledge, you can write a short main program to call the subroutine with those arguments.
Compile and debug your subroutine with this short driver program, using the same calling conventions as those specified for Abaqus, and then try using just the subroutine with Abaqus.
Compile and debug your subroutine with this short driver program, using the same calling conventions as those specified for Abaqus, and then try using just the subroutine with Abaqus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks mecej4. The abaqus program is already set up to accept user subroutines like the one in the original post. The subroutine I is based on an example for"USDFLD subroutine", provide in the Abaqus manual. So I am not sure why is it not working at the moment, I am trying to find ways to solve any issues within the code.
Thanks again.
Thanks again.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page