[GE users] build from src of 6.0u3 on Apple OS X Server (Tiger) release candidate - OK so far

Chris Dagdigian dag at sonsorol.org
Tue Apr 12 17:56:30 BST 2005


Note: did this work on an old school G4 Apple Xserve. Will be recreating 
build and install on a newer G5 Xserve shortly. I should also just try 
the existing prebuilt binaries as well.

##
If any SGE developers want to build 6.0u3 or 6.04 on this system feel 
free to contact me. I think we can arrange SSH access to one or more 
tiger systems.
##

Just wanted to drop a line to mention that SGE 6 will build from source 
after some tweaks to 'aimk' on the upcoming Apple Tiger release.

The command "aimk -no-qmon" runs fine to completion

I skipped qmon because my box does not have Motif on it. Not sure how 
that will build yet.

What I had to do:

o install berkelydb from src to get RPC server built (not part of 
default berkely-db on most systems)

o edit aimk to copy the Darwin 7.* case statement so it runs when Darwin 
8.x is reported as OS release. Copied all other Darwin7 directives.

o edit aimk to fix a mangling of JAVA_INCLUDE

o edit aimk to disable the compiler flag "-Werror" -- if this is turned 
on the SGE core compile will not get past libs/sgeobj/sge-range.c

o set the following values in aimk.site:

set BERKELEYDB_HOME = /usr/local/
set OPENSSL_HOME = /usr/
set PERL = /usr/bin/perl
set GROFFPATH = /usr/bin/groff
set SWIG = /vol2/tools/SW/$buildarch/bin/swig
set JAVA_HOME = /Library/Java/Home/

o set the following values in scripts/distinst.site

BERKELEYDBBASE=/usr/local/
OPENSSLBASE=/usr


When running install_qmaster I get a fatal error because 
$SGE_ROOT/bin/darwin/qmon was not found (because I did not build it!)

A simple "touch $SGE_ROOT/bin/darwin/qmon" got me past that.

Looks pretty good:

We are running Tiger:

> inquiry:~ root# uname -a
> Darwin inquiry.local 8.0.0 Darwin Kernel Version 8.0.0: Sun Mar 13 22:12:14 PST 2005; root:xnu-781.1.obj~1/RELEASE_PPC Power Macintosh powerpc
> inquiry:~ root# 


Grid Engine looks happy:

> inquiry:~ root# qstat -f
> queuename                      qtype used/tot. load_avg arch          states
> ----------------------------------------------------------------------------
> all.q at xxx.xxx.net      BIP   0/2       0.07     darwin        
> inquiry:~ root#


Simple job runs:

> inquiry:~ root# qrsh hostname
> inquiry.local

Sleeper.sh example:

> inquiry:~ root# qsub /common/sge/examples/jobs/sleeper.sh 
> Your job 4 ("Sleeper") has been submitted.
> inquiry:~ root# 
> inquiry:~ root# qstat -f
> queuename                      qtype used/tot. load_avg arch          states
> ----------------------------------------------------------------------------
> all.q at inquiry.bioteam.net      BIP   0/2       0.06     darwin        
> 
> ############################################################################
>  - PENDING JOBS - PENDING JOBS - PENDING JOBS - PENDING JOBS - PENDING JOBS
> ############################################################################
>       4 0.00000 Sleeper    root         qw    04/12/2005 12:52:53     1        





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list