36
36
* Libpvm generic functions.
38
38
* $Log: lpvmgen.c,v $
39
* Revision 1.99 2004/02/17 18:01:29 pvmsrc
40
* False alarm, removed debug output for AMD64.
43
* Revision 1.98 2004/02/09 17:21:13 pvmsrc
47
* Revision 1.97 2004/02/09 17:17:01 pvmsrc
48
* Added pvmlogperror debug output for AMD64...
49
* - the arch that wouldn't die... er, run without seg faulting... :)
52
* Revision 1.96 2004/02/03 21:40:57 pvmsrc
53
* Added check for NULL strerror() return...
54
* - to chase down AMD64 problem...
57
* Revision 1.95 2004/01/14 19:12:34 pvmsrc
58
* Added (char *) cast to strerror() assignment...
61
* Revision 1.94 2004/01/14 18:50:56 pvmsrc
62
* Added new AIX5* arches.
65
* Revision 1.93 2001/09/26 23:35:43 pvmsrc
66
* Removed stuffing of PVM_VMID env var when spawning remote tasks.
67
* - first, each host can have it's own local vmid (why not?),
68
* so we shouldn't stomp that on the spawn.
69
* - second, each local pvmd sets its PVM_VMID env var on startup
70
* if the option is passed to it, so there's no need to
71
* additionally set the vmid on the spawn.
74
* Revision 1.92 2001/09/26 21:22:34 pvmsrc
75
* Added Handling for Optional Virtual Machine ID.
76
* - append PVM_VMID env var to spawn env for tasks (if set).
79
* Revision 1.91 2001/06/28 16:45:29 pvmsrc
80
* D-Oh! Better set context around message handler functions.
81
* - if message comes in with a particular context, reply should
82
* probably be in same context! :-]
85
* Revision 1.90 2001/05/11 18:58:11 pvmsrc
86
* Added use of new "USESTRERROR" define.
87
* - uses strerror() function instead of sys_errlist/sys_nerr
88
* (which aren't public globals on some new operating systems).
91
* Revision 1.89 2001/02/07 23:14:06 pvmsrc
92
* First Half of CYGWIN Check-ins...
95
* Revision 1.88 2000/06/15 17:51:50 pvmsrc
96
* Fixed bug in WIN32 direct routing.
97
* - stupid #endif in the wrong place, pvm_fd_add() call whacked.
98
* - turned back on direct routing default and setopt.
101
* Revision 1.87 2000/02/17 23:12:12 pvmsrc
102
* *** Changes for new BEOLIN port ***
103
* - MPP-like, similar to SP2, etc.
104
* - submitted by Paul Springer <pls@smokeymt.jpl.nasa.gov>.
105
* - format-checked & cleaned up by Jeembo... :-)
108
* Revision 1.86 2000/02/16 21:59:43 pvmsrc
109
* Fixed up #include <sys/types.h> stuff...
110
* - use <bsd/sys/types.h> for IMA_TITN...
111
* - #include before any NEEDMENDIAN #includes...
114
* Revision 1.85 1999/11/08 17:44:32 pvmsrc
115
* SGI compiler cleanup.
118
* Revision 1.84 1999/10/27 18:49:00 pvmsrc
119
* Fixed (hopefully) the function header declaration for pvm_recvf().
120
* - should work on all platforms now (using __ProtoGlarp__())...
39
123
* Revision 1.83 1999/07/08 18:59:56 kohl
40
124
* Fixed "Log" keyword placement.
41
125
* - indent with " * " for new CVS.
787
#if defined(IMA_SP2MPI) || defined(IMA_AIX4SP2)
875
#if defined(IMA_SP2MPI) || defined(IMA_AIX4SP2) || defined(IMA_AIX5SP2)
790
878
/* if (mpierrcode) {
791
879
MPI_Error_string(mpierrcode, pvmtxt, &l);
883
em = strerror( errno );
794
885
em = ((errno >= 0 && errno < sys_nerr)
795
886
? sys_errlist[errno] : "Unknown Error");
799
891
errno = CMMD_get_errno();
895
em = (char *) strerror( errno );
802
897
em = ((errno >= 0 && errno < sys_nerr)
803
898
? sys_errlist[errno] : "Unknown Error");
805
901
#endif /*IMA_SP2MPI*/