<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>IOME</title>
	<atom:link href="http://iomes.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://iomes.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 31 Mar 2011 07:35:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='iomes.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>IOME</title>
		<link>http://iomes.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://iomes.wordpress.com/osd.xml" title="IOME" />
	<atom:link rel='hub' href='http://iomes.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Using the Google Gadget API and Java Scripting to Submit Jobs Using IOME</title>
		<link>http://iomes.wordpress.com/2010/12/15/using-php-the-_get-function-to-submit-an-iome-task/</link>
		<comments>http://iomes.wordpress.com/2010/12/15/using-php-the-_get-function-to-submit-an-iome-task/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 22:39:03 +0000</pubDate>
		<dc:creator>iomes</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[simulation service]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[google-gadget]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=262</guid>
		<description><![CDATA[Today we have been experimenting with the Google gadget API and considering different methods for submitting jobs to an IOME server. A current limitation with the IOME toolkit is that there is not currently support for java script enabled soap clients. Using the google gadget API it was easy to embed an application into a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=262&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today we have been experimenting with the Google gadget API and considering different methods for submitting jobs to an IOME server. A current limitation with the IOME toolkit is that there is not currently support for java script enabled soap clients.</p>
<p>Using the <a href="http://code.google.com/apis/gadgets/" target="_blank">google gadget API</a> it was easy to embed an application into a web page, here is a sample gadget .xml file. The Google gadget developer tools and API are at</p>
<p><a href="http://code.google.com/apis/gadgets/docs/tools.html#GGE" target="_blank">http://code.google.com/apis/gadgets/docs/tools.html#GGE</a></p>
<p>It is useful to observe that when attempting to publish the app from the gadget editor the following error is reported</p>
<p>&#8220;Gadget XML should have home view and type html.&#8221;</p>
<p>The way around this problem is to put the gadget.xml file in a  suitable web location and then to click add gadgets on the igoogle page,  in the bottom left of this page is a link to add a feed or gadget this  requires the user to add the URL of the gadget.xml file.</p>
<p>The key feature of the script is the following line<br />
&lt;Content type=&#8221;url&#8221; href=&#8221;http://organisation.org.uk/iogatest/iogatest1.php&#8221; view=&#8221;home,canvas&#8221;/&gt;</p>
<p>Module&gt;<br />
−<br />
&lt;ModulePrefs  thumbnail=&#8221;http://organisation.org.uk/iogatest/iogathumbnail.jpg&#8221;  screenshot=&#8221;http://organisation.org.uk/iogatest/iogagadget.jpg&#8221;  title=&#8221;iogs&#8221; title_url=&#8221;http://www.iome.org.uk/&#8221; description=&#8221;Client  used for accessing IOME based web services&#8221; scrolling=&#8221;true&#8221;  singleton=&#8221;true&#8221; height=&#8221;400&#8243; width=&#8221;400&#8243; author=&#8221;Michael Griffiths&#8221;  author_email=&#8221;myemail@org.ac.uk&#8221; author_aboutme=&#8221;Organisation.&#8221;&gt;<br />
&lt;Require feature=&#8221;dynamic-height&#8221;/&gt;<br />
&lt;Require feature=&#8221;settitle&#8221;/&gt;<br />
&lt;/ModulePrefs&gt;<br />
&lt;Content type=&#8221;url&#8221; href=&#8221;http://organisation.org.uk/iogatest/iogatest1.php&#8221; view=&#8221;home,canvas&#8221;/&gt;<br />
&lt;/Module&gt;</p>
<p>&nbsp;</p>
<p>Some examples of java based SOAP clients are given below</p>
<p><a title="http://www.guru4.net/articoli/javascript-soap-client/en/" href="http://www.guru4.net/articoli/javascript-soap-client/en/" target="_blank">http://www.guru4.net/articoli/javascript-soap-client/en/</a></p>
<p><a title="http://www.codeproject.com/KB/ajax/JavaScriptSOAPClient.aspx" href="http://www.codeproject.com/KB/ajax/JavaScriptSOAPClient.aspx" target="_blank">http://www.codeproject.com/KB/ajax/JavaScriptSOAPClient.aspx</a></p>
<p><a title="http://stackoverflow.com/questions/124269/simplest-soap-example-using-javascript" href="http://stackoverflow.com/questions/124269/simplest-soap-example-using-javascript" target="_blank">http://stackoverflow.com/questions/124269/simplest-soap-example-using-javascript</a></p>
<p>One of the problems is that we require the google gadget to communicate directly with the web service due to firewall restrictions this may not be possible.</p>
<p>We succesfully submitted an IOME task using a URL of the form</p>
<p>http://webaddress.ac.uk/iogatest/submitiogajobt1.php?useremail=username@institution.org.uk&#038;equation=y=n+sum(x.^3-cos(2*pi*x));&#038;populationnumber=40&#038;generationnumber=60&#038;crossoverprobability=0.7&#038;mutationprobability=0.5</p>
<p>Note the maximum line length for such a request is approximately 2000 characters, notes about using PHP $_GET is shown below.</p>
<p><a title="http://www.w3schools.com/php/php_get.asp" href="http://www.w3schools.com/php/php_get.asp" target="_blank">http://www.w3schools.com/php/php_get.asp</a></p>
<p>The script submitiogajobt1.php used to make the request and on the web server is shown below</p>
<p>&lt;?php<br />
require_once(&#8216;iome/iome.php&#8217;);</p>
<p>$myioservice = new ioservice;<br />
$myioservice-&gt;server = &#8216;suilven.shef.ac.uk&#8217;;<br />
$myioservice-&gt;port = &#8217;60001&#8242;;<br />
$myioservice-&gt;id = 0;<br />
$myioservice-&gt;method = 2;</p>
<p>//need correct write permission on target path<br />
$currenttime = time();<br />
//$target_path=&#8221;/var/www/html/uploads/&#8221;;<br />
$target_path=&#8221;/webusers/cs6grid/public_html/iogatest/results/$currenttime&#8221;;<br />
//echo $target_path ;<br />
//echo getcwd();</p>
<p>//$target_path = $target_path.basename( $_FILES['userfile']['name']);<br />
//echo $target_path ;<br />
/*The following lines read the job template xml file*/<br />
/*The %items%  in the jobfile content are replaced with<br />
the variable parameters*/<br />
/*we use the str_replace function to acheive this*/<br />
/*str_replace — Replace all occurrences of the search string with the replacement string*/</p>
<p>$useremail=&#8221;";<br />
$jobfile = file_get_contents( &#8220;iogaphp.xml&#8221;);<br />
$jobref=$currenttime;<br />
$populationnumber=&#8221;30&#8243;;<br />
$generationnumber=&#8221;50&#8243;;<br />
$crossoverprobability=&#8221;0.9&#8243;;<br />
$mutationprobability=&#8221;0.6&#8243;;<br />
$equation=&#8221;y=n+sum(x.^2-cos(2*pi*x));&#8221;;<br />
$parameternumber=&#8221;2&#8243;;</p>
<p>if(!empty($_GET['useremail'])){<br />
$useremail = $_GET['useremail'];<br />
}</p>
<p>if(!empty($_GET['populationnumber'])){<br />
$populationnumber = $_GET['populationnumber'];<br />
}</p>
<p>if(!empty($_GET['crossoverprobability'])){<br />
$crossoverprobability = $_GET['crossoverprobability'];<br />
}</p>
<p>if(!empty($_GET['mutationprobability'])){<br />
$mutationprobability = $_GET['mutationprobability'];<br />
}</p>
<p>if(!empty($_GET['equation'])){<br />
$equation = $_GET['equation'];<br />
}</p>
<p>if(!empty($_GET['parameternumber'])){<br />
$parameternumber = $_GET['parameternumber'];<br />
}</p>
<p>$tempjobfile = str_replace(&#8220;%useremail%&#8221;, $useremail, $jobfile);<br />
$temptjobfile = str_replace(&#8220;%populationnumber%&#8221;, $populationnumber, $tempjobfile);<br />
$tempjobfile = str_replace(&#8220;%generationnumber%&#8221;, $generationnumber, $temptjobfile);<br />
$temptjobfile = str_replace(&#8220;%crossoverprobability%&#8221;, $crossoverprobability, $tempjobfile);<br />
$tempjobfile = str_replace(&#8220;%mutationprobability%&#8221;, $mutationprobability, $temptjobfile);<br />
$temptjobfile = str_replace(&#8220;%equation%&#8221;, $equation, $tempjobfile);<br />
$tempjobfile = str_replace(&#8220;%jobref%&#8221;, $jobref, $temptjobfile);</p>
<p>$jobfile = str_replace(&#8220;%parameternumber%&#8221;, $parameternumber, $tempjobfile);</p>
<p>//submit the job to the server<br />
//when the job runs it will pull the binary image file from the ftp server<br />
echo &#8220;populationnumber: &#8220;.$populationnumber;<br />
echo &#8220;generationnumber: &#8220;.$generationnumber;<br />
echo &#8220;crossoverprobability: &#8220;.$crossoverprobability;<br />
echo &#8220;mutationprobability: &#8220;.$mutationprobability;<br />
echo &#8220;equation: &#8220;.$equation;<br />
echo &#8220;parameternumber: &#8220;.$parameternumber;</p>
<p>$outfile=&#8221;newsimresults.xml&#8221;;<br />
mkdir($target_path,0777,true);<br />
chmod($target_path,0777);  //this line essential to ensure folder set with correct permissions</p>
<p>//$result=(string)setparamdouble($name,(float)$_GET['floatval'],$myioservice);</p>
<p>//running the job in non interactive mode<br />
$result= submitsimulation($jobfile,$myioservice);</p>
<p>//Running the job interactively<br />
//$result= runsimulation($jobfile,$outfile,$myioservice);<br />
//  $myFile = $target_path.&#8221;/testFile.xml&#8221;;<br />
// $fh = fopen($myFile, &#8216;w&#8217;);<br />
// fwrite($fh, $result);<br />
// fclose($fh);</p>
<p>//during testing we use the request to set up the job<br />
//this will not delete the directory when the job has completed<br />
//$result = requestsimulation($jobfile,$myioservice);<br />
echo $result;<br />
$resultlink=&#8221;http://webaddress.ac.uk/iogatest/results/&#8221;.$currenttime;<br />
echo &#8220;Result will be available at:&#8221;;<br />
echo(&#8220;&lt;a href=\&#8221;".$resultlink.&#8221;\&#8221;&gt;click here to access the results directory&lt;/a&gt;&#8221;);<br />
//echo $resultlink;<br />
//$myioservice -&gt; id = $result;<br />
//runrequestedsimulation($myioservice);</p>
<p>?&gt;</p>
<p>Using the google gadget API</p>
<p><a title="http://code.google.com/apis/gadgets/" href="http://code.google.com/apis/gadgets/" target="_blank">http://code.google.com/apis/gadgets/</a></p>
<p>gadgets may be edited using the google gadget editor at</p>
<p><a title="http://code.google.com/apis/gadgets/docs/tools.html#GGE" href="http://code.google.com/apis/gadgets/docs/tools.html#GGE" target="_blank">http://code.google.com/apis/gadgets/docs/tools.html#GGE</a></p>
<p>A simple example shown below is as follows</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243; ?&gt;<br />
&lt;Module&gt;<br />
&lt;ModulePrefs title=&#8221;Set Title Example&#8221;&gt;<br />
&lt;Require feature=&#8221;settitle&#8221;/&gt;<br />
&lt;/ModulePrefs&gt;<br />
&lt;Content type=&#8221;html&#8221;&gt;<br />
&lt;![CDATA[<br />
&lt;script type="text/javascript"&gt;<br />
function changeTitle(form) {<br />
var newTitle = form.inputbox.value;<br />
gadgets.window.setTitle(newTitle);<br />
}<br />
&lt;/script&gt;<br />
&lt;FORM NAME="myform" ACTION="" METHOD="GET"&gt;Change the Gadget Title: &lt;BR&gt;&lt;BR&gt;<br />
&lt;INPUT TYPE="text" NAME="inputbox" VALUE=""&gt;&lt;BR&gt;&lt;BR&gt;<br />
&lt;INPUT TYPE="button" NAME="button" Value="Change Title" onClick="changeTitle(this.form)"&gt;<br />
&lt;/FORM&gt;<br />
&lt;div id="content_div"&gt;&lt;/div&gt;<br />
]]&gt;<br />
&lt;/Content&gt;<br />
&lt;/Module&gt;</p>
<p>Now from the code examples we can see below a function which may be adapted to make a request to the IOME server using the php client.</p>
<pre>function getContacts() {
    var params = {};
    params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT;
    var url = "http://gadget-doc-examples.googlecode.com/svn/trunk/opensocial-gadgets/Contacts.csv";
    gadgets.io.makeRequest(url, response, params);
  };</pre>
<p>This uses the gadgets.io.makeRequest method described below</p>
<p><a title="http://code.google.com/apis/gadgets/docs/reference/#gadgets.io.makeRequest" href="http://code.google.com/apis/gadgets/docs/reference/#gadgets.io.makeRequest" target="_blank">http://code.google.com/apis/gadgets/docs/reference/#gadgets.io.makeRequest</a></p>
<p>a more complete example is shown below</p>
<p><a title="http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_text" href="http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_text" target="_blank">http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_text</a></p>
<p>Further ideas</p>
<p>Using the twitter php and python libraries to notify users of results may be achieved using the following API&#8217;s</p>
<p><a title="http://dev.twitter.com/pages/libraries#php" href="http://dev.twitter.com/pages/libraries#php" target="_blank">http://dev.twitter.com/pages/libraries#php</a></p>
<p><a title="http://dev.twitter.com/pages/libraries#python" href="http://dev.twitter.com/pages/libraries#python" target="_blank">http://dev.twitter.com/pages/libraries#python</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=262&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/12/15/using-php-the-_get-function-to-submit-an-iome-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ada7c83501227628a4310a62b244a993?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iomes</media:title>
		</media:content>
	</item>
		<item>
		<title>A Licence Manager Monitoring Tool</title>
		<link>http://iomes.wordpress.com/2010/11/25/a-licence-manager-monitoring-tool/</link>
		<comments>http://iomes.wordpress.com/2010/11/25/a-licence-manager-monitoring-tool/#comments</comments>
		<pubDate>Thu, 25 Nov 2010 21:01:58 +0000</pubDate>
		<dc:creator>iomes</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[simulation service]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[using IOME tools]]></category>
		<category><![CDATA[iogs]]></category>
		<category><![CDATA[licence monitor]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=250</guid>
		<description><![CDATA[We currently have to monitor license usage for a number of software packages. The license usage is increased by large teaching groups and by users running parallel instances requiring multiple licenses. The application consists of the following components An instance of the IOME service storing licence information. The licence manager servers will update the licence [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=250&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We currently have to monitor license usage for a number of software packages. The license usage is increased by large teaching groups and by users running parallel instances requiring multiple licenses.</p>
<p>The application consists of the following components</p>
<ol>
<li>An instance of the IOME service storing licence information. The licence manager servers will update the licence data at regular intervals.</li>
<li>A service monitor script which checks that the licence monitor IOME service is up and running.</li>
<li>Scripts an each licence manager node which will query each of the licence servers and update the IOME licence monitor service with the licence information.</li>
<li>A php script on a web server (with the IOME php client tools). This is used to query the data, when the user clicks the web page the php script queries the IOME server.</li>
</ol>
<p>The licence usage information  is stored on an IOME server started using the following script.</p>
<p>#!/bin/bash<br />
IOME_SIMNAME=&#8221;iolicencemonitor&#8221;</p>
<p>./startserver.sh &amp;</p>
<p>sleep 2<br />
IOME_WSPORT=`cat ${IOME_SIMNAME}0_port.txt`<br />
echo port is $IOME_WSPORT</p>
<p>sleep 20</p>
<p>iogs addparam int ansys_research_inuse 0 7 0 $IOME_WSPORT localhost<br />
iogs addparam int ansys_teaching_inuse 0 7 0 $IOME_WSPORT localhost<br />
iogs addparam int matlab_inuse 0 7 0 $IOME_WSPORT localhost<br />
iogs addparam int abaqus_inuse 0 7 0 $IOME_WSPORT localhost<br />
iogs addparam int ansys_research_total 0 7 0 $IOME_WSPORT localhost<br />
iogs addparam int ansys_teaching_total 0 7 0 $IOME_WSPORT localhost<br />
iogs addparam int matlab_total 0 7 0 $IOME_WSPORT localhost<br />
iogs addparam int abaqus_total 0 7 0 $IOME_WSPORT localhost</p>
<p>./servicemonitor.sh &amp;</p>
<p>The servicemonitor checks the service status and alerts, by e-mail the administrator of any diffculties.</p>
<p>#!/bin/bash<br />
IOME_SIMNAME=&#8221;iolicencemonitor&#8221;<br />
sleep 2<br />
IOME_WSPORT=`cat ${IOME_SIMNAME}0_port.txt`<br />
echo port is $IOME_WSPORT</p>
<p>iogs addparam int servicestatus 1 7 0 $IOME_WSPORT localhost</p>
<p>ADMINEMAIL=&#8221;myemail@institution.ac.uk&#8221;</p>
<p>#loop around and get status every minute update IOME server<br />
SERVICESTATUS=`iogs getparam int servicestatus 0 $IOME_WSPORT localhost`<br />
echo &#8220;Service status is $SERVICESTATUS\n&#8221; &gt; temp.txt<br />
cat mes.txt temp.txt &gt; newmes.txt<br />
mail -s &#8220;message from iolicencemonitor&#8221; myemail@institution@email.ac.uk &lt; newmes.txt</p>
<p>#if get status param from webv service fails email admin<br />
#and infomr that web service has failed</p>
<p>loopvar=&#8221;testing&#8221;<br />
loopdelay=&#8221;120&#8243;</p>
<p>while [ "$loopvar" != "end" ]<br />
do<br />
sleep $loopdelay<br />
#check iome server<br />
SERVICESTATUS=`iogs getparam int servicestatus 0 $IOME_WSPORT localhost`<br />
if [ $SERVICESTATUS != "1" ]<br />
then<br />
loopdelay=10200<br />
echo &#8220;Service status is $SERVICESTATUS IOME licence monitor server not responding&#8221; &gt; temp.txt<br />
cat mes.txt temp.txt &gt; newmes.txt<br />
mail -s &#8220;message from iolicencemonitor&#8221; $ADMINEMAIL &lt; newmes.txt<br />
fi</p>
<p>done</p>
<p>The licence monitor script running on each of the licence managers is shown below. There are separate functions for each package licence which update the IOME server</p>
<p>#!/bin/bash</p>
<p>function extractifl1()<br />
{<br />
# echo &#8220;Ansys_Research&#8221; $6  ${11}  $IOME_WSPORT<br />
iogs setparam int ansys_research_total $6  $IOME_VARS<br />
iogs setparam int ansys_research_inuse ${11} $IOME_VARS<br />
}</p>
<p>function extractifl2()<br />
{<br />
# echo &#8220;Ansys_Teaching&#8221; $6  ${11}<br />
iogs setparam int ansys_teaching_total $6  $IOME_VARS<br />
iogs setparam int ansys_teaching_inuse ${11} $IOME_VARS<br />
}</p>
<p>function extractmt()<br />
{<br />
#  echo &#8220;Matlab_Total&#8221; $6  ${11}<br />
iogs setparam int matlab_total $6  $IOME_VARS<br />
iogs setparam int matlab_inuse ${11} $IOME_VARS<br />
}</p>
<p># IOME_SIMNAME=&#8221;iolicencemonitor&#8221;<br />
sleep 2<br />
IOME_VARS=&#8221;0  60002  suilven.shef.ac.uk&#8221;</p>
<p>loopvar=&#8221;testing&#8221;<br />
loopdelay=&#8221;5s&#8221;</p>
<p>#<br />
while [ "$loopvar" != "end" ]<br />
do</p>
<p>sleep $loopdelay</p>
<p># ansys_research<br />
tmpv=`(/usr/local/packages/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -a -c /usr/local/packages//ansys_inc/shared_files/licensing/license.dat  | grep &#8216;Total&#8217; ) | grep &#8216;aa_r:&#8217;`<br />
# echo &#8220;var= $tmpv&#8221;<br />
extractifl1 $tmpv</p>
<p>#ansys_teaching<br />
tmpv=`(/usr/local/packages/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -a -c /usr/local/packages//ansys_inc/shared_files/licensing/license.dat  | grep &#8216;Total&#8217; ) | grep &#8216;t_a:&#8217;`<br />
# echo &#8220;var= $tmpv&#8221;<br />
extractifl2 $tmpv</p>
<p>#matlab_total<br />
tmpv=`(/usr/local/packages/matlab/etc/lmstat -a -c /usr/local/packages/matlab/etc/license.dat  | grep &#8216;Total&#8217; ) | grep &#8216;MATLAB:&#8217;`<br />
#  echo $tmpv<br />
extractmt $tmpv</p>
<p>done<br />
[flexlm@licserv ~]$c/license.dat  | grep &#8216;Total&#8217; ) | grep &#8216;MATLAB:&#8217;`<br />
#  echo $tmpv<br />
extractmt $tmpv</p>
<p>The php script on the web server is</p>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;IOME PHP Licence monitor test&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;</p>
<p>&lt;?php echo &#8216;&lt;p&gt;This is the IOME licence monitor test.&lt;/p&gt;&#8217;;<br />
require_once(&#8216;iome/iome.php&#8217;);<br />
$ios = new ioservice;<br />
$ios-&gt;server = &#8220;machine.institution.ac.uk&#8221;;<br />
$ios-&gt;port = XXXXXX;<br />
$ios-&gt;id = 0;<br />
$ios-&gt;method = 2;<br />
$client = $ios-&gt;client();</p>
<p>print(&#8220;ansys_research_inuse/total &#8220;.getparamint(&#8220;ansys_research_inuse&#8221;, $ios).&#8221; &#8220;.getparamint(&#8220;ansys_research_total&#8221;, $ios).&#8221;\n&#8221;);<br />
?&gt;<br />
&lt;br /&gt;</p>
<p>&lt;?php<br />
print(&#8220;ansys_teaching_inuse/total &#8220;.getparamint(&#8220;ansys_teaching_inuse&#8221;, $ios).&#8221; &#8220;.getparamint(&#8220;ansys_teaching_total&#8221;, $ios).&#8221;\n&#8221;);<br />
?&gt;<br />
&lt;br /&gt;<br />
&lt;?php<br />
print(&#8220;abaqus_inuse/total &#8220;.getparamint(&#8220;abaqus_inuse&#8221;, $ios).&#8221; &#8220;.getparamint(&#8220;abaqus_total&#8221;, $ios).&#8221;\n&#8221;);<br />
?&gt;<br />
&lt;br /&gt;</p>
<p>&lt;?php<br />
print(&#8220;matlab_inuse/total &#8220;.getparamint(&#8220;matlab_inuse&#8221;, $ios).&#8221; &#8220;.getparamint(&#8220;matlab_total&#8221;, $ios).&#8221;\n&#8221;);<br />
?&gt;<br />
&lt;br /&gt;<br />
&lt;/html&gt;</p>
<p>The installation of the service required the following tasks</p>
<ul>
<li>Installation of IOME on each server</li>
<li>Preparation of the web server</li>
<li>Setting firewalls to allow each server to make requests to the IOME licence monitor service.</li>
</ul>
<p>Using IOME the complete installation was a quick process taking only hour.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=250&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/11/25/a-licence-manager-monitoring-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ada7c83501227628a4310a62b244a993?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iomes</media:title>
		</media:content>
	</item>
		<item>
		<title>Example Application for MHD Using IOME</title>
		<link>http://iomes.wordpress.com/2010/07/01/example-application-for-mhd-using-iome/</link>
		<comments>http://iomes.wordpress.com/2010/07/01/example-application-for-mhd-using-iome/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 22:18:19 +0000</pubDate>
		<dc:creator>iomes</dc:creator>
				<category><![CDATA[simulation service]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[using IOME tools]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[MHD]]></category>
		<category><![CDATA[SAC]]></category>
		<category><![CDATA[VAC]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=251</guid>
		<description><![CDATA[Physicists and Applied Mathematicians studying solar phenomena are confronted by complex highly nonlinear probems with large datasets. With modern space borne observation platforms such as NASA&#8217;s solar data observatory increasing data volumes improve the value of techniques such as coronal seismology. Given the complexity of the problems that are modelled using magnetohydrodynamics it is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=251&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Physicists and Applied Mathematicians studying solar phenomena are confronted by complex highly nonlinear probems with large datasets. With modern space borne observation platforms such as <a href="http://sdo.gsfc.nasa.gov/" target="_blank">NASA&#8217;s solar data observatory</a> increasing data volumes improve the value of techniques such as coronal seismology.</p>
<p>Given the complexity of the problems that are modelled using magnetohydrodynamics it is a challenge for researchers to provide a method for repeating such computations. This is due to the number of processing stages and the parametric spaces which might be explored.</p>
<p>We have developed a system which enables computational MHD practicioners to generate metadata enabling</p>
<ol>
<li>Reconstruction and repetition of  computational models (rather like a workflow e.g. <a href="http://www.taverna.org.uk" target="_blank">taverna</a>)</li>
<li>Automated generation of XML descriptions of individual models, which maybe be tranformed using an appropriate XSLT to present the salient data in a useful way for the researcher.</li>
</ol>
<p>The automated metadata capture technique is similar to that used by the Cambridge based e-Minerals project in the National institute of environemnetal e-Science. The basic approach is as follows</p>
<p>The researcher provides a series of template files used to describe the initial system, the physical problem, pre-processing scripts to generate additional data required by the model. A driver script for the simulation is set up and this is used to create models. When each model is run it generates and IOME-ML based description of the model and example of invoking iome is as follows</p>
<p>runmodeliome mod mymodel.sh</p>
<p>The mod keyword lets IOME know that we need to generate and run a model, the basic description of which is described in the mymodel.sh script file.</p>
<p>A model output file is generated e.g. mymodel1.xml this may be used to re run the model as follows</p>
<p>runmodeliome mymodel.xml mymodelname</p>
<p>The scripting enables different actions to be switched on and off and specified  parameters to be modified rather like a parametric sweep.</p>
<p>The implementation has been tested with the Versatile advection code for MHD. A couple of additional points should be noted. This is a bespoke tool for MHD and thus the full complexity offered by workflow tools such as taverna was not required. It appears the MHD researchers already have a markup at their disposal e.g. the FSML it is believed that this level of detail is not currentlyrequired. Following along the lines fo NIEES&#8217;s automated metadata capture method it was found that one could easily develop the metadata capture tool for Solar Science using the IOME toolkit.</p>
<ul>
<li><a href="http://grid.engin.umich.edu/~gtoth/VAC/" target="_blank">MHD Using the Versatile advection code</a></li>
<li><a href="http://www.txcorp.com/pdf/publications/FSML_CLADE_05.pdf" target="_blank">MHD fusion markup language</a></li>
<li><a href="http://www.taverna.org.uk/" target="_blank">Taverna</a></li>
<li><a href="http://eprints.ecs.soton.ac.uk/14979/1/opm.pdf" target="_blank">OPM provenance model</a></li>
<li><a href="http://archive.niees.ac.uk/documents/AH06_Metadata_2006.pdf" target="_blank">Automatic metadata capture</a></li>
</ul>
<p>One of the features of the complex modelling systems is to guarantee the correct files for describing the full model such version control/provenance management may be acheive using some thing like the Open provenance markup.</p>
<p>A further advantage of our method for collecting information about MHD modelling runs is that it enables these runs to be easily managed through a browser accessible interface and additional feature is the possibility of tuning model parameters  as a computational steered application. At this point some form provenance management is required to maintain a track of revisions to the steering state of the model. Our approach is to use the IOME-ML script to summarise the main characteristics and job dependencies.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=251&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/07/01/example-application-for-mhd-using-iome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ada7c83501227628a4310a62b244a993?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iomes</media:title>
		</media:content>
	</item>
		<item>
		<title>Progress with Updating and Testing a Tutorial Matlab Web Service</title>
		<link>http://iomes.wordpress.com/2010/06/23/progress-with-updating-and-testing-a-tutorial-matlab-web-service/</link>
		<comments>http://iomes.wordpress.com/2010/06/23/progress-with-updating-and-testing-a-tutorial-matlab-web-service/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 14:27:22 +0000</pubDate>
		<dc:creator>iomes</dc:creator>
				<category><![CDATA[matlab]]></category>
		<category><![CDATA[simulation service]]></category>
		<category><![CDATA[application service]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=248</guid>
		<description><![CDATA[We are preparing another example which can be used to test and teach how to implement models as web services. In attempting to do this we&#8217;ve identified a number of interesting issues. These issues are not specifically related to the IOME distribution but relate to the problems that are faced whenever an attempt is made [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=248&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We are preparing another example which can be used to test and teach how to implement models as web services. In attempting to do this we&#8217;ve identified a number of interesting issues. These issues are not specifically related to the IOME distribution but relate to the problems that are faced whenever an attempt is made to build distributed applications.</p>
<p>The problem we have set up is a genetic algorithm service for which users may provide a function and a genetic algorithm is used to determine the global minima. The results are returned via e-mail and via ftp to a results page hosted by the job service.</p>
<p>The example we have provided highlights a number of techniques for</p>
<ul>
<li>Testing the implementation (compute server side and web server side)</li>
<li>Transferring data to and from web server and compute server using <a href="http://curl.haxx.se/" target="_blank">CURL</a> and ftp</li>
<li>Submitting a simulation from the web server (using interactive, batch submit or request test method)</li>
</ul>
<p>Here are some of the problems.</p>
<ul>
<li>Sending results back to a secured and managed ftp service it was found that the php script creating a results folder had to use both mkdir(), and chmod functions and explicitly set permissions to 777. This is due to the fact that the scripts run as the web server apache user and any folders created are owned by that user. Attempts to ftp via a bash script or curl script result in permissions errors.</li>
<li>During testing the submitsimulation method deletes the job folder upon completion of the job. So we lose any output. During testing we therefore simply copy the folder contents back to a testing folder.</li>
<li>When running the matlab job on the compute cluster and via the scheduler (sun grid engine) matlab does not successfully print the generated figures. (<a href="http://blogs.mathworks.com/loren/2008/11/25/printing-in-a-deployed-application/" target="_blank">see posting by Loren</a>). There are two solutions to this problem. The first is to simply run the job on the server and not through the scheduler. The second method is to run two matlab jobs one which is computationally intensive and is submitted to the scheduler. The other application runs upon job completion and runs matlab on the server to generate the figure output.</li>
</ul>
<p>A good success is that this is the first run for which we have submitted an application test interactively. With theRunSimulation command the server request waits for job completion. This is excellent because we may now extract relevant results direct from an application response.</p>
<p>Even with this method there is a minor problm which is described at</p>
<p><a href="https://sourceforge.net/tracker/?func=detail&amp;aid=3020160&amp;group_id=267484&amp;atid=1138356" target="_blank">Source forge tracker</a> it is hoped that this will be resolved fairly rapidly. The workaround is to make use of the ftp method to email the results file back to the web server, which we have successfully tested.</p>
<p>The next stage of our testing is to test the php parser routines for processing the IOME XML data returned by the remote web service. Further improvements include breaking the matlab job into two parts.</p>
<ul>
<li>Compute intensive and runs on compute cluster (may use parallel matlab to distribute matlab problem)</li>
<li>Matlab job which runs on compute server and generates figures for the results</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=248&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/06/23/progress-with-updating-and-testing-a-tutorial-matlab-web-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ada7c83501227628a4310a62b244a993?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iomes</media:title>
		</media:content>
	</item>
		<item>
		<title>Current Tasks:June 2010</title>
		<link>http://iomes.wordpress.com/2010/06/02/current-tasksjune-2010/</link>
		<comments>http://iomes.wordpress.com/2010/06/02/current-tasksjune-2010/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 22:02:56 +0000</pubDate>
		<dc:creator>iomes</dc:creator>
				<category><![CDATA[project management]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=241</guid>
		<description><![CDATA[Listed below are task priorities from 3rd June 2010 See proposed developments at http://iomes.wordpress.com/2010/03/24/prioritisation-for-future-development-of-iome-and-caiman/ The following are tasks for completion in the short term PRIORITY review CAIMAN user recommendation IMPLEMENTAION COMPLETE NEED TO TESTComplete GA example as a web service using IOME (completed php client, but requires additional example which processes the result in realtime [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=241&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Listed below are task priorities from 3rd June 2010</p>
<p>See proposed developments at</p>
<p>http://iomes.wordpress.com/2010/03/24/prioritisation-for-future-development-of-iome-and-caiman/</p>
<p>The following are tasks for completion in the short term</p>
<ul>
<li>PRIORITY review CAIMAN user recommendation</li>
<li>IMPLEMENTAION COMPLETE NEED TO TESTComplete GA example as a web service using IOME (completed php client, but requires additional example which processes the result in realtime and returns xml results immediately)</li>
<li>DONE UPDATED TO VER 2 and sychronised repository Test the new development version</li>
<li>DONE need to document Test metadata generation for VAC</li>
<li>REQUIRED NOT STARTED Update fortran implementation steerable vac model (shallow water problem)</li>
<li>DONE Generate optimisation based service from user reecommendation</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=241&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/06/02/current-tasksjune-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ada7c83501227628a4310a62b244a993?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iomes</media:title>
		</media:content>
	</item>
		<item>
		<title>Dealing with data in IOME environment</title>
		<link>http://iomes.wordpress.com/2010/04/30/dealing-with-data-in-iome-environment/</link>
		<comments>http://iomes.wordpress.com/2010/04/30/dealing-with-data-in-iome-environment/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 07:19:10 +0000</pubDate>
		<dc:creator>cs1ds</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[management and development]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=234</guid>
		<description><![CDATA[Job steering applications such as IOME will inevitably require a clear data management strategy to accompany it.   This is particularly important when the application to be steered is remotely located and depends on the existence of a number of input files. It is also important to provide a mechanism to despatch the desired output files [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=234&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Job steering applications such as IOME will inevitably require a clear data management strategy to accompany it.   This is particularly important when the application to be steered is remotely located and depends on the existence of a number of input files. It is also important to provide a mechanism to despatch the desired output files back to the steering computer or even to a repository of results at another remote location.</p>
<p>All this can either be built into the core IOME libraries or even better use an already existing and reliable tool such as CURL. I would prefer the second option to avoid reinventing the wheel.</p>
<p>The following scenarios exemplify the need of dealing with data/results files when steering a remote application.</p>
<p>Example 1:  Remote steering a CFD of FE package such as Fluent or Abaqus.</p>
<p>A small steering file is sent to the remote worker.</p>
<p>Remote worker sends back a large results file.</p>
<p>Example 2:  The results file generated above is then used as a start-up file.</p>
<p>Therefore it becomes a large data file to be sent from the steering client to the worker client.  The job produces a new file or modifies the input  file and sends it back.</p>
<p>The numbers of files to be used for data or results can vary in numbers or sizes but the basic picture remains the same which necessitates the need to deal with file transfers in a systematic manner.  The metadata definition of IOME will already have information about these I/O files which it can use to initiate, for example CURL, transfers at appropriate times. Or the job script itself can contain file transfer calls as and when needed without the need to code these data dependencies into IOME.  Further enhancements can be; to define some of the data-files as &#8216;transfer-only-if-it-does-not-exist-on-worker&#8221; and some of the output files as &#8220;transfer-if-exists-on-the-worker&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=234&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/04/30/dealing-with-data-in-iome-environment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f58a314e727951756b27bb8cd7cfb9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cs1ds</media:title>
		</media:content>
	</item>
		<item>
		<title>A job submission tool by using IOME services</title>
		<link>http://iomes.wordpress.com/2010/04/15/a-job-submission-tool-by-using-iome-services/</link>
		<comments>http://iomes.wordpress.com/2010/04/15/a-job-submission-tool-by-using-iome-services/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 13:37:45 +0000</pubDate>
		<dc:creator>cs1ds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=229</guid>
		<description><![CDATA[Many of the number crunching scientific and engineering applications involve a batch-job submission mechanism where a small stearing file and a few larger data files are all that is needed to start a batch job going. The results are usually a collection of a few small output files and optionally perhaps a few large application [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=229&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many of the number crunching scientific and engineering applications involve a batch-job submission mechanism where a small stearing file and a few larger data files are all that is needed to start a batch job going.</p>
<p>The results are usually a collection of a few small output files and optionally perhaps a few large application specify results files.</p>
<p>Once a batch job starts, there are no options to stear or control the computation apart from via the already provided stearing file.</p>
<p>Currently, for an average user the job submission involves login into a power server, preparing a script and submitting it to the batch processing system specific to that HPC cluster.</p>
<p>If there was a way of submitting such jobs via a web-form or via a custom-GUI and receiving the results back automatically,  life would be so much more easier for the application users who are not necessarily interested in the inner workings of an HPC cluster.</p>
<p>GUI interface builder of MATLAB used in association with the Matlab IOME toolkit is one way forward for achieving such an objective.   Results can also be emailed to the user  &#8216;in a similar manner to it is implemented in  CAIMAN&#8217;  as a series of attached files.</p>
<p>Apart from the ease of use, another advantage of this method of job submission would be the ability to submit jobs to any participating HPC cluster without the penalty of overheads associated with such an action in terms of user effort.</p>
<p>Adding such a capability may not always   be necessary or needed.  But doing so can achieve CONDOR-like capabilities without having to run a Condor Pool.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/229/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=229&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/04/15/a-job-submission-tool-by-using-iome-services/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f58a314e727951756b27bb8cd7cfb9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cs1ds</media:title>
		</media:content>
	</item>
		<item>
		<title>Updating the IOME ML</title>
		<link>http://iomes.wordpress.com/2010/04/07/updating-the-iome-ml/</link>
		<comments>http://iomes.wordpress.com/2010/04/07/updating-the-iome-ml/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 11:38:39 +0000</pubDate>
		<dc:creator>iomes</dc:creator>
				<category><![CDATA[management and development]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[IOME-ML]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[metalanguage]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/2010/04/07/updating-the-iome-ml/</guid>
		<description><![CDATA[The main task today has been to remove many of the classes that were originally used with the early development versions of IOME. Much of the work has been based around the original IOME-ML language files modelling a hierarchical collection of models. By removing these early features it is hoped that We will be able [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=225&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The main task today has been to remove many of the classes that were originally used with the early development versions of IOME. Much of the work has been based around the original IOME-ML language files modelling a hierarchical collection of models.</p>
<p>By removing these early features it is hoped that</p>
<ul>
<li>We will be able to improve the performance and quality of the next release distribution</li>
<li>Make it easier to understand and to provide good documentation</li>
</ul>
<p>The original source distribution has been saved as part of the first release of IOME i.e. version 1.o.</p>
<p>This major modification occured at revision 457,458 and 459 to the source forge dev branch</p>
<p>Future developements will be now be found in version 1.1.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=225&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/04/07/updating-the-iome-ml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ada7c83501227628a4310a62b244a993?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iomes</media:title>
		</media:content>
	</item>
		<item>
		<title>Protected: Prioritisation for Future Development of IOME and CAIMAN</title>
		<link>http://iomes.wordpress.com/2010/03/24/prioritisation-for-future-development-of-iome-and-caiman/</link>
		<comments>http://iomes.wordpress.com/2010/03/24/prioritisation-for-future-development-of-iome-and-caiman/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 17:34:24 +0000</pubDate>
		<dc:creator>iomes</dc:creator>
				<category><![CDATA[project management]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=220</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=220&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is password protected. You must visit the website and enter the password to continue reading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=220&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/03/24/prioritisation-for-future-development-of-iome-and-caiman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ada7c83501227628a4310a62b244a993?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iomes</media:title>
		</media:content>
	</item>
		<item>
		<title>IOME Installation from Binary Distribution</title>
		<link>http://iomes.wordpress.com/2010/02/16/iome-installation-from-binary-distribution/</link>
		<comments>http://iomes.wordpress.com/2010/02/16/iome-installation-from-binary-distribution/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 09:36:13 +0000</pubDate>
		<dc:creator>iomes</dc:creator>
				<category><![CDATA[installation and building]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu installation building]]></category>

		<guid isPermaLink="false">http://iomes.wordpress.com/?p=214</guid>
		<description><![CDATA[I have just successfully installed a fresh distribution of IOME on a ubuntu workstation the distribution is installed as a root user (users may also install under their home area) The following procedure applies for a root user installing iome in the /usr/local directory change directory to /usr/local Download the correct binary distribution (e.g. by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=214&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have just successfully installed a fresh distribution of IOME on a ubuntu workstation the distribution is installed as a root user (users may also install under their home area)</p>
<p>The following procedure applies for a root user installing iome in the /usr/local directory</p>
<ul>
<li>change directory to /usr/local</li>
<li>Download the correct binary distribution (e.g. by visiting the project web site or using wget as follows) sudo wget http://iome.googlecode.com/files/iorel1_bin_linux_ubuntu_amd64.tgz.gz</li>
<li> Extract the distribution using sudo tar -zxvf  iorel1_bin_linux_ubuntu_amd64.tgz.gz</li>
<li>sudo mv ioubuntulin_bin_amd64 iome</li>
<li>cd iome</li>
<li>sudo cp iome.sh /etc/profile.d</li>
</ul>
<p>The iome.sh contains the following lines</p>
<div id="_mcePaste">#Configure environment to use IOME</div>
<div id="_mcePaste">export IOME_HOME=&#8221;/usr/local/iome&#8221;</div>
<div id="_mcePaste">export PATH=$PATH&#8221;:$IOME_HOME/bin&#8221;</div>
<div id="_mcePaste">export LD_LIBRARY_PATH=$LD_LIBRARY_PATH&#8221;:$IOME_HOME/lib:$IOME_HOME/bin&#8221;</div>
<p>The procedure is easily adapted for use installation in the home area. The distribution does not yet contain the iome.sh script which will be generalised for windows and other linux ditributions and also for final installation of the source distribution.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iomes.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iomes.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iomes.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iomes.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iomes.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iomes.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iomes.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iomes.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iomes.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iomes.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iomes.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iomes.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iomes.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iomes.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iomes.wordpress.com&amp;blog=10384700&amp;post=214&amp;subd=iomes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iomes.wordpress.com/2010/02/16/iome-installation-from-binary-distribution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ada7c83501227628a4310a62b244a993?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iomes</media:title>
		</media:content>
	</item>
	</channel>
</rss>
