[torquedev] [Bug 157] New: Patches for OS X 10.5.8
bugzilla-daemon at supercluster.org
bugzilla-daemon at supercluster.org
Fri Sep 2 13:40:49 MDT 2011
http://www.clusterresources.com/bugzilla/show_bug.cgi?id=157
Summary: Patches for OS X 10.5.8
Product: TORQUE
Version: 3.0.x
Platform: Macintosh
OS/Version: Mac OS
Status: NEW
Severity: normal
Priority: P5
Component: pbs_server
AssignedTo: dbeer at adaptivecomputing.com
ReportedBy: nathanweeks at yahoo.com
CC: torquedev at supercluster.org
Estimated Hours: 0.0
TORQUE 3.0.2 needed a few source-code modifications to compile and run on OS X
10.5.8; patches are attached. A brief summary of the issues fixed:
u_threadpool.c:
* All versions of OS X (through 10.7) lack clock_gettime(); this patch works
around this by detecting if clock_gettime() exists in configure.ac, and if not,
use gettimeofday() as suggested in the OS X 10.6/10.7 manual page for
pthread_cond_timedwait()
configure.ac:
* There is a compilation error when linking librt, as OS X doesn't have such a
library; the suggested workaround to link with librt only if clock_gettime()
requires it (which it doesn't on some platforms, e.g., FreeBSD). This is in
addition to the previously-mentioned check for the existence of
clock_gettime().
pbs_mkdirs.in:
* "echo" is a bash builtin, and when bash is invoked as "/bin/sh", the "-e"
option loses its special meaning, causing an "-e" to appear at the beginning of
the first line in the default server_priv/nodes.
--
Nathan Weeks
IT Specialist
USDA-ARS
http://www.public.iastate.edu/~weeks
--
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the torquedev
mailing list