- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot for the help. I compile this large HVACSIM+ project, however, when I compile this in Intel FORTRAN, it shows there is something wrong when try to read the input file. And Attched with the input file.
Thanks a lot for the help.
OPEN (2956,FILE="INPUTFILE.DAT",STATUS='UNKNOWN')
READ(2956,*) TMIN,TMAX,TSTOP
TMAXT = TMAX
c PRINT *,' Will the Initialization File be called?
READ(2956,*) ANSWER
IF(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') THEN
INIT=1
ENDIF
C Ask questions pertaining to all simulations
C Open input and output files
CALL OPNFIL(BLDSHL)
c PRINT *,' Do you want to use Reported Time for outputs
READ(2956,*) ANSWER
IF(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') THEN
MOUT=2
ELSE
MOUT=1
ENDIF
c PRINT *,' Do you wish to disable Freezing Variable feature
READ(2956,*) ANSWER
IF(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') THEN
FRZ = .FALSE.
ELSE
FRZ = .TRUE.
ENDIF
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the forum for Intel Parallel Studio, which supports only C/C++. You should submit any issues on Fortran compilation with Intel Fortran Compiler in the Fortran Forum at http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/ or for Linux at http://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/ or you can file an issue in Premier Support if you are using the 11.0 version of the Intel Fortram Compiler.
Let me know if you need any further clarification. In the meantime, I'll let our Fortran Compiler support team know about this link you've posted in this forum, just FYI.
-regards,
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the forum for Intel Parallel Studio, which supports only C/C++. You should submit any issues on Fortran compilation with Intel Fortran Compiler in the Fortran Forum at http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/ or for Linux at http://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/ or you can file an issue in Premier Support if you are using the 11.0 version of the Intel Fortram Compiler.
Let me know if you need any further clarification. In the meantime, I'll let our Fortran Compiler support team know about this link you've posted in this forum, just FYI.
-regards,
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, which statement gets the error and what is the exact and complete text of the error message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, which statement gets the error and what is the exact and complete text of the error message?
>modsim.exe!INDATA(LOGICAL(4) BLDSHL=.FALSE., INTEGER(4) ISPOS={...}, INTEGER(4) ISSHEL=5832334, INTEGER(4) ISVIEW=60030428, INTEGER(4) NSTVEC=60030520, REAL(4) TMAX=3600.000, REAL(4) TSTOP=36000.00, LOGICAL(4) VIEW=.FALSE., LOGICAL(4) INTSHL=.FALSE., INTEGER(4) MOUT=2236216) Line 283 + 0x51 bytesFortran
LOGICAL BLDSHL,INTSHL,VIEW,FRZ ! changed 1/16/97
CHARACTER ANSWER*1,LBLS(MAXLBL)*4
The value of BLDSHL is FALSE always, so I think there might be something wrong there, besides, the first line of the time might cause the problem too, my guess. Problem is that it works in Compa, it might can work here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, you said there are two reads of ANSWER, but I just see one, can you specify it? Thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
c PRINT *,' Will the Initialization File be called?
READ(2956,*) ANSWER
IF(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') THEN
INIT=1
ENDIF
C Ask questions pertaining to all simulations
C Open input and output files
CALL OPNFIL(BLDSHL)
c PRINT *,' Do you want to use Reported Time for outputs
READ(2956,*) ANSWER
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
c PRINT *,' Will the Initialization File be called?
READ(2956,*) ANSWER
IF(ANSWER.EQ.'Y' .OR. ANSWER.EQ.'y') THEN
INIT=1
ENDIF
C Ask questions pertaining to all simulations
C Open input and output files
CALL OPNFIL(BLDSHL)
c PRINT *,' Do you want to use Reported Time for outputs
READ(2956,*) ANSWER
Thank you very much, I just find the problem, two problem here, one is a logical problem, as there are 7 answer in the inputfile, however, I only need 6, the other is it can not read character if I just put n, when I change it into 'n' then it works now.
Really appreciate for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page