version 1.67, 2010/04/23 04:44:52 |
version 1.70, 2011/01/13 08:00:07 |
|
|
* 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/io/ox_asir.c,v 1.66 2008/11/27 08:27:04 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/io/ox_asir.c,v 1.69 2011/01/12 03:05:06 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 122 void ox_mpi_master_init() { |
|
Line 122 void ox_mpi_master_init() { |
|
/* ordering information is not exchanged */ |
/* ordering information is not exchanged */ |
/* idx should be equal to i */ |
/* idx should be equal to i */ |
idx = get_iofp(i,0,0); |
idx = get_iofp(i,0,0); |
register_server(0,idx,idx); |
register_server(0,idx,idx,-1); |
} |
} |
} |
} |
|
|
Line 135 void ox_mpi_slave_init() { |
|
Line 135 void ox_mpi_slave_init() { |
|
/* ordering information is not exchanged */ |
/* ordering information is not exchanged */ |
/* idx should be equal to i */ |
/* idx should be equal to i */ |
idx = get_iofp(i,0,0); |
idx = get_iofp(i,0,0); |
register_server(0,idx,idx); |
register_server(0,idx,idx,-1); |
} |
} |
asir_OperandStackSize = BUFSIZ; |
asir_OperandStackSize = BUFSIZ; |
asir_OperandStack = (Obj *)CALLOC(asir_OperandStackSize,sizeof(Obj)); |
asir_OperandStack = (Obj *)CALLOC(asir_OperandStackSize,sizeof(Obj)); |
Line 793 static void asir_executeFunction(int serial) |
|
Line 793 static void asir_executeFunction(int serial) |
|
#endif |
#endif |
searchf(noargsysf,func,&f); |
searchf(noargsysf,func,&f); |
if ( !f ) |
if ( !f ) |
searchf(sysf,func,&f); |
gen_searchf_searchonly(func,&f); |
if ( !f ) |
|
searchf(ubinf,func,&f); |
|
if ( !f ) |
|
searchf(usrf,func,&f); |
|
if ( !f ) { |
if ( !f ) { |
sprintf(buf,"executeFunction : the function %s not found",func); |
sprintf(buf,"executeFunction : the function %s not found",func); |
goto error; |
goto error; |
Line 871 static void asir_executeFunctionSync(int serial) |
|
Line 867 static void asir_executeFunctionSync(int serial) |
|
#endif |
#endif |
searchf(noargsysf,func,&f); |
searchf(noargsysf,func,&f); |
if ( !f ) |
if ( !f ) |
searchf(sysf,func,&f); |
gen_searchf_searchonly(func,&f); |
if ( !f ) |
|
searchf(ubinf,func,&f); |
|
if ( !f ) |
|
searchf(usrf,func,&f); |
|
if ( !f ) { |
if ( !f ) { |
sprintf(buf,"executeFunction : the function %s not found",func); |
sprintf(buf,"executeFunction : the function %s not found",func); |
goto error; |
goto error; |
Line 1081 void ox_io_init() { |
|
Line 1073 void ox_io_init() { |
|
read_char(iofp[0].in,&rc); |
read_char(iofp[0].in,&rc); |
iofp[0].conv = c == rc ? 0 : 1; |
iofp[0].conv = c == rc ? 0 : 1; |
/* XXX; for raw I/O */ |
/* XXX; for raw I/O */ |
register_server(0,0,0); |
register_server(0,0,0,-1); |
} |
} |
|
|
#if !defined(VISUAL) |
#if !defined(VISUAL) |