version 1.3, 2003/03/07 03:12:30 |
version 1.4, 2003/03/07 06:39:58 |
|
|
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* $OpenXM: OpenXM_contrib2/asir2000/old/io.ox.c,v 1.2 2003/02/14 22:29:17 ohara Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/old/io.ox.c,v 1.3 2003/03/07 03:12:30 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 404 void clear_readbuffer() |
|
Line 404 void clear_readbuffer() |
|
*/ |
*/ |
} |
} |
|
|
#if MPI |
#if defined(MPI) |
int ox_data_is_available(int s) |
int ox_data_is_available(int s) |
{ |
{ |
return 1; |
return 1; |
Line 687 void ox_flush_stream(int s) |
|
Line 687 void ox_flush_stream(int s) |
|
if ( _fileno(&iofp[s].out->fp) < 0 ) |
if ( _fileno(&iofp[s].out->fp) < 0 ) |
cflush(iofp[s].out); |
cflush(iofp[s].out); |
else |
else |
#elif MPI |
#elif defined(MPI) |
if ( (char)fileno(&iofp[s].out->fp) < 0 ) |
if ( (char)fileno(&iofp[s].out->fp) < 0 ) |
cflush(iofp[s].out); |
cflush(iofp[s].out); |
else |
else |
Line 701 void ox_flush_stream_force(int s) |
|
Line 701 void ox_flush_stream_force(int s) |
|
if ( _fileno(&iofp[s].out->fp) < 0 ) |
if ( _fileno(&iofp[s].out->fp) < 0 ) |
cflush(iofp[s].out); |
cflush(iofp[s].out); |
else |
else |
#elif MPI |
#elif defined(MPI) |
if ( (char)fileno(&iofp[s].out->fp) < 0 ) |
if ( (char)fileno(&iofp[s].out->fp) < 0 ) |
cflush(iofp[s].out); |
cflush(iofp[s].out); |
else |
else |