- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I used NAG library d01daf to calculate double intergration in the 100 simulations. It works fine until it reaches 87 simulation, and I noticed the error message said that "Abnormal exit from NAG library routine D01DAF: IFAIL=10, NAG hard failure - execution terminated". My question here is how to skip this specific simulation and move on to the 88 simulation when the error occurs. I do want the program finish even if there are some errors happened in the middle.
Thanks!
Roy
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured it out by myself. The way to do this is to assign IFAIL =1 before the subroutine is called. In that case, the program will continue even though an error occurs.
Roy
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