Menu
![]() ![]() Although this of course means preprocessing your source file (to do this with ifort, use the -fpp flag when compiling your source code or change the source file extension from. Use, intrinsic :: iso_fortran_env, only : stdin=>input_unit, & I tend to use something like #ifdef f2003 If you have a Fortran 2003 compiler, the intrinsic module iso_fortran_env defines the variables input_unit, output_unit and error_unit which point to standard in, standard out and standard error respectively.
0 Comments
Leave a Reply. |