<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>gridengine.info : Tag osx, everything about osx</title>
    <link>http://gridengine.info/tag/osx.rss</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>tracking Grid Engine news, bugs, howtos and best practices</description>
    <item>
      <title>Fixing SGE email issues on Apple OS X</title>
      <description>&lt;p&gt;Are you in the following &lt;a href="http://gridengine.sunsource.net/servlets/ReadMsg?list=dev&amp;msgNo=3453"&gt;situation&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;
&lt;ol&gt;
&lt;li&gt; /usr/bin/mail works perfectly from the command line
&lt;li&gt; /usr/bin/mail configured as the SGE mailer produces no email
&lt;li&gt;substituting a wrapper with extra logging also produces no logs or  
email
&lt;/ol&gt;
&lt;/p&gt;&lt;p&gt;
The only clue is in the spool logs:
&lt;/p&gt;
&lt;pre&gt;
09/10/2008 16:22:07|execd|xxx-fs01|E|mailer had timeout - killing
09/10/2008 16:22:07|execd|xxx-fs01|E|mailer exited with exit status= 1
09/10/2008 16:22:19|execd|xxx-fs01|E|mailer had timeout - killing
09/10/2008 16:22:19|execd|xxx-fs01|E|mailer exited with exit status= 1
&lt;/pre&gt;
&lt;p&gt;
Thanks to Valerio Luccio we have a &lt;a href="http://gridengine.sunsource.net/servlets/ReadMsg?list=dev&amp;msgNo=3458"&gt;workaround&lt;/a&gt;. The issue is apparently a conflict between one of the SGE supplied libraries that interferes with the mail MTA on OS X when SGE tries to invoke it. A trivial wrapper script that overrides the DYLD_LIBRARY_PATH environment variable is the fix:
&lt;pre&gt;
#!/bin/sh
export DYLD_LIBRARY_PATH=/usr/lib
/usr/bin/mail -s "$2" $3
&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;This solved a problem that had been bothering me for days, thanks Valerio - I owe you a beer if we ever end up at the same meeting or conference!&lt;/p&gt;


</description>
      <pubDate>Tue, 23 Sep 2008 10:57:31 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:44c27c05-fe2d-48ea-a5d9-1e23a79e8693</guid>
      <author>dag@sonsorol.org (chris)</author>
      <comments>http://gridengine.info/2008/09/23/fixing-sge-email-issues-on-apple-os-x#comments</comments>
      <category>Administration</category>
      <category>MailList Bits</category>
      <category>osx</category>
      <category>apple</category>
      <category>10.5</category>
      <link>http://gridengine.info/2008/09/23/fixing-sge-email-issues-on-apple-os-x</link>
    </item>
    <item>
      <title>Grid Engine and Apple OS X Launchd</title>
      <description>&lt;p align="center"&gt;&lt;a href="http://blog.bioteam.net/2008/03/04/apple-os-x-105-launchd-scripts-for-grid-engine/"&gt;&lt;img src="http://gridengine.info/files/SGE-launchd-qmaster-plist-1.png" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is a follow-up post relating to the new Apple framework for starting, stopping and managing persistent daemons and services called "launchd". The issue of Grid Engine interoperability with the launchd framework has already been covered in a &lt;a href="http://wiki.gridengine.info/wiki/index.php/GridEngine_launchd"&gt;gridengine.info Wiki article&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;The new news to report is that my coworker Bill Van Etten stumbled upon the SGE environment variable "SGE_ND" and realized that it could be useful for Apple launchd integration because launchd really hates daemons that fork off ASAP upon startup. By setting the "SGE_ND" variable to true, the daemons don't fork and can be better managed by launchd.&lt;/p&gt;

&lt;p&gt;The new launchd scripts are discussed and available for download here:&lt;br/&gt;
&lt;a href="http://blog.bioteam.net/2008/03/04/apple-os-x-105-launchd-scripts-for-grid-engine/"&gt;http://blog.bioteam.net/2008/03/04/apple-os-x-105-launchd-scripts-for-grid-engine/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;Feel free to use these scripts or simply refer to them when customizing your own. As always, feedback and comments would be appreciated. BioTeam remains committed to making sure SGE remains an excellent choice for use on OS X based systems.&lt;/p&gt;



</description>
      <pubDate>Tue, 04 Mar 2008 11:20:42 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:6fc9ad99-94b0-4fc6-9b4d-b1e63dceaf3d</guid>
      <author>dag@sonsorol.org (chris)</author>
      <comments>http://gridengine.info/2008/03/04/grid-engine-and-apple-os-x-launchd#comments</comments>
      <category>News</category>
      <category>Administration</category>
      <category>launchd</category>
      <category>osx</category>
      <category>apple</category>
      <category>10.5</category>
      <category>leopard</category>
      <link>http://gridengine.info/2008/03/04/grid-engine-and-apple-os-x-launchd</link>
    </item>
  </channel>
</rss>
