Changeset 16 for trunk/pbs_drmaa/util.c
- Timestamp:
- 04/21/11 18:28:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_drmaa/util.c
r13 r16 84 84 85 85 _pbs_errno = pbs_errno; 86 /* 87 * Gathering error messages differ between PBS forks. 88 * - OpenPBS - ... 89 * - Torque - pbse_to_txt takes PBS error code (stored in pbs_errno) 90 * and returns corresponding error message. 91 * - PBS Pro - stores errno of last operation inside pbs_errno variable; 92 * pbse_to_txt always return NULL. 93 * All of them define pbs_geterrmsg which returns last error message 94 * for given connection. 95 */ 96 /* XXX: PBSPro has some link problems with pbse_to_txt function */ 97 #if PBS_PROFESSIONAL_NO_LOG 86 87 #ifndef PBS_PROFESSIONAL_NO_LOG 98 88 message = pbse_to_txt( pbs_errno ); 99 89 #else 100 90 message = "pbs error"; 101 91 #endif 102 103 92 104 93 fsd_errno = pbsdrmaa_map_pbs_errno( _pbs_errno );
Note: See TracChangeset
for help on using the changeset viewer.