(j3.2006) Connecting more than one unit to a file

Bill Long longb
Thu Dec 3 18:38:42 EST 2015


On Dec 3, 2015, at 5:19 PM, Robert Corbett <robert.corbett at oracle.com> wrote:

> On 12/03/15 13:12, Bill Long wrote:
>> Units are local.
> What does that mean?  Are you claiming that if different iterations of a DO 
> CONCURRENT loop open files on the same unit number, the units identified will be 
> independent of each other?

Units are local to the image.  Unit 20 on image 1 is a different unit from 20 on image 2. 

You are not allowed to connect the same unit to two different files at the same time.  ("A unit shall not be connected to more than one file at the same time.?) That?s unchanged in F2015; not even processor dependent. 

Cheers,
Bill


> 
> Robert Corbett
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3

Bill Long                                                                       longb at cray.com
Fortran Technical Support  &                                  voice:  651-605-9024
Bioinformatics Software Development                     fax:  651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101





More information about the J3 mailing list