Hello
I have downloaded and tried the code offered by Anthony.
I found that when I ran the test program, all was well until the end. I got
the following. Is this what is expected?
Alistair
PS Using DVF 6.6.1
--- s n i p ----
Rotation through 90 about 1 1 1
Rotating though 90.00 deg about 1.00 1.00 1.00
Rotation 90 90 90
Euler angle rotation 90.00 90.00 90.00 deg.
Concatenation at end is an error \
Apparently concatenating at end-of-file
Unexpected end of data file
forrtl: severe (161): Program Exception - array bounds exceeded
Image PC Routine Line Source
nml.exe 00404017 INPUT_mp_REPORT 717 input.f90
nml.exe 00401353 INPUT_mp_READ_LIN 163 input.f90
nml.exe 00404762 TEST_INPUT 15 test_input.f90
nml.exe 0044D759 Unknown Unknown Unknown
nml.exe 00436B29 Unknown Unknown Unknown
kernel32.dll 77E814C7 Unknown Unknown Unknown
Press any key to continue
--- e n d s n i p ---
-----Original Message-----
From: Fortran 90 List [mailto:[log in to unmask]] On Behalf Of
Anthony Stone
Sent: 06 March 2003 15:39
To: [log in to unmask]
Subject: Re: F90 parsing routines
At 10:28 on 26 February, Blackwell, Bennie F wrote:
> I have been following the comments on "NAMELISTS" and would like to >
see what you have in the way of parsing routines. I have written > some of
my own but I am not a sophisticated F90 programmer and > would learn a lot
by looking at what other people have done.
In response to this and other requests I have packaged my input module into
a tarfile together with documentation, example program and test data. The
package can be downloaded from
http://www-stone.ch.cam.ac.uk/pub/input.tar.gz
I would welcome comments for improvement, and especially information about
any bugs that people may find. There are some features that I haven't used
for some time, and it's possible that other changes may have broken them.
--
Anthony Stone http://www-stone.ch.cam.ac.uk/
University Chemical Laboratory, Email: [log in to unmask]
Lensfield Road, Phone: +44 1223 336375
Cambridge CB2 1EW Fax: +44 1223 336362
|