00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 # ifndef __PCXX_MACHINES_H__
00033 # define __PCXX_MACHINES_H__
00034
00035 # if defined (butterfly)
00036 # define PCXX_MAXPROCS 256
00037 # define PCXX_MALLOC malloc
00038 # define PCXX_SUGGESTED_MSG_SIZE -1
00039 # define _SMRTS_
00040 # else
00041 # if defined (__ksr__)
00042 # define PCXX_MAXPROCS 1088
00043 # define PCXX_MALLOC malloc
00044 # define PCXX_SUGGESTED_MSG_SIZE -1
00045 # define _SMRTS_
00046 # else
00047 # if defined(__SGIMP__)
00048 # define PCXX_MAXPROCS 4096
00049 # define PCXX_MALLOC malloc
00050 # define PCXX_SUGGESTED_MSG_SIZE -1
00051 # define _SMRTS_
00052 # else
00053 # if defined(_SEQUENT_) || defined(sequent)
00054 # define PCXX_MAXPROCS 30
00055 # define PCXX_MALLOC shmalloc
00056 # define PCXX_SUGGESTED_MSG_SIZE -1
00057 # define _SMRTS_
00058 # undef SIGSEGV
00059 # ifdef __cplusplus
00060 extern "C" char *shmalloc();
00061 # else
00062 extern char *shmalloc();
00063 # endif
00064 # else
00065 # if defined(__PARAGON__)
00066 # define PCXX_MAXPROCS 1024
00067 # define PCXX_MALLOC malloc
00068 # define PCXX_SUGGESTED_MSG_SIZE 16384
00069 # else
00070 # if defined(__SP1__)
00071 # define PCXX_MAXPROCS 256
00072 # define PCXX_MALLOC malloc
00073 # define PCXX_SUGGESTED_MSG_SIZE -1
00074 # else
00075 # if defined(CM5)
00076 # define PCXX_MAXPROCS 1024
00077 # define PCXX_MALLOC malloc
00078 # define PCXX_SUGGESTED_MSG_SIZE 16384
00079 # else
00080 # if defined(__MEIKO__)
00081 # define PCXX_MAXPROCS 64
00082 # define PCXX_MALLOC malloc
00083 # define PCXX_SUGGESTED_MSG_SIZE 16384
00084 # else
00085 # if defined(__PVM__)
00086 # define PCXX_MAXPROCS 256
00087 # define PCXX_MALLOC malloc
00088 # define PCXX_SUGGESTED_MSG_SIZE 8192
00089 # else
00090 # if defined(__T3D__)
00091 # define PCXX_MAXPROCS 256
00092 # define PCXX_MALLOC malloc
00093 # define PCXX_SUGGESTED_MSG_SIZE -1
00094 # else
00095 # if defined(_CRAYT3E)
00096 # define PCXX_MAXPROCS 512
00097 # define PCXX_MALLOC malloc
00098 # define PCXX_SUGGESTED_MSG_SIZE -1
00099 # else
00100 # define PCXX_MAXPROCS 4096
00101 # define PCXX_MALLOC malloc
00102 # define PCXX_SUGGESTED_MSG_SIZE -1
00103 # endif
00104 # endif
00105 # endif
00106 # endif
00107 # endif
00108 # endif
00109 # endif
00110 # endif
00111 # endif
00112 # endif
00113 # endif
00114
00115 # ifndef PCXX_MYNODE
00116 # ifdef UNIPROC
00117 # define PCXX_MYNODE 0
00118 # else
00119 # ifndef __ksr__
00120 # define __private
00121 # endif
00122 # define PCXX_MYNODE RtsLayer::myNode()
00123 __private extern int MyNodeNumber;
00124 # endif
00125 # define PCXX_MYTHREAD 0
00126 # endif
00127
00128 # ifdef UNIPROC
00129 # ifdef _SMRTS_
00130 # undef _SMRTS_
00131 # endif
00132 # endif
00133
00134 # ifdef __PVM__
00135 # ifdef _SMRTS_
00136 # undef _SMRTS_
00137 # endif
00138 # endif
00139
00140 # ifdef __MPI__
00141 # ifdef _SMRTS_
00142 # undef _SMRTS_
00143 # endif
00144 # endif
00145
00146
00147 # endif
00148
00149
00150
00151
00152
00153
00154