<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=864524617-30012007>Gold should be setup correctly, and I can query the
gold database as root using the command line gold commands. The maui config I
have is identical to a working configuration I have on another machine modulo
the hostname. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=864524617-30012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=864524617-30012007>The typo is from a bad cut-n-paste.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=864524617-30012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=864524617-30012007>Thanks</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=864524617-30012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=864524617-30012007>Tim</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Kevin Van Workum
[mailto:vanw@tticluster.com] <BR><B>Sent:</B> Tuesday, January 30, 2007 6:35
AM<BR><B>To:</B> Carlson, Timothy S<BR><B>Cc:</B>
mauiusers@supercluster.org<BR><B>Subject:</B> Re: [Mauiusers] Problems with
maui/gold/torque integration on 64 bit IRIX<BR></FONT><BR></DIV>
<DIV></DIV>Did you this?<BR><BR>su -c "gmkuser -d \"Maui Scheduler\" maui"
gold<BR>su -c "goldsh RoleUser Create Role=Scheduler Name=maui" gold<BR><BR>But
it looks like you're running maui as root, so s/maui/root/ in the above.
<BR><BR>Doubt it makes a difference, but you have a typo, "<FONT face=Arial
size=2>JOBFAILUREACTION=NON". I think you meant
NONE.<BR><BR>Kevin<BR></FONT><BR>
<DIV><SPAN class=gmail_quote>On 1/29/07, <B class=gmail_sendername>Carlson,
Timothy S</B> <<A
href="mailto:Timothy.Carlson@pnl.gov">Timothy.Carlson@pnl.gov</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><FONT face=Arial size=2>Here is my setup.</FONT> </P>
<P><FONT face=Arial size=2>I would like to integrate Maui/Gold/Torque on an
IRIX64 running IRIX 6.5.30. I've got everything compiled and running with the
IRIX compilers and I can submit a job without a </FONT></P>
<P><FONT face=Arial size=2>#PBS -A myaccount</FONT> </P>
<P><FONT face=Arial size=2>line and thins runs fine. However when I add in a
#PBS -A line, my jobs exits without running and I get the following in
my torque output file.</FONT></P>
<P><FONT face=Arial size=2>mom_close_poll: entered</FONT> </P>
<P><FONT face=Arial size=2>And I get an email message of</FONT> </P>
<P><FONT face="Courier New" size=2>PBS Job Id: 4.nwvisus</FONT> <BR><FONT
face="Courier New" size=2>Job Name: test</FONT> <BR><FONT
face="Courier New" size=2>Aborted by PBS Server</FONT> <BR><FONT
face="Courier New" size=2>Job cannot be executed</FONT> <BR><FONT
face="Courier New" size=2>See job standard error file</FONT> </P>
<P><FONT face=Arial size=2>The maui logs seem to indicate that gold was
queried and in fact a charge was made after the job has run.</FONT> </P>
<P><FONT face=Arial size=2>INFO: response received
from server</FONT> <BR><FONT face=Arial size=2>INFO:
response received: '<?xml version="1.0" encoding="UTF-8"?></FONT>
<BR><FONT face=Arial size=2><Envelope><Body><Response
actor="root"><Status><Value>Success</Value><Code>000</Code><Message>Successfully
charged job 4 for 62 credits 1 reservations were
removed</Message></Status><Count>62</Count><Data><Charge><Amount>62</Amount><Job>174840</Job></Charge></Data></Response></Body></Envelope>
</FONT></P>
<P><FONT face=Arial size=2>'</FONT> <BR><FONT face=Arial
size=2>MSUDisconnect(S)</FONT> <BR><FONT face=Arial
size=2>INFO: command response '<?xml version="1.0"
encoding="UTF-8"?></FONT> <BR><FONT face=Arial
size=2><Envelope><Body><Response
actor="root"><Status><Value>Success</Value><Code>000</Code><Message>Successfully
charged job 4 for 62 credits </FONT></P>
<P><FONT face=Arial size=2>1 reservations were
removed</Message></Status><Count>62</Count><Data><Charge><Amount>62</Amount><Job>174840</Job></Charge></Data></Response></Body></Envelope>
</FONT></P>
<P><FONT face=Arial size=2>'</FONT> </P>
<P><FONT face=Arial size=2>However, in the logs before that I see where there
were problems contacting the resource manager. Not sure if this is normal or
not</FONT></P>
<P><FONT face=Arial size=2>ERROR: cannot receive response
from allocation-manager server 'dbserver':7112</FONT> <BR><FONT face=Arial
size=2>MSysRegEvent(FAILURE: cannot receive response from
allocation-manager server dbserver:7112 (cmd: '<XML>')</FONT> <BR><FONT
face=Arial size=2>,0,0,1)</FONT> <BR><FONT face=Arial
size=2>MSysLaunchAction(ASList,1)</FONT> <BR><FONT face=Arial
size=2>INFO: command response 'NULL'</FONT> <BR><FONT
face=Arial size=2>ALERT: no job data available</FONT>
<BR><FONT face=Arial size=2>ALERT: cannot extract
status</FONT> <BR><FONT face=Arial size=2>ALERT: cannot
reserve allocation for job</FONT> <BR><FONT face=Arial size=2>WARNING:
cannot reserve allocation for job '4', reason: BankFailure</FONT> <BR><FONT
face=Arial size=2>MRMJobStart(4,Msg,SC)</FONT> <BR><FONT face=Arial
size=2>MPBSJobStart4,nwvisus,Msg,SC)</FONT> <BR><FONT face=Arial
size=2>MPBSJobModify4,Resource_List,Resource,nwvisus:ppn=2)</FONT> <BR><FONT
face=Arial size=2>MPBSJobModify(4,Resource_List,Resource,1:ppn=2)</FONT>
</P><BR><BR>
<P><FONT face=Arial size=2>I built both Torque-2.1.6 and Maui-2.6.18 in 64 bit
mode and fixed the configure problem in Torque so that the linker tried to
link 64 bit and add the -D__M64 to the OSCCFLAGS of Maui. I've also
tried Torque-2.0.0pXX and snapshot version of Maui. All of this with
gold-2.0.0.7</FONT></P>
<P><FONT face=Arial size=2>I can query my gold database with basic gold
commands from this machine and I'm fairly sure I have configured my
maui.cfg maui-private.cfg file correctly </FONT></P>
<P><FONT face=Arial size=2>maui.cfg</FONT> </P>
<P><FONT face=Arial size=2>---snip-----</FONT> <BR><FONT face=Arial
size=2>RMCFG[nwvisus] TYPE=PBS</FONT> </P>
<P><FONT face=Arial size=2># Allocation Manager Definition</FONT> </P>
<P><FONT face=Arial size=2>AMCFG[bank] TYPE=GOLD HOST=dbserver PORT=7112
SOCKETPROTOCOL=HTTP WIREPROTOCOL=XML CHARGEPOLICY=DEBITALLWC
JOBFAILUREACTION=NON TIMEOUT=15</FONT></P>
<P><FONT face=Arial size=2>---snip---</FONT> </P><BR>
<P><FONT face=Arial size=2>And maui-private-cfg</FONT> </P>
<P><FONT face=Arial size=2>CLIENTCFG[AM:bank] CSKEY=my_super_secret_key
CSALGO=HMAC</FONT> </P>
<P><FONT face=Arial size=2>Is there something interesting I should be looking
for in either my Torque or Maui log files? </FONT></P>
<P><FONT face=Arial size=2>Thanks</FONT> </P>
<P><FONT face=Arial size=2>Tim Carlson</FONT> <BR><FONT face=Arial
size=2>Voice: (509) 376 3423</FONT> <BR><FONT face=Arial size=2>Email: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Tim.Carlson@pnl.gov" target=_blank>Tim.Carlson@pnl.gov</A></FONT>
<BR><FONT face=Arial size=2>Pacific Northwest National Laboratory</FONT>
<BR><FONT face=Arial size=2>HPCaNS: High Performance Computing and Networking
Services</FONT>
</P></DIV><BR>_______________________________________________<BR>mauiusers
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:mauiusers@supercluster.org">mauiusers@supercluster.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.supercluster.org/mailman/listinfo/mauiusers"
target=_blank>http://www.supercluster.org/mailman/listinfo/mauiusers</A><BR><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Kevin Van Workum, Ph.D.<BR>Vice President<BR>Senior System
Administrator<BR><A
href="http://www.clusterondemand.com">www.clusterondemand.com</A><BR>ONLINE
COMPUTER CLUSTERS </BODY></HTML>