- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a read statement of the kind
read(1,'(a20,87510(1x,a1))') id(i), snp(i,:)
which fails to read in ifort (it reads beyond the end of the line) but reads nicely in gfortran.
Reading with
read(1,'(a20,a175020') id(i), bigword
works nicely.
I have checked my data files over and over and I am certain they are correct. Is there any limit to the size of nested informats as the one above?
Using ifort 12.1.2 20111128
Thanks
Andres
read(1,'(a20,87510(1x,a1))') id(i), snp(i,:)
which fails to read in ifort (it reads beyond the end of the line) but reads nicely in gfortran.
Reading with
read(1,'(a20,a175020') id(i), bigword
works nicely.
I have checked my data files over and over and I am certain they are correct. Is there any limit to the size of nested informats as the one above?
Using ifort 12.1.2 20111128
Thanks
Andres
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are limits but you are nowhere near them. Please provide a tarball with a test program and sample data file that we can look at.

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