Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2011 15:37:14 -0500
From:      Richard Todd <rmtodd@servalan.servalan.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: sysutils/sge6[012]: Sun Grid Engine - still broklen due to utmpx?
Message-ID:  <x7hb438079.fsf@ichotolot.servalan.com>
In-Reply-To: <4E7CAA51.2060102@freebsd.org> (Julian Elischer's message of "Fri, 23 Sep 2011 08:48:33 -0700")
References:  <4E7C2F91.8040705@zedat.fu-berlin.de> <4E7CAA51.2060102@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x7hb438079.fsf>