sysutils/sge6[012]: Sun Grid Engine - still broklen due to utmpx?

Richard Todd rmtodd at servalan.servalan.com
Fri Sep 23 20:45:10 UTC 2011


Julian Elischer <julian at freebsd.org> writes:

> On 9/23/11 12:04 AM, Hartmann, O. wrote:
>> I was wondering if the SUN Grid Engine, located in port
>> sysutils/sge6[012] is still broken due to utmpx.
>>
>> My department uses this GRID engine on Linux and since a long time I
>> wish to use it also on FreeBSD.
>>
>> Are there alternatives? What are people using on HPC FreeBSD?
>
> so how broken is it?
> Since almost none of the active developers use SGE it is up to the
> users to help us get it fixed..

IIRC, the actual breakage is due to an included slightly-hacked version of
tcsh that gets used to build the qtcsh command.  Since I never used that 
command, I just hacked that one part of the included tcsh to not
do anything with utmp and it built; something like this:

--- 3rdparty/qtcsh/FREEBSD_I386/config.h.orig   2003-03-07 20:27:15.000000000 -0600
+++ 3rdparty/qtcsh/FREEBSD_I386/config.h        2011-06-10 13:26:20.421119769 -0500
@@ -26,6 +26,9 @@
  */
 /* #undef POSIXSIGS */

+/* XXX quick  hack to make qtcsh build by disabling utmp usage altogether. */
+#define HAVENOUTMP
+
 /*
  * VFORK       This machine has a vfork().
  *             It used to be that for job control to work, this define

A better fix would be to apply whatever fixes were done in fbsd tcsh code to
accomodate the New Utmp Scheme, of course, but this was good enough for me.



More information about the freebsd-ports mailing list