Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
cvnravi
Total Points:
235
Status Points:
185
Green Belt
July 3, 2009 7:58 AM PDT
IOCHK in fortran
Hi, I am using fortran 11.0.035 compiler version on visual studio 2005. Please check the following code is giving wrong result for me. I am not getting the problem. Will IOCHK differ from compiler to compiler??

IF(IOCHK.NE.0)THEN //this conditioin is true

cscl begin pipewrite
cscl PRINT 479,IOCHK
4791 Buffer=' '
WRITE(Buffer,479,ERR=99479,IOSTAT=iPipeErr)IOCHK

Above code in cludeds piping concept in client server programming, above code is from server side. client should give some information to the client but it is not sending information. So I am getting buffer data as empty.

for what IOCHK will be used? why i am unable to execute the above code successfully.
tim18
Total Points:
68,267
Status Points:
68,267
Black Belt
July 3, 2009 9:15 AM PDT
Rate
 
#1
Are you expecting IOCHK to be a Fortran vendor implemented built-in?  Most vendor-dependent built-ins take the form of a function call.  More likely, it would be a variable defined in your source code, possibly set by an iostat= or stat= specifier.  You would have to show at least that much of your code to hope for an explanation.




Intel Software Network Forums Statistics

8445 users have contributed to 31553 threads and 100398 posts to date.
In the past 24 hours, we have 10 new thread(s) 30 new posts(s), and 43 new user(s).

In the past 3 days, the most popular thread for everyone has been Lost in MKL The most posts were made to TBB on linux segfaulting The post with the most views is Hi,if you were using imsl yo

Please welcome our newest member nonamez