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

Intel Fortran WRITE statement output conversion problem

Jorden_Wright
초급자
501 조회수
I run into a output conversion problem with Intel Visual Fortran Composer XE 2011. The following is the code:

"
WRITE(6,7330) II,IVCONST,DUMMY
WRITE(25,7330) II,IVCONST,DUMMY
7330 FORMAT(1X,' Row#,Constraint#= ',2I10,2X,A55,
& ' cannot be satisfied but is in the sufficient set.')
"

32 bit executable, the variable values at run time:

II = 1, IVCOST=1,DUMMY='MYCON1' (Microsoft Visual Studio 2008)
II = 4232582, IVCOST=1, DUMMY='MYCON1a' (Screen output)
II = 1, IVCOST=52445245, DUMMY='MYCON1' (Unit 25, file output).

This subroutine has calls to a 3rd party Linear Optimization software LINDO libraries.

Does anyone else run into this type of problem?

Thanks in advance.

JW.
0 포인트
2 응답
IanH
명예로운 기여자 III
501 조회수
IVCONST? IVCOST?
0 포인트
Jorden_Wright
초급자
501 조회수

Sorry, IVCOST should have been IVCONST.

0 포인트
응답