Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28766 Discussions

Fortran asynchronous I/O: does it use threads

qqjzhao
Beginner
451 Views
Hi,
I'm using ifort andFortran asynchronous I/O in my code. When I debug the program, some time I notice that one thread is created for each call of asynchronousread() or write(). For some time no new thread is created. My question is that whether I could use threading information to check ifasynchronous i/o is enabled.
And I'd like to know a bit about how the aio**() is get called or some debugging/tracing tools working with asynchronous I/O.
Best
0 Kudos
1 Reply
Steven_L_Intel1
Employee
451 Views
Yes, asynchronous I/O uses threads. Only sequential, unformatted I/O of whole arrays is actually done asynchronously. There is no independent way I know of to check.
0 Kudos
Reply