home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9073 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.3 KB  |  28 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watserv1!cape.UWaterloo.ca!alongley
  3. From: alongley@cape.UWaterloo.ca (Allan Longley)
  4. Subject: Clearing variables after exiting subroutine in FORTRAN77 (help)
  5. Message-ID: <BtK6Ho.4oD@watserv1.uwaterloo.ca>
  6. Originator: alongley@cape.UWaterloo.ca
  7. Sender: news@watserv1.uwaterloo.ca
  8. Organization: University of Waterloo
  9. Date: Tue, 25 Aug 1992 21:32:11 GMT
  10. Lines: 16
  11.  
  12. Hello, I hope you can help
  13.  
  14. I am using the NAG routine D02EBF for intergrating a stiff system of ordinary
  15. differential equations in FORTRAN 77 under AIX.  The routine is
  16. called multiple times in the program with the same initial conditions but is
  17. returning different answers.  I believe it is caused by the variables in the
  18. NAG routine not being reset after the subroutine is exited.  Is there a
  19. compile option that will allow me to force all variables to be cleared upon
  20. exiting a subroutine that I do not have access to?  If not --- help?!
  21.  
  22. -----------------------------------------------------------------------------
  23. Allan Longley, University of Waterloo, Department of Chemical Engineering
  24. e-mail: alongley@cape.uwaterloo.ca
  25. voice: (519) 885-1211 x3816
  26. home: (519) 746-5747
  27. ------------------------------------------------------------------------------
  28.