~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to pvm3/src/lpvmglob.c

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
static char rcsid[] =
3
 
        "$Id: lpvmglob.c,v 1.11 1997/09/22 21:13:32 pvmsrc Exp $";
 
3
        "$Id: lpvmglob.c,v 1.2 2002/10/14 14:37:47 chanceli Exp $";
4
4
 
5
5
/*
6
6
 *         PVM version 3.4:  Parallel Virtual Machine System
35
35
 *
36
36
 *      Libpvm Globals.
37
37
 *
38
 
$Log: lpvmglob.c,v $
 
38
 * $Log: lpvmglob.c,v $
 
39
 * Revision 1.2  2002/10/14 14:37:47  chanceli
 
40
 * update
 
41
 *
 
42
 * Revision 1.18  2001/02/07 23:14:08  pvmsrc
 
43
 * First Half of CYGWIN Check-ins...
 
44
 * (Spanker=kohl)
 
45
 *
 
46
 * Revision 1.17  2000/06/15 17:51:52  pvmsrc
 
47
 * Fixed bug in WIN32 direct routing.
 
48
 *      - stupid #endif in the wrong place, pvm_fd_add() call whacked.
 
49
 *      - turned back on direct routing default and setopt.
 
50
 * (Spanker=kohl)
 
51
 *
 
52
 * Revision 1.16  2000/02/17 23:12:15  pvmsrc
 
53
 * *** Changes for new BEOLIN port ***
 
54
 *      - MPP-like, similar to SP2, etc.
 
55
 *      - submitted by Paul Springer <pls@smokeymt.jpl.nasa.gov>.
 
56
 *      - format-checked & cleaned up by Jeembo...  :-)
 
57
 * (Spanker=kohl)
 
58
 *
 
59
 * Revision 1.15  2000/02/16 22:01:00  pvmsrc
 
60
 * Added #ifndef NO_NETINET_TCP_H around <netinet/tcp.h> for
 
61
 *      archs that can't handle it...  :-)
 
62
 * (Spanker=kohl)
 
63
 *
 
64
 * Revision 1.14  1999/07/08 18:59:59  kohl
 
65
 * Fixed "Log" keyword placement.
 
66
 *      - indent with " * " for new CVS.
 
67
 *
 
68
 * Revision 1.13  1999/03/12  20:55:37  pvmsrc
 
69
 * Don't allow direct routing in WIN32 until we fix it.  Shit.
 
70
 * (Spanker=kohl)
 
71
 *
 
72
 * Revision 1.12  1998/11/20  20:04:07  pvmsrc
 
73
 * Changes so that win32 will compile & build. Also, common
 
74
 * Changes so that compiles & builds on NT. Also
 
75
 * common source on win32 & unix.
 
76
 * (Spanker=sscott)
 
77
 *
39
78
 * Revision 1.11  1997/09/22  21:13:32  pvmsrc
40
79
 * Added new pvmsettaskname() linkage (for shell-spawned tasks only!).
41
80
 *      - call pvmsettaskname() before joining PVM, sends task name
87
126
 
88
127
 
89
128
#include <stdio.h>
90
 
#ifdef WIN32
 
129
#include <pvm3.h>
 
130
 
 
131
#if defined(WIN32) || defined(CYGWIN)
91
132
#include "..\xdr\types.h"
92
133
#include "..\xdr\xdr.h"
93
134
#else
94
135
#include <rpc/types.h>
95
136
#include <rpc/xdr.h>
 
137
#endif
 
138
 
 
139
#ifndef WIN32
96
140
#include <netinet/in.h>
 
141
#ifndef NO_NETINET_TCP_H
97
142
#include <netinet/tcp.h>
98
143
#endif
99
 
#include <pvm3.h>
 
144
#endif
 
145
 
100
146
#include "pmsg.h"
101
147
#include <pvmtev.h>
102
148
#include "tevmac.h"
138
184
  || defined(IMA_PGON) || defined(IMA_SP2MPI) || defined(IMA_ALPHAMP) \
139
185
  || defined(IMA_CSPP) || defined(IMA_HPPAMP) || defined(IMA_RS6KMP) \
140
186
  || defined(IMA_SGIMP) || defined(IMA_SGIMP6) || defined(IMA_SGIMP64) \
141
 
  || defined(IMA_SUNMP) || defined(IMA_AIX4MP) || defined(AIX4SP2)
 
187
  || defined(IMA_SUNMP) || defined(IMA_AIX4MP) || defined(AIX4SP2) \
 
188
  || defined(IMA_BEOLIN)
142
189
#include "pvmmimd.h"
143
190
int pvmrouteopt = PvmDontRoute;                 /* task-task routing style */
144
191
int pvmfrgsiz = MAXFRAGSIZE;                    /* msg frag length (to pack) */