Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Does Execute_command_line run asynchronous by default?

mahulsen
Beginner
708 Views

I have to include the optional argument wait=.true. in the new execute_command_line intrinsic in ifort 15.0 in order to get it to run synchronously. However, wait=.true. should be the default according to the standard.

0 Kudos
2 Replies
Steven_L_Intel1
Employee
708 Views

Well, it's supposed to wait. We'll check to see why that's not happening.

0 Kudos
Steven_L_Intel1
Employee
708 Views

There are actually two bugs here. The first is that the sense of the wait/nowait test in the library routine is reversed for Linux and OS X. The second is that the compiler is not passing the correct argument to the library routine if you specify WAIT, so that WAIT=.FALSE. will still wait. We apologize for this and will fix these as soon as possible.

0 Kudos
Reply