How is I/O handeled with CoArrays on Windows. I know that WRITE(* goes to all images and READ(* is set to Image 1, but if I have an input file assigned to unit 17 and all the images open the file will there be read input errors? Say I have IUNIT=17 and I open the file with all the images OPEN(UNIT=IUNIT,FILE='INPUT.txt') would they be synconized on the read statements (READ(IUNIT,*) X,Y,Z) or each over there only location within the file?
The program I want to modify had a series of input files and I like the threads to read the same ones except for one file. 9 input files are the same and the 10th contains different values for the coarrays to handle. It be great not to have to clone the 9 input files to separate directories.
Also, eventually this code will be run on a Windows Cluster. Could someone provide an example CoArray instruction file for how this is done for windows? I have only seen versions for linux.
Is there a way of setting the max number of images at runtime besides using the FOR_COARRAY_NUM_IMAGES variable?
Thanks for your input.