Subject: Re: SGE 5.3p6 ported to NetBSD, call for beta testers
To: Ron Chen <>
From: Nicolas Joly <>
List: tech-cluster
Date: 05/17/2004 11:00:14
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Apr 30, 2004 at 07:17:02PM -0700, Ron Chen wrote:
> It's checked into the project's cvs tree, compiles and
> runs fine, but missing qmake, qmon, and qtcsh for now.
> Anyone interested in testing it?

I just made some tests on 2 of our machines running NetBSD -current.

If it works fine on a i386 box, problems arise with platforms where
${MACHINE} != ${MACHINE_ARCH} such as amd64.

NetBSD 2.0E NetBSD 2.0E (LANFEUST) #13: Mon May 10 15:39:54 CEST 2004 amd64
njoly@lanfeust [gridengine/source]> ./aimk -only-depend
oops - no mapping for architecure "nbsd-amd64" defined yet

`dist/util/arch' report `nbsd-amd64' as architecture, but all other
files expect `nbsd-x86_64' instead.

I don't known who is right ... But one solution is to teach `arch' to
use processor architecture instead of machine name for NetBSD (patch

Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="grid-nbsdarch.diff"

Index: source/dist/util/arch
RCS file: /cvs/gridengine/source/dist/util/arch,v
retrieving revision
diff -u -r1.7.2.16 arch
--- source/dist/util/arch	24 Apr 2004 18:13:52 -0000
+++ source/dist/util/arch	17 May 2004 08:57:55 -0000
@@ -55,6 +55,7 @@
 if [ -x /usr/bin/uname ]; then
    os="`/usr/bin/uname -s`"
    ht="`/usr/bin/uname -m`"
+   ha="`/usr/bin/uname -p`"
    case $osht in
@@ -64,7 +65,7 @@
-      ARCH=nbsd-$ht
+      ARCH=nbsd-$ha