For the program
program main
use, intrinsic :: iso_fortran_env
implicit none
write (output_unit,*) "Hello, world."
end program main
compiling on Windows with ifort /stand:f08 xoutput_unit.f90 for
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0 Beta Build 20170320
gives error messages
xoutput_unit.f90(2): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [ISO_FORTRAN_ENV]
use, intrinsic :: iso_fortran_env
------------------^
xoutput_unit.f90(4): error #6404: This name does not have a type, and must have an explicit type. [OUTPUT_UNIT]
write (output_unit,*) "Hello, world."
-------^
compilation aborted for xoutput_unit.f90 (code 1)
The program compiles and runs fine with gfortran and g95. I am missing something basic but don't know what it is. Looking at
https://software.intel.com/en-us/node/678626 I think iso_fortran_env was implemented in Intel Fortran 17.0.