Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

GETLOG bug (linux)?

$
0
0

GETLOG produces nothing on Linux when stdin is redirected.

$ cat main.f90 

!===============================================================================
PROGRAM MAIN
USE IFPORT
CHARACTER(16) :: user
CALL GETLOG(user)
PRINT *, "User: ",user
END
!===============================================================================

$ ifort main.f90
$ ./a.out
 User: fanning         
$ ./a.out < /dev/null
 User:                 
$ ifort -V
Intel(R) Fortran Compiler XE for applications running on IA-32, Version 15.0.5.223 Build 20150805
Copyright (C) 1985-2015 Intel Corporation.  All rights reserved.

Also fails under:

Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.5.223 Build 20150805
Copyright (C) 1985-2015 Intel Corporation.  All rights reserved.


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>