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