SGE launchd script maker for Apple OS X 10.5 Leopard

15 Jul 2008 SGE launchd script maker for Apple OS X 10.5 Leopard

This post is a follow-up to the article discussing Bill Van Etten’s OS X Launchd scripts for Grid Engine.

We now have a perl script that will automatically create site-appropriate launchd plist files for Grid Engine – the files are constructed by querying the SGE environment variables and running one of the SGE utility scripts. This may be a more convenient method than downloading our plist files and hand-editing them via the Apple plist editor program.

The new-in-Leopard “launchd” framewortk is Apple’s preferred system for handling system services and daemons. For more background on why launchd may be critical to Grid Engine on 10.5 systems (especially OS X Server 10.5.4 and later …) please visit the Grid Engine wiki page covering Apple Launchd:

http://wiki.gridengine.info/wiki/index.php/GridEngine_launchd

Download the script here:

sge-launchd-scriptmaker

Related Posts
Filter by
Post Page
Employee Posts Tech Notes Screencasts Publications Events Featured
Sort by

Grid Engine 6.2 on Mac OS X

Installing Grid Engine 6.x on modern versions of Mac OS X (client and server) As of early
2010-02-07 18:38:20

10

8 Comments
  • Charles Howes
    Posted at 13:34h, 28 January Reply

    There’s a modification to this script in the snowleopard version of inquiry.

    Instead of running sge_qmaster by itself, it runs /common/sge/util/bootmaster.sh. This script contains the following code (on my system, at least):

    ————–cut-here—–>8——-
    #!/bin/sh

    hostname=`hostname`
    while [ $hostname = ‘localhost’ ];
    do
    sleep 1
    hostname=`hostname`
    done
    exec /common/sge/bin/darwin-x86/sge_qmaster
    echo 99
    —————–cut-here—-8<—-

    Note: as the plist files were already present on the system, this script is not needed. I think.

  • blogadmin
    Posted at 15:20h, 28 January Reply

    I don’t have time to write a new blog post but I wanted to put a quick note here that this script works perfectly fine with OS X 10.6 “Snow Leopard” server. We’ll write a new post in the future documenting SGE 6.2 on OS X Server 10.6.x

  • Grid Engine 6.2 on Mac OS X : BioTeam Inc.
    Posted at 19:03h, 07 February Reply

    […] Download and run the sge-launchd-scriptmaker tarball from this BioTeam Blog post. […]

  • potter
    Posted at 12:09h, 16 September Reply

    guys, this seems to be fail if SGE is installed in an NFS filesystem – anyone have luck getting the (OSX) SGE to work via NFS? the sgeexecd process start and run fine, but always fails to load on boot/reboot. i was hoping this plist launchctl setup would fix this, but all i get is:

    root# launchctl load net.sunsource.gridengine.sgeexecd.plist
    root# launchctl start net.sunsource.gridengine.sgeexecd.plist
    launchctl start error: No such process

    • blogadmin
      Posted at 12:39h, 16 September Reply

      Potter — we’ve had no issues running this in an NFS environment, that’s how 99% of our installs run.

  • Ashley Retallack
    Posted at 08:59h, 22 February Reply

    this link for the script doesn’t seem to be working, can I find it elsewhere?

    – Ash

  • Ashley Retallack
    Posted at 09:02h, 22 February Reply
    • blogadmin
      Posted at 09:57h, 22 February Reply

      Thanks Ashley, that file looks to have been a casualty of our semi-serious experiments in playing around with using CDNs and edge caching for this blog. The file should be in cloudfront soon with appropriate permissions.

Post A Comment