version 1.11, 2001/10/09 01:36:24 |
version 1.12, 2001/12/20 08:18:27 |
|
|
* 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/parse/main.c,v 1.10 2001/08/20 09:03:28 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/main.c,v 1.11 2001/10/09 01:36:24 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
|
|
extern int mpi_nprocs,mpi_myid; |
extern int mpi_nprocs,mpi_myid; |
|
|
#if MPI |
|
int *StackBottom; |
|
#endif |
|
|
|
#if defined(VISUAL_LIB) |
#if defined(VISUAL_LIB) |
void Main(int argc,char *argv[]) |
void Main(int argc,char *argv[]) |
#else |
#else |
|
|
main(int argc,char *argv[]) |
main(int argc,char *argv[]) |
#endif |
#endif |
{ |
{ |
|
int tmp; |
FILE *ifp; |
FILE *ifp; |
char ifname[BUFSIZ]; |
char ifname[BUFSIZ]; |
extern int GC_dont_gc; |
extern int GC_dont_gc; |
Line 95 main(int argc,char *argv[]) |
|
Line 92 main(int argc,char *argv[]) |
|
extern int do_asirrc; |
extern int do_asirrc; |
extern int do_file; |
extern int do_file; |
extern FILE *in_fp; |
extern FILE *in_fp; |
|
extern int *StackBottom; |
char *getenv(); |
char *getenv(); |
char *homedir; |
char *homedir; |
char *ptr; |
char *ptr; |
#if !defined(VISUAL) |
#if !defined(VISUAL) |
int tmp; |
|
char *slash,*binname; |
char *slash,*binname; |
#endif |
#endif |
|
|
#if MPI |
|
StackBottom = &tmp; |
StackBottom = &tmp; |
|
#if MPI |
mpi_init(); |
mpi_init(); |
if ( mpi_myid ) { |
if ( mpi_myid ) { |
int slave_argc; |
int slave_argc; |