<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3282976337352429171</id><updated>2011-08-01T16:00:15.445-04:00</updated><title type='text'>Sangmi Lee Pallickara</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>64</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3909472116737740866</id><published>2009-12-14T14:37:00.005-05:00</published><updated>2009-12-14T15:17:09.945-05:00</updated><title type='text'>Advanced debugging of submitting jobs to Swarm-Grid</title><content type='html'>This instruction is for the advanced users of Swarm-Grid to track their submitted jobs.&lt;br /&gt;(1) Checking the remote cluster&lt;br /&gt;[Step 1] login to a machine which has Globus installed.&lt;br /&gt;[Step 2] get your proxy certificate&lt;br /&gt;               myproxy-logon -s myproxy.teragrid.org -l your_user_name&lt;br /&gt;[Step 3] submit a request to remote cluster&lt;br /&gt;               globusrun -o -r grid-co.ncsa.teragrid.org/jobmanager '&amp;(executable=/bin/ls)'&lt;br /&gt;&lt;br /&gt;* If this step works fine, your remote cluster and the jobmanager on the cluster works fine.&lt;br /&gt;* If your myproxy-logon cannot be located, check your globus user environment is set up correctly.&lt;br /&gt;               source $GLOBUS_LOCATION/etc/globus-user-env.sh&lt;br /&gt;&lt;br /&gt;(2) Checking the mySQL table directly&lt;br /&gt;[Step 1] login to the mySQL with username and password for the swarm.&lt;br /&gt;               mysql -u jobsub -p&lt;br /&gt;[Step 2] select the database&lt;br /&gt;               use jobsubmission;&lt;br /&gt;[Step 3] check the debugging log for your job&lt;br /&gt;               select * from SubmitRecord where TicketID="213655869" AND InternalID=200;&lt;br /&gt;* As soon as the job reaches the stage, swarm records the time to the field. Therefore if the value of the field is NULL, the job has not been reached to that stage.&lt;br /&gt;&lt;br /&gt;(3) Globus Temporary Files and Locations&lt;br /&gt;your_home&lt;br /&gt;--.globus&lt;br /&gt;----g1  &lt;br /&gt;------h6.bigred.teragrid.iu.edu&lt;br /&gt;-------- directories with the actual globus job numbers&lt;br /&gt;-----------remote_io_url&lt;br /&gt;-----------scheduler_loadleveler_job_script: &lt;this is the actual script run on the cluster&gt;  &lt;br /&gt;-----------stdout  &lt;br /&gt;-----------x509_up&lt;br /&gt;-- Globus*** : temporary directory: keeps input,output etc.. files. This is the directory your script will process as current directory. &lt;br /&gt;&lt;br /&gt;* Temporary directory is mostly deleted after the job is processed. This is for the bigred. Other teragrid machines have similar structures for the temporary files and unstaged files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3909472116737740866?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3909472116737740866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3909472116737740866' title='46 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3909472116737740866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3909472116737740866'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/12/advanced-debugging-of-submitting-jobs.html' title='Advanced debugging of submitting jobs to Swarm-Grid'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>46</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4088937359959697922</id><published>2009-05-12T16:43:00.006-04:00</published><updated>2009-05-13T15:12:49.979-04:00</updated><title type='text'>Adding EC2 computing  nodes to your Hadoop Cluster</title><content type='html'>If you want to add EC2 nodes as your slave nodes of existing Hadoop cluster:&lt;br /&gt;&lt;br /&gt;Step1] Create a EC2 instance which has hadoop installed.&lt;br /&gt;ec2-describe-images -x all | grep hadoop&lt;br /&gt;&lt;br /&gt;Step2] Make sure that the version of hadoop MUST be identical on all the machines in your cluster.&lt;br /&gt;&lt;br /&gt;Step3] Generate public key on your master machine:&lt;br /&gt;&lt;br /&gt;ssh-keygen -t rsa&lt;br /&gt;&lt;br /&gt;Then your publickey is stored in,&lt;br /&gt;&lt;br /&gt;.ssh/id_rsa.pub&lt;br /&gt;&lt;br /&gt;Step4] Copy your public key (id_rsa.pub) to .ssh/authorized_keys on your EC2 instance. Now you can ssh to your instance without your keypair.&lt;br /&gt;&lt;br /&gt;Step5] Add your new slave node to your hadoop_loc/conf/slaves&lt;br /&gt;Mine looks like:&lt;br /&gt;&lt;br /&gt;localhost&lt;br /&gt;ec2-111-222-333-444.compute-1.amazonaws.com&lt;br /&gt;&lt;br /&gt;Step6] Synchronize or copy your configufation files to the slave nodes:&lt;br /&gt;-hadoop-site.xml&lt;br /&gt;-slaves&lt;br /&gt;-master&lt;br /&gt;&lt;br /&gt;Step7] format your namenode (if you need)&lt;br /&gt;&lt;br /&gt;Step8] start your cluster!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4088937359959697922?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4088937359959697922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4088937359959697922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4088937359959697922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4088937359959697922'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/05/adding-ec2-computing-nodes-to-hadoop.html' title='Adding EC2 computing  nodes to your Hadoop Cluster'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4026687559025865471</id><published>2009-03-18T10:29:00.002-04:00</published><updated>2009-03-24T10:11:40.463-04:00</updated><title type='text'>Additional Teragrid resources for Bioinformatics Software(CAP3)</title><content type='html'>Last week, I found three additional teragrid sites working with Swarm. Please note that I have experinece some problem with ANL while I was stage out files before. And Marlon informed me that Pople doesn't support community certificate.&lt;br /&gt;&lt;br /&gt;NCSA-Abe&lt;br /&gt;(1) grid_resource: gt2 grid-abe.ncsa.teragrid.org:2119/jobmanager-pbs&lt;br /&gt;(2) globusrsl: (jobtype=single)(count=1)&lt;br /&gt;(3) Test cap3: success&lt;br /&gt;&lt;br /&gt;Pople&lt;br /&gt;(1) grid_resource: gt2 gram.pople.psc.teragrid.org:2119/jobmanager-pbs&lt;br /&gt;(2) globusrsl: (jobtype=single)(count=1)&lt;br /&gt;(3) Test cap3: success&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ANL&lt;br /&gt;(1) grid_resource: gt2 tg-grid.uc.teragrid.org:2119/jobmanager-pbs&lt;br /&gt;(2) globusrsl: (jobtype=single)(count=1)&lt;br /&gt;(3) Test cap3: success&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4026687559025865471?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4026687559025865471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4026687559025865471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4026687559025865471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4026687559025865471'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/03/additional-teragrid-resources-for.html' title='Additional Teragrid resources for Bioinformatics Software(CAP3)'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3912393575049552704</id><published>2009-03-06T10:33:00.010-05:00</published><updated>2009-06-03T10:42:32.767-04:00</updated><title type='text'>Being a nice client of Inca service: monitoring Grid Resource</title><content type='html'>If you consider a monitoring mechanism for the TeraGrid resources, the Inca project from SDSC provides very useful information. (http://inca.sdsc.edu/) With access to Inca service, you can easily utilize monitoring information with light-weight software component. Thank you for hosting the service and very helpful supports from the Inca team! It was very pleasant experience.&lt;br /&gt;&lt;br /&gt;If you are using the TeraGrid resources, you might be interested in the Inca's real time monitoring testbed (http://www.teragridforum.org/mediawiki/index.php?title=Inca_Real-Time_Monitoring_Testbed). Inca server runs the testing described in above document. Those information is available through RESTful URLs for the clients. The information is encoded either XML or HTML.&lt;br /&gt;&lt;br /&gt;However, to use access the result, you have to create a query. There are pre-created query available for the particular projects including the TeraGrid Resource Monitoring page in the TeraGrid user portal. This query includes result of monitoring status of remote login to the TeraGrid cluster, pre-ws gatekeeper, and ws gatekeeper server. If you want to see the most recent result of the testing encoded in XML:&lt;br /&gt;http://inca.teragrid.org/inca/XML/kit-status-v1/portal&lt;br /&gt;Or, as a HTML page,&lt;br /&gt;http://inca.teragrid.org/inca/HTML/kit-status-v1/portal&lt;br /&gt;&lt;br /&gt;For more detail information,&lt;br /&gt;http://inca.teragrid.org/inca/XML/kit-status-v1/portal/[clusterID]/prews-gram-batch&lt;br /&gt;For example,&lt;br /&gt;http://inca.teragrid.org/inca/XML/kit-status-v1/portal/sdsc-ia64/prews-gram-batch&lt;br /&gt;You will see the more detail information about the SDSC IA64 clusters such as testing intervals.&lt;br /&gt;&lt;br /&gt;To create a query for your own purpose, you have to contact the administrator of the Inca service. Inca provides nice user interface for the administrator to create new query. After you create new query, you can access your result through:&lt;br /&gt;http://inca.teragrid.org/inca/[XML|HTML]/kit-status-v1/&lt;queryname&gt;/&lt;resourceid&gt;&lt;br /&gt;&lt;br /&gt;This output can be easily integrated to your software though light-weight way such as HTTP client. After downloding the information, we used conventional Java DOM implementation. With customized query, the response size seems to be reasonable to run with DOM implementation.&lt;br /&gt;&lt;br /&gt;Please note that if you access Inca service hosted by SDSC, the testing interval is not changable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is my test code:&lt;br /&gt;&lt;br /&gt;import java.net.*;&lt;br /&gt;import java.io.*;&lt;br /&gt;import javax.xml.parsers.*;&lt;br /&gt;import org.w3c.dom.*;&lt;br /&gt;&lt;br /&gt;public class Test{&lt;br /&gt;    public static void main(String[] args){&lt;br /&gt;    try {&lt;br /&gt;        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();&lt;br /&gt;        DocumentBuilder db = dbf.newDocumentBuilder();&lt;br /&gt;        Document dom = db.parse("http://inca.teragrid.org/inca/XML/kit-status-v1/portal_summary");&lt;br /&gt;        Element docEle = dom.getDocumentElement();&lt;br /&gt;        NodeList nl =  docEle.getElementsByTagName("row");&lt;br /&gt;     &lt;br /&gt;        System.out.println("There are "+ nl.getLength()+ "&lt;row&gt; elements.");&lt;br /&gt;        if(nl != null &amp;&amp; nl.getLength() &gt; 0) {&lt;br /&gt;           for(int i = 0 ; i &lt; nl.getLength();i++) {&lt;br /&gt;&lt;br /&gt;              //get the employee element&lt;br /&gt;              Element el = (Element)nl.item(i);&lt;br /&gt;              NodeList sub1 = el.getElementsByTagName("reportSummary");&lt;br /&gt;              NodeList sub2 = ((Element)sub1.item(0)).getElementsByTagName("hostname");&lt;br /&gt;              String hostname = ((Element)sub2.item(0)).getFirstChild().getNodeValue();&lt;br /&gt;              System.out.println("HostName "+i+":"+hostname);&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;     } catch (Exception e) {&lt;br /&gt;            e.printStackTrace();&lt;br /&gt;        } &lt;br /&gt;     }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/resourceid&gt;&lt;/queryname&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3912393575049552704?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3912393575049552704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3912393575049552704' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3912393575049552704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3912393575049552704'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/03/being-nice-client-of-inca-service.html' title='Being a nice client of Inca service: monitoring Grid Resource'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-5351732827088818578</id><published>2009-02-20T16:57:00.003-05:00</published><updated>2009-02-20T17:10:08.552-05:00</updated><title type='text'>Store and Register your EC2 machine image</title><content type='html'>To retrieve your machine image later, your machine image should be stored in S3. To do that, there are multiple steps required.&lt;br /&gt;&lt;br /&gt;Step 1) Copy your X.509 certificate and private key to your instance.&lt;br /&gt;scp -i id_rsa-gsg-keypair pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem root@domU-12-34-31-00-00-05.compute-1.amazonaws.com:/mnt&lt;br /&gt;&lt;br /&gt;This is done on your local desktop. Than, your security files will be stored in /mnt directory of your instance.&lt;br /&gt;&lt;br /&gt;Step 2) Now you have to bundle your instance with the commmand:&lt;br /&gt;ec2-bundle-vol -d /mnt -k /mnt/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem -c /mnt/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem -u 495219933132 -r i386 -p sampleimage&lt;br /&gt;&lt;br /&gt;This takes some time. (several minutes) If it was successful, you can see the bundled files under your /mnt directory. They are bunch of files with names of smapleimage*. &lt;br /&gt;&lt;br /&gt;Step 3) Upload bundled files to S3 from your instance&lt;br /&gt;ec2-upload-bundle -b &lt;your-s3-bucket&gt; -m /mnt/sampleimage.manifest.xml -a &lt;aws-access-key-id&gt; -s &lt;aws-secret-access-key&gt; &lt;br /&gt;&lt;br /&gt;I had some problem with this process. Although I have S3 access, this command complained that I don't have S3 access. Interestingly, I created a bucket in S3 manually, and it worked. &lt;br /&gt;I use the firefox extension that recommanded in a EC2 forum.&lt;br /&gt;http://www.s3fox.net/&lt;br /&gt;It is quite useful. If I want to sync part of my disk, it would be a great tool.&lt;br /&gt;&lt;br /&gt;Step 4) Then, logout your instance, and on your desktop,&lt;br /&gt;ec2-register &lt;your-s3-bucket&gt;/sampleimage.manifest.xml&lt;br /&gt;&lt;br /&gt;Now you can see your machine image from,&lt;br /&gt;ec2-describe-images -o self&lt;br /&gt;&lt;br /&gt;Step 5) That's it! whenever you want to reload your machine image,&lt;br /&gt;ec2-run-instances ami-5bae4b32&lt;br /&gt;&lt;br /&gt;for the longer version of tutorial,&lt;br /&gt;http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-5351732827088818578?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/5351732827088818578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=5351732827088818578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5351732827088818578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5351732827088818578'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/02/store-and-register-your-ec2-machine.html' title='Store and Register your EC2 machine image'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-157426816504330292</id><published>2009-02-17T15:00:00.004-05:00</published><updated>2009-02-17T15:19:47.392-05:00</updated><title type='text'>Getting started with EC2</title><content type='html'>To get start with EC2, you have to create an account in EC2 site.&lt;br /&gt;After you successfully create your EC2 account from the amazon site, there are several steps to actually use EC2 instances.&lt;br /&gt;&lt;br /&gt;Step1) Create X.509 certificate&lt;br /&gt;Login to you Amazon account and AWS access identifiers page. In the X.509 certificate section, click Create New. Also Download your Certificate and store ot into your desktop safely. &lt;br /&gt;mkdir .ec2&lt;br /&gt;cd .ec2&lt;br /&gt;mv ~/Desktop/*.pem .&lt;br /&gt;&lt;br /&gt;Step2) Download EC2 command line tools. http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&amp;categoryID=88&lt;br /&gt;And unzip files under the ec2 directory.&lt;br /&gt;mv ~/Desktop/ec2-api-tools.zip .&lt;br /&gt;unzip ec2-api-tools.zip&lt;br /&gt;&lt;br /&gt;Step3) Modify your shell script file. In my .bashrc file, I added,&lt;br /&gt;export EC2_HOME=~/.ec2&lt;br /&gt;export PATH=$PATH:$EC2_HOME/bin&lt;br /&gt;export EC2_PRIVATE_KEY=pk-YOURKEYNAME.pem&lt;br /&gt;export EC2_CERT=cert-YOURKEYNAME.pem&lt;br /&gt;&lt;br /&gt;Step 4) Generate key pair to ssh to your instance&lt;br /&gt;cd .ec2&lt;br /&gt;ec2-add-keypair pstam-keypair &gt; id_rsa-pstam-keypair&lt;br /&gt;&lt;br /&gt;Step 5) Now select your new instance&lt;br /&gt;ec2-describe-images -o amazon&lt;br /&gt;&lt;br /&gt;Step 6) Create an instance&lt;br /&gt;ec2-run-instances ami-6138dd08 -k pstam-keypair&lt;br /&gt;&lt;br /&gt;Step 7) Check the description of the instance&lt;br /&gt;Loading an instance takes some time. If you see the valid URL for the instance in the description of the instance, it's ready to access.&lt;br /&gt;To check the description,&lt;br /&gt;ec2-describe-instances&lt;br /&gt;&lt;br /&gt;Step 8) Open the ports for ssh and http connection&lt;br /&gt;You have to open some of the port you will allow to outside of the instances.&lt;br /&gt;ec2-authorize default -p 22&lt;br /&gt;ec2-authorize default -p 80&lt;br /&gt;&lt;br /&gt;After this you can ssh to your instance.&lt;br /&gt;&lt;br /&gt;Step 9) SSH to your instance&lt;br /&gt;ssh -i id_rsa-pstam-keypair root@ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com&lt;br /&gt;&lt;br /&gt;Step 10) Getting a static IP address&lt;br /&gt;For your application, sometimes you need a static IP address for your instance.&lt;br /&gt;First you have to assign a static IP and tie the address to your instance.&lt;br /&gt;ec2-allocate-address&lt;br /&gt;ec2-associate-address -i i-yourinstance XXX.XXX.XXX.XXX&lt;br /&gt;&lt;br /&gt;Step 11) Now you can SSH to your instance like to other remote machine.&lt;br /&gt;ssh root@XXX.XXX.XXX.XXX&lt;br /&gt;&lt;br /&gt;Step 12) Terminate Instance&lt;br /&gt;ec2-terminate-instances i-yourinstance&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-157426816504330292?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/157426816504330292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=157426816504330292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/157426816504330292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/157426816504330292'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/02/getting-started-with-ec2.html' title='Getting started with EC2'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-2998238847330703582</id><published>2009-02-11T16:42:00.002-05:00</published><updated>2009-02-11T16:45:37.555-05:00</updated><title type='text'>Recent Change in TG</title><content type='html'>cobalt requires (queue=) in rsl string. It was optional previously. Now if you don't put either &lt;br /&gt;standard or industrial, globus will through exception,&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Globus error 37&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Also condor will through exception,&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Exec format error Code 6 Subcode 8&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-2998238847330703582?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/2998238847330703582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=2998238847330703582' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2998238847330703582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2998238847330703582'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/02/recent-change-in-tg.html' title='Recent Change in TG'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-2465454677845045120</id><published>2009-02-11T13:17:00.003-05:00</published><updated>2009-02-11T13:34:34.312-05:00</updated><title type='text'>Submitting job to Ranger</title><content type='html'>Gatekeeper : gatekeeper.ranger.tacc.teragrid.org:2119/jobmanager-sge&lt;br /&gt;Batch queue system: SGE&lt;br /&gt;Check the queue status:showq -u&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(Test 0) try locally installed executables with datafiles stored in scratch directory&lt;br /&gt;./cap3 /scratch/00891/tg459282/2mil/cluster1807.fsa -p 95 -o 49 -t 100&lt;br /&gt;&lt;br /&gt;(Test 1) try simple job submission through globus toolkit.&lt;br /&gt;globusrun -o -r gatekeeper.ranger.tacc.teragrid.org:2119/jobmanager-sge '&amp;(executable=/bin/ls)'&lt;br /&gt;&lt;br /&gt;It works with swarm!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-2465454677845045120?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/2465454677845045120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=2465454677845045120' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2465454677845045120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2465454677845045120'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/02/submitting-job-to-ranger.html' title='Submitting job to Ranger'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3052014957615195422</id><published>2009-02-09T13:16:00.002-05:00</published><updated>2009-02-09T13:52:11.145-05:00</updated><title type='text'>Submit and Manage Vanilla Condor Job to Swarm</title><content type='html'>To submit Vanilla condor job(s) to Swarm, first you have to install swarm and configure the service to process vanilla condor jobs. the source code is available from &lt;br /&gt; svn co https://ogce.svn.sourceforge.net/svnroot/ogce/ogce-services-incubator&lt;br /&gt;&lt;br /&gt;For the general information to install swarm, please refer,&lt;br /&gt;http://decemberstorm.blogspot.com/2008/11/swarm-sever-installation-guide.html&lt;br /&gt;&lt;br /&gt;Now, configure your swarm for the Vanilla condor pool.&lt;br /&gt;Step 1. modify swarm/TGResource.properties, to process only vanilla condor pool. This is my properties:&lt;br /&gt;matchmaking=FirstAvailableResource&lt;br /&gt;taskQueueMaxSize = 100&lt;br /&gt;taskQueueScanningInterval = 3000&lt;br /&gt;condorCluster=true&lt;br /&gt;teragridHPC=false&lt;br /&gt;eucalyptus=false&lt;br /&gt;condorCluster_numberOfToken=10&lt;br /&gt;condorRefreshInterval = 2000&lt;br /&gt;&lt;br /&gt;Step 2. start swarm server.&lt;br /&gt;Upload swarm/build/jobsub.aar to your axis2 installation.&lt;br /&gt;&lt;br /&gt;Step 3. Client example of vanilla condor job is stored at,&lt;br /&gt;swarm/src/core/org/ogce/jobsub/clients/SubmitVanillaJob.java&lt;br /&gt;&lt;br /&gt;There are three example methods: &lt;br /&gt;submitJobWithStandardOutput(): job with standard output wihout input files&lt;br /&gt;submitJobWithOutputTransfer(): job with standard output and output files&lt;br /&gt;submitJobWithInputOutputTransfer(): job with standard output, output files, and local input files&lt;br /&gt;&lt;br /&gt;Step 4. Compile example file&lt;br /&gt;[swarm]ant clean&lt;br /&gt;[swarm]ant&lt;br /&gt;&lt;br /&gt;Step 5. Run example file&lt;br /&gt;[swarm]./run.sh submit_vanilla_job&lt;br /&gt;&lt;br /&gt;Step 6. Check the status&lt;br /&gt;[swarm]cd ClientKit&lt;br /&gt;[ClientKit]./swarm status http://serverIP:8080/axis2/services/Swarm your_ticket_ID&lt;br /&gt;&lt;br /&gt;Step 7. Get the location of output file&lt;br /&gt;[ClientKit]./swarm outputURL http://serverIP:8080/axis2/services/Swarm your_ticket_ID&lt;br /&gt;This will return the URL of the output file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3052014957615195422?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3052014957615195422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3052014957615195422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3052014957615195422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3052014957615195422'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2009/02/submit-and-manage-vanilla-condor-job-to.html' title='Submit and Manage Vanilla Condor Job to Swarm'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-5680394789571895652</id><published>2008-12-09T23:28:00.000-05:00</published><updated>2008-12-09T23:29:10.008-05:00</updated><title type='text'>renewing proxy</title><content type='html'>more  /usr/local/gateway/RenewCred/renewCred.sh&lt;br /&gt;#!/bin/bash&lt;br /&gt;export GLOBUS_LOCATION=$HOME/globus-condor/globus&lt;br /&gt;source $GLOBUS_LOCATION/etc/globus-user-env.sh&lt;br /&gt;myproxy-logon -s myproxy.teragrid.org -l quakesim -t 5000 -S  &lt;&lt; EOF&lt;br /&gt;PUT_PASSWORD_HERE&lt;br /&gt;EOF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-5680394789571895652?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/5680394789571895652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=5680394789571895652' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5680394789571895652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5680394789571895652'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/12/renewing-proxy.html' title='renewing proxy'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-8608608827293575342</id><published>2008-12-01T16:45:00.004-05:00</published><updated>2008-12-01T17:07:04.606-05:00</updated><title type='text'>Writing simple Java application with HBase APIs[0]</title><content type='html'>To write a simple Java application with HBase APIs, you surely need hadoop and hbase installation on your machine. For this example, I used hadoop installation with pseudo distributed setup on the localhost.&lt;br /&gt;The code is mainly downloaded from the hbase site,&lt;br /&gt;http://hadoop.apache.org/hbase/docs/r0.2.1/api/index.html&lt;br /&gt;&lt;p&gt;&lt;pre class="ruby:nocontrols" name="code"&gt;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import org.apache.hadoop.hbase.client.HTable;&lt;br /&gt;import org.apache.hadoop.hbase.client.Scanner;&lt;br /&gt;import org.apache.hadoop.hbase.io.BatchUpdate;&lt;br /&gt;import org.apache.hadoop.hbase.io.Cell;&lt;br /&gt;import org.apache.hadoop.hbase.io.RowResult;&lt;br /&gt;import org.apache.hadoop.hbase.HBaseConfiguration;&lt;br /&gt;&lt;br /&gt;public class MySimpleTest {&lt;br /&gt;&lt;br /&gt; public static void main(String args[]) throws IOException {&lt;br /&gt;   // You need a configuration object to tell the client where to connect.&lt;br /&gt;   // But don't worry, the defaults are pulled from the local config file.&lt;br /&gt;   HBaseConfiguration config = new HBaseConfiguration();&lt;br /&gt;&lt;br /&gt;   // This instantiates an HTable object that connects you to the "myTable"&lt;br /&gt;   // table.&lt;br /&gt;   HTable table = new HTable(config, "myTable");&lt;br /&gt;&lt;br /&gt;   // To do any sort of update on a row, you use an instance of the BatchUpdate&lt;br /&gt;   // class. A BatchUpdate takes a row and optionally a timestamp which your&lt;br /&gt;   // updates will affect.&lt;br /&gt;   BatchUpdate batchUpdate = new BatchUpdate("myRow");&lt;br /&gt;&lt;br /&gt;   // The BatchUpdate#put method takes a Text that describes what cell you want&lt;br /&gt;   // to put a value into, and a byte array that is the value you want to&lt;br /&gt;   // store. Note that if you want to store strings, you have to getBytes()&lt;br /&gt;   // from the string for HBase to understand how to store it. (The same goes&lt;br /&gt;   // for primitives like ints and longs and user-defined classes - you must&lt;br /&gt;   // find a way to reduce it to bytes.)&lt;br /&gt;   batchUpdate.put("myColumnFamily:columnQualifier1",&lt;br /&gt;     "columnQualifier1 value!".getBytes());&lt;br /&gt;&lt;br /&gt;   // Deletes are batch operations in HBase as well.&lt;br /&gt;   batchUpdate.delete("myColumnFamily:cellIWantDeleted");&lt;br /&gt;&lt;br /&gt;   // Once you've done all the puts you want, you need to commit the results.&lt;br /&gt;   // The HTable#commit method takes the BatchUpdate instance you've been&lt;br /&gt;   // building and pushes the batch of changes you made into HBase.&lt;br /&gt;   table.commit(batchUpdate);&lt;br /&gt;&lt;br /&gt;   // Now, to retrieve the data we just wrote. The values that come back are&lt;br /&gt;   // Cell instances. A Cell is a combination of the value as a byte array and&lt;br /&gt;   // the timestamp the value was stored with. If you happen to know that the&lt;br /&gt;   // value contained is a string and want an actual string, then you must&lt;br /&gt;   // convert it yourself.&lt;br /&gt;   Cell cell = table.get("myRow", "myColumnFamily:columnQualifier1");&lt;br /&gt;   String valueStr = new String(cell.getValue());&lt;br /&gt; &lt;br /&gt;   // Sometimes, you won't know the row you're looking for. In this case, you&lt;br /&gt;   // use a Scanner. This will give you cursor-like interface to the contents&lt;br /&gt;   // of the table.&lt;br /&gt;   Scanner scanner =&lt;br /&gt;     // we want to get back only "myColumnFamily:columnQualifier1" when we iterate&lt;br /&gt;     table.getScanner(new String[]{"myColumnFamily:columnQualifier1"});&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;   // Scanners in HBase 0.2 return RowResult instances. A RowResult is like the&lt;br /&gt;   // row key and the columns all wrapped up in a single interface.&lt;br /&gt;   // RowResult#getRow gives you the row key. RowResult also implements&lt;br /&gt;   // Map, so you can get to your column results easily.&lt;br /&gt; &lt;br /&gt;   // Now, for the actual iteration. One way is to use a while loop like so:&lt;br /&gt;   RowResult rowResult = scanner.next();&lt;br /&gt; &lt;br /&gt;   while(rowResult != null) {&lt;br /&gt;     // print out the row we found and the columns we were looking for&lt;br /&gt;     System.out.println("Found row: " + new String(rowResult.getRow()) + " with value: " +&lt;br /&gt;      rowResult.get("myColumnFamily:columnQualifier1".getBytes()));&lt;br /&gt;   &lt;br /&gt;     rowResult = scanner.next();&lt;br /&gt;   }&lt;br /&gt; &lt;br /&gt;   // The other approach is to use a foreach loop. Scanners are iterable!&lt;br /&gt;   for (RowResult result : scanner) {&lt;br /&gt;     // print out the row we found and the columns we were looking for&lt;br /&gt;     System.out.println("Found row: " + new String(result.getRow()) + " with value: " +&lt;br /&gt;      result.get("myColumnFamily:columnQualifier1".getBytes()));&lt;br /&gt;   }&lt;br /&gt; &lt;br /&gt;   // Make sure you close your scanners when you are done!&lt;br /&gt;   scanner.close();&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-8608608827293575342?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/8608608827293575342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=8608608827293575342' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8608608827293575342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8608608827293575342'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/12/writing-simple-java-application-with.html' title='Writing simple Java application with HBase APIs[0]'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3061727964836295621</id><published>2008-12-01T16:41:00.001-05:00</published><updated>2008-12-01T16:44:20.094-05:00</updated><title type='text'>Hadoop: java.io.IOException: Incompatible namespaceIDs</title><content type='html'>The error &lt;tt&gt;java.io.IOException: Incompatible namespaceIDs&lt;/tt&gt; in the logs of a datanode (&lt;tt&gt;&lt;hadoop_install&gt;/logs/hadoop-hadoop-datanode-&lt;hostname&gt;.log&lt;/tt&gt;) might be caused by bug &lt;a href="http://issues.apache.org/jira/browse/HADOOP-1212" class="external text" title="http://issues.apache.org/jira/browse/HADOOP-1212" rel="nofollow"&gt;HADOOP-1212&lt;/a&gt;. Here is a site which provides how to get around this bug,&lt;br /&gt;http://www.michael-noll.com/wiki/Running_Hadoop_On_Ubuntu_Linux_(Multi-Node_Cluster)&lt;br /&gt;&lt;br /&gt;The complete error  message was,&lt;br /&gt;&lt;pre&gt; ... ERROR org.apache.hadoop.dfs.DataNode: java.io.IOException: Incompatible namespaceIDs in /usr/local/hadoop-datastore/hadoop-hadoop/dfs/data: namenode namespaceID = 308967713; datanode namespaceID = 113030094&lt;br /&gt;      at org.apache.hadoop.dfs.DataStorage.doTransition(DataStorage.java:281)&lt;br /&gt;      at org.apache.hadoop.dfs.DataStorage.recoverTransitionRead(DataStorage.java:121)&lt;br /&gt;      at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:230)&lt;br /&gt;      at org.apache.hadoop.dfs.DataNode.&lt;init&gt;(DataNode.java:199)&lt;br /&gt;      at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java:1202)&lt;br /&gt;      at org.apache.hadoop.dfs.DataNode.run(DataNode.java:1146)&lt;br /&gt;      at org.apache.hadoop.dfs.DataNode.createDataNode(DataNode.java:1167)&lt;br /&gt;      at org.apache.hadoop.dfs.DataNode.main(DataNode.java:1326)&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3061727964836295621?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3061727964836295621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3061727964836295621' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3061727964836295621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3061727964836295621'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/12/hadoop-javaioioexception-incompatible.html' title='Hadoop: java.io.IOException: Incompatible namespaceIDs'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-8467031539708745089</id><published>2008-11-21T14:55:00.009-05:00</published><updated>2008-11-21T15:48:14.772-05:00</updated><title type='text'>Test #4(2mil): Nov.21.2008</title><content type='html'>Full sequence test for 2million sequences.&lt;br /&gt;&lt;br /&gt;(1) Resource setup: BigRed(150), Ornl(80), Cobalt(80)&lt;br /&gt;(2) Service setup: Status check interval: 60 secs&lt;br /&gt;Job queue scan interval: 60 secs&lt;br /&gt;Job queue size: 100&lt;br /&gt;(3) Input files : 2mil.tar copied to each of cluster in the $TG_CLUSTER_SCRATCH directory.&lt;br /&gt;Referred by arguments with full path to the input files&lt;br /&gt;(4) Output files: staged out to swarm host&lt;br /&gt;&lt;br /&gt;(5) Client side setup: input files are located in my desktop(same machine with swarm host).&lt;br /&gt;Scan the directory and find files which contain more than 1 sequence(with grep unix command through Java Runtime). Send the request to swarm with 10 batch per rpc call.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Total duration of the Submission: 170364307 milliseconds(around 47.3 hours).&lt;/li&gt;&lt;li&gt;Total number of jobs submitted: 75533&lt;/li&gt;&lt;li&gt;Total number of files scanned: 536825&lt;/li&gt;&lt;/ul&gt;(6) Completed Jobs : To be added&lt;br /&gt;(7) Held Jobs: To be added&lt;br /&gt;(8) Open Issues:&lt;br /&gt;Submission time requires to be improved.&lt;br /&gt;Reason:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Loading 536825 objects which represent the filename takes too much of memory.[Approach]: Use filefilter and load partial list at a time&lt;/li&gt;&lt;li&gt;Using Java Runtime: Java Runtime requires extra memory to execute system fork. [Approach]: Try checking the number of sequences by means of Java FileInputStream&lt;/li&gt;&lt;li&gt;Running client and host in the same machine.[Approach]: Try the client in different machine.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-8467031539708745089?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/8467031539708745089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=8467031539708745089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8467031539708745089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8467031539708745089'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/11/test-42mil-nov212008.html' title='Test #4(2mil): Nov.21.2008'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3345488247683681240</id><published>2008-11-14T12:35:00.003-05:00</published><updated>2008-11-14T12:44:27.686-05:00</updated><title type='text'>Java Runtime Class with VM memory</title><content type='html'>For swarm service, I worte a client kit to crawl a directory and find cluster files which need to be assembled. To access the files and count the number of gene sequences, I used Java Runtime Process class. With the 2 million sequences, I could get around 600000 clustered files. Those clustered files were visited by the crawler program. Especially when I tried to create DOM object to interact with Web service, this crawler started to throw IO exception-memory allocation error.  My Java option was -Xmn 512M -Xmx 1024M.&lt;br /&gt;&lt;br /&gt;On linux, Runtime.exec does a fork and execute. That means that you will need double what your current java process is using in virtual memory(real + swap). Therefore, if I specify initial heap as 512M then my total heap must be bigger than 1024M.&lt;br /&gt;&lt;br /&gt;I tried to set my java option to  -Xmn 256M -Xmx 1024M. Crawler was slowed down quite a bit, but it did not throw IO exception anymore.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3345488247683681240?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3345488247683681240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3345488247683681240' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3345488247683681240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3345488247683681240'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/11/java-process-class-with-vm-memory.html' title='Java Runtime Class with VM memory'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4364760094260248697</id><published>2008-11-07T15:21:00.002-05:00</published><updated>2008-11-07T16:34:22.946-05:00</updated><title type='text'>Test #3(2mil): Nov.07.2008</title><content type='html'>&lt;p&gt;(1) Starting time: 04:00 pm&lt;/p&gt;&lt;p&gt;(2) Server Setup:&lt;/p&gt;&lt;p&gt;-BigRed : max 5&lt;/p&gt;&lt;p&gt;-Cobalt : max5&lt;/p&gt;&lt;p&gt;(3) Client Setup:&lt;/p&gt;&lt;p&gt;-Total job max: 20&lt;/p&gt;&lt;p&gt;-Input source: EST Human 2mil&lt;/p&gt;&lt;p&gt;* Note&lt;/p&gt;&lt;p&gt;New Setup:(1) Increased timeout from 20 secs to 6 mins. (axis2.xml)(2) Decreased resource pool size(3) Decreased client jobs&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4364760094260248697?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4364760094260248697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4364760094260248697' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4364760094260248697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4364760094260248697'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/11/test-32mil-nov072008.html' title='Test #3(2mil): Nov.07.2008'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3480954539321217381</id><published>2008-11-07T14:19:00.003-05:00</published><updated>2008-11-07T14:21:48.202-05:00</updated><title type='text'>Test #2(2mil) : Nov.07.2008</title><content type='html'>(1) Starting time: 02:05 pm&lt;br /&gt;&lt;br /&gt;(2) Server Setup:&lt;br /&gt;-BigRed : max 20&lt;br /&gt;-Cobalt : max20&lt;br /&gt;&lt;br /&gt;(3) Client Setup:&lt;br /&gt;-Total job max: 1000&lt;br /&gt;-Input source: EST Human 2mil&lt;br /&gt;&lt;br /&gt;* Note&lt;br /&gt;New Setup:&lt;br /&gt;(1) Increased timeout from 20 secs to 6 mins. (axis2.xml)&lt;br /&gt;(2) Decreased resource pool size&lt;br /&gt;(3) Decreased client jobs&lt;br /&gt;&lt;br /&gt;Result:&lt;br /&gt;(1) Job submission successfully done. (total 1000 jobs)&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;First condorjob clusterID: 50537&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3480954539321217381?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3480954539321217381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3480954539321217381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3480954539321217381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3480954539321217381'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/11/1-starting-time-0205-pm-2-server-setup.html' title='Test #2(2mil) : Nov.07.2008'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-8051615919982275599</id><published>2008-11-07T14:10:00.006-05:00</published><updated>2008-11-07T14:21:33.481-05:00</updated><title type='text'>Test #1(2mil): Nov.07.2008</title><content type='html'>(1) Starting time: 12:54 pm&lt;br /&gt;&lt;br /&gt;(2) Server Setup:&lt;br /&gt;-BigRed max 400&lt;br /&gt;-Cobalt max 200&lt;br /&gt;&lt;br /&gt;(3) Client Setup:&lt;br /&gt;-Max job submission: 2000000&lt;br /&gt;-Input files source: EST Human 2mil&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;Note:&lt;br /&gt;(1) Reading directory with 2mil sequence takes less than 20 secs.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;(2) Client hung with http timeout&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;(3)Cobalt started to hold jobs with globus err code 17.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-8051615919982275599?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/8051615919982275599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=8051615919982275599' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8051615919982275599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8051615919982275599'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/11/test-1-nov072008.html' title='Test #1(2mil): Nov.07.2008'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-1206226800097208754</id><published>2008-10-15T09:27:00.003-04:00</published><updated>2008-10-15T09:28:45.888-04:00</updated><title type='text'>[ABSTRACT] Scheduling Large-scale Jobs over the Loosely-Coupled HPC Clusters</title><content type='html'>Compute-intensive scientific applications are heavily reliant on the available quantity of computing resources. The Grid paradigm provides a large scale computing environment for scientific users. However, conventional Grid job submission tools do not provide a high-level job scheduling environment for these users across multiple institutions. For extremely large number of jobs, a more scalable job scheduling framework that can leverage highly distributed clusters and supercomputers is required. In this presentation, we propose a high-level job scheduling Web service framework, Swarm. Swarm is developed for scientific applications that must submit massive number of high-throughput jobs or workflows to highly distributed computing clusters. The Swarm service itself is designed to be extensible, lightweight, and easily installable on a desktop or small server. As a Web service, derivative services based on Swarm can be straightforwardly integrated with Web portals and science gateways.  In this talk, we present the motivation for this research, the architecture of the Swarm framework, and a performance evaluation of the system prototype.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-1206226800097208754?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/1206226800097208754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=1206226800097208754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/1206226800097208754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/1206226800097208754'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/10/abstract-scheduling-large-scale-jobs.html' title='[ABSTRACT] Scheduling Large-scale Jobs over the Loosely-Coupled HPC Clusters'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-8968088602591543006</id><published>2008-09-09T14:45:00.006-04:00</published><updated>2008-09-09T15:30:11.861-04:00</updated><title type='text'>Installing Hadoop</title><content type='html'>This is my note written while I was following the installation documentation from hadoop's webpage.&lt;br /&gt;http://hadoop.apache.org/core/docs/current/quickstart.html&lt;br /&gt;I installed as a root, but I'm not sure if it is necessary.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 0.&lt;/span&gt; You have to have ssh, rsync, and java VM on your machine. I used,&lt;br /&gt;1)ssh OpenSSH_4.3p2, OpenSSL 0.9.8b 04&lt;br /&gt;2)rsync version 2.6.8&lt;br /&gt;3)java 1.5.0_12&lt;span class="codefrag"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1.&lt;/span&gt; Download software from a Hadoop distribution site.&lt;br /&gt;http://hadoop.apache.org/core/releases.html&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2.&lt;/span&gt; Untar file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3. &lt;/span&gt;reset the JAVA_HOME under your_hadoop_dir/conf/&lt;span class="codefrag"&gt;hadoop-env.sh&lt;br /&gt;*note: I had JAVA_HOME defined in my .bashrc file. But I had to specify it again in the &lt;/span&gt;&lt;span class="codefrag"&gt;hadoop-env.sh.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4.&lt;/span&gt; now you can just run your standalone operation as it is.&lt;br /&gt;&lt;/span&gt;&lt;span class="codefrag"&gt;$ mkdir input&lt;/span&gt;&lt;br /&gt;     &lt;span class="codefrag"&gt;$ cp conf/*.xml input&lt;/span&gt;&lt;br /&gt;     &lt;span class="codefrag"&gt;           $ bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+'         &lt;/span&gt;&lt;br /&gt;     &lt;span class="codefrag"&gt;$ cat output/*&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 5. &lt;/span&gt;For the Pseudo-Distributed Operation, which runs multiple virtual machines in single node so that it imitates real distributed file systems you have to set up the configuration in &lt;/span&gt;&lt;span class="codefrag"&gt;conf/hadoop-site.xml&lt;/span&gt;&lt;br /&gt;The 'name' element is defined by hadoop system. Therefore, you can just use the names in the example from the hadoop page. I change the value of fs.default.name to hdfs://localhost:54310, and the one of  mapred.job.tracker to localhost:54311.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 6. &lt;/span&gt;Check ssh localhost&lt;br /&gt;In my case, I could not connect to localhost, but I could access to my numerical ip address. I changed my  /etc/hosts.allow to have  ALL:127.0.0.1 and it started to recognize localhost.&lt;br /&gt;If it requires your passphrase:&lt;br /&gt;&lt;p&gt;&lt;span class="codefrag"&gt;$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa&lt;/span&gt;&lt;br /&gt; &lt;span class="codefrag"&gt;$ cat ~/.ssh/id_dsa.pub &gt;&gt; ~/.ssh/authorized_keys&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="codefrag"&gt;If you still prefer use the passphrase, it will cause problem during the starting the daemons.&lt;br /&gt;&lt;/span&gt;    &lt;/p&gt;&lt;span style="font-weight: bold;"&gt; Step 7.&lt;/span&gt; Formatting namenode and starting the daemon&lt;br /&gt;&lt;p&gt;&lt;span class="codefrag"&gt;$ bin/hadoop namenode -format&lt;/span&gt;          &lt;/p&gt; &lt;p&gt;&lt;span class="codefrag"&gt;$ bin/start-all.sh&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="codefrag"&gt;Now you can check your namenode at &lt;/span&gt;&lt;a href="http://localhost:50070/"&gt;http://localhost:50070/&lt;/a&gt;&lt;span class="codefrag"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="codefrag"&gt;Also your job tracker is available at &lt;/span&gt;              &lt;a href="http://localhost:50030/"&gt;http://localhost:50030/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-weight: bold;"&gt;Step 8.  &lt;/span&gt;Test functions&lt;/p&gt;&lt;p&gt;           Copy the input files into the distributed filesystem:&lt;br /&gt;   &lt;span class="codefrag"&gt;$ bin/hadoop fs -put conf input&lt;/span&gt;&lt;/p&gt;&lt;p&gt;           Run some of the examples provided:&lt;br /&gt;         &lt;span class="codefrag"&gt;             $ bin/hadoop jar hadoop-*-examples.jar grep input output 'dfs[a-z.]+'&lt;/span&gt;&lt;/p&gt;&lt;p&gt;           Copy the output files from the distributed filesystem to the local            filesytem and examine them:&lt;br /&gt;         &lt;span class="codefrag"&gt;$ bin/hadoop fs -get output output&lt;/span&gt;&lt;br /&gt;         &lt;span class="codefrag"&gt;$ cat output/*&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;View the output files on the distributed filesystem:&lt;br /&gt;         &lt;span class="codefrag"&gt;$ bin/hadoop fs -cat output/*&lt;/span&gt;          &lt;/p&gt; &lt;p&gt;          &lt;/p&gt; &lt;p&gt;&lt;span style="font-weight: bold;"&gt;Step 9.&lt;/span&gt; Stop the daemon&lt;/p&gt;&lt;p&gt;&lt;span class="codefrag"&gt;$ bin/stop-all.sh&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-8968088602591543006?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/8968088602591543006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=8968088602591543006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8968088602591543006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8968088602591543006'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/09/installing-hadoop.html' title='Installing Hadoop'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-423112856997628948</id><published>2008-09-08T15:40:00.004-04:00</published><updated>2008-09-08T16:00:36.192-04:00</updated><title type='text'>Update OGCE:file-manager portlet with new tacc classes</title><content type='html'>This update adds sorted view to the directory. JSP files and two java classes are modified: FileManagerConstants.java and FileManagerPortlet.java&lt;br /&gt;The list of file updated is following.&lt;br /&gt;portlets/comp-file-management/src/main/webapp/jsp/fileBrowser.jsp&lt;br /&gt;portlets/comp-file-management/src/main/webapp/jsp/view.jsp&lt;br /&gt;portlets/comp-file-management/src/main/webapp/css/fileManagement.css&lt;br /&gt;portlets/comp-file-management/src/main/java/edu/tacc/gridport/portlets/interactive/FileManagementConstants.java&lt;br /&gt;portlets/comp-file-management/src/main/java/edu/tacc/gridport/portlets/interactive/FileManagementPortlet.java&lt;br /&gt;portlets/gp-common/src/main/webapp/jsp/fileBrowser.jsp             - identical tofileBrowser.jsp above&lt;br /&gt;portlets/gp-common/src/main/webapp/javascript/fileBrowser.js&lt;br /&gt;&lt;br /&gt;* editted part is noted as "lukas edit"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-423112856997628948?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/423112856997628948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=423112856997628948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/423112856997628948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/423112856997628948'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/09/update-ogcefile-manager-portlet-with.html' title='Update OGCE:file-manager portlet with new tacc classes'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4342926052364212263</id><published>2008-08-21T17:11:00.008-04:00</published><updated>2008-08-22T13:28:24.811-04:00</updated><title type='text'>Teragrid access end-to-end test</title><content type='html'>Teragrid sistes end-to-end test&lt;br /&gt;- condorG (grid universe)&lt;br /&gt;- cap3 apps&lt;br /&gt;- stage output file&lt;br /&gt;(08/22/2008 current)&lt;br /&gt;==============================================================&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[bigred]&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 204);"&gt;gatekeeper.iu.teragrid.org:2119/jobmanager-loadleveler&lt;/span&gt;                          yes&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[steele]&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 204);"&gt;tg-steele.purdue.teragrid.org:2119/jobmanager-pbs&lt;/span&gt;                                              yes&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[sdsc(ds)]&lt;/span&gt; &lt;span style="color: rgb(102, 0, 204);"&gt;dslogin.sdsc.teragrid.org:2119/jobmanager-loadleveler&lt;/span&gt;         job state write error&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[mercury]  &lt;/span&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;https://grid-hg.ncsa.teragrid.org:2119/jobmanager-pbs                    &lt;/span&gt;yes&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[ornl]    &lt;/span&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;tg-login.ornl.teragrid.org:2119/jobmanager-pbs&lt;/span&gt;                                    yes&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[lonestar]  &lt;/span&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;gatekeeper.lonestar.tacc.teragrid.org:2119/jobmanager-lsf&lt;/span&gt;     job state read error&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[cobalt]&lt;/span&gt; &lt;span style="color: rgb(102, 0, 204);"&gt;grid-co.ncsa.teragrid.org:2119/jobmanager-pbs &lt;span style="color: rgb(0, 0, 0);"&gt;yes&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[pople] &lt;/span&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;gram.pople.psc.teragrid.org:2119/jobmanager-pbs &lt;/span&gt;  cannot login&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[sdsc(dtf)]&lt;/span&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;tg-login1.sdsc.teragrid.org:2119/jobmanager-pbs&lt;/span&gt;    disk quota error&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4342926052364212263?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4342926052364212263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4342926052364212263' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4342926052364212263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4342926052364212263'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/08/teragrid-access.html' title='Teragrid access end-to-end test'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-237730033931342011</id><published>2008-08-15T14:13:00.004-04:00</published><updated>2008-11-07T16:36:22.106-05:00</updated><title type='text'>Limit of job submissiont?</title><content type='html'>I'm gathering the information about the limit of job submissions.&lt;br /&gt;http://kb.iu.edu/data/awyt.html&lt;br /&gt;&lt;a href="http://kb.iu.edu/data/axal.html"&gt;http://kb.iu.edu/data/axal.html&lt;/a&gt;&lt;br /&gt;NCSA(cobalt)&lt;br /&gt;&lt;a href="http://www.ncsa.uiuc.edu/UserInfo/Resources/Hardware/SGIAltix/Doc/Jobs.html"&gt;http://www.ncsa.uiuc.edu/UserInfo/Resources/Hardware/SGIAltix/Doc/Jobs.html&lt;/a&gt;&lt;br /&gt;qstat -Q&lt;br /&gt;BigRed&lt;br /&gt;llclass&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-237730033931342011?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/237730033931342011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=237730033931342011' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/237730033931342011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/237730033931342011'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/08/limit-of-job-submissiont.html' title='Limit of job submissiont?'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-7141698243084192598</id><published>2008-08-13T10:33:00.002-04:00</published><updated>2008-08-21T17:20:49.932-04:00</updated><title type='text'>Java memory setup</title><content type='html'>To run Job submitssion service or Swarm service, please note that your environment variable should be set up as,&lt;br /&gt;export JAVA_OPTS="-server -Xms512m -Xmx1024m -XX:MaxPermSize=256m"&lt;br /&gt;&lt;br /&gt;Otherwise, your java virtual machine will provide 8M of memory which might be too small for running the server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-7141698243084192598?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/7141698243084192598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=7141698243084192598' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7141698243084192598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7141698243084192598'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/08/java-memory-setup.html' title='Java memory setup'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-2578184622729269942</id><published>2008-07-02T11:27:00.006-04:00</published><updated>2008-07-02T11:34:44.997-04:00</updated><title type='text'>Access to the Job Submission Service with PHP using NuSOAP</title><content type='html'>If you are new to the PHP and NuSOAP, my previous posting would be helpful too.&lt;br /&gt;Here is the simple example for the getStatus operation,&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;// Pull in the NuSOAP code&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;require_once('../lib/nusoap.php');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$client = new soapclient("http://your.service.location:8080/axis2/services/JobSubmissionService?wsdl",true);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$TaskId = array('clusterID' =&gt; "403", 'jobID' =&gt;"0");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$taskId = array('TaskId' =&gt; $TaskId);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   $getStatus = array('taskId'=&gt;$TaskId);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   $result = $client-&gt;call('getStatus',array('parameters'=&gt; $getStatus),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;                 'http://jobsubmissionservice.ogce.org/xsd','',false,null,'rpc','encoded');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       if ($client-&gt;fault){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;           echo 'Fault';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     print_r($result);&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-2578184622729269942?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/2578184622729269942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=2578184622729269942' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2578184622729269942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2578184622729269942'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/07/access-to-job-submission-service-with.html' title='Access to the Job Submission Service with PHP using NuSOAP'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-6760750679353242291</id><published>2008-07-02T11:07:00.007-04:00</published><updated>2008-07-02T11:40:01.428-04:00</updated><title type='text'>Creating a PHP client of the Web Service(Axis2) using NuSOAP</title><content type='html'>You can download NuSOAP library from the &lt;a href="http://sourceforge.net/projects/nusoap/"&gt;NuSOAP project&lt;/a&gt; is hosted by SourceForge.  It is a package of php files you can keep in your php document directory or in a separate directory. In my case, I copied /lib directory from the NuSOAP project under /usr/local/apache2/htdocs/ which is default location of documents for the apache2 server. Then, copied /sample directory of the NuSOAP project under the same directory, /usr/local/apache2/htdocs/. You can download document from the same site. It contains nusoap method summary. Now, it's time to build a WS client..&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step1.&lt;/span&gt; pull in the NuSOAP code into your php source code&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;    require_once('../lib/nusoap.php');&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step2. &lt;/span&gt;Create now client and set the WSDL as "true".&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; soapclient("http://service.location.url:8080/axis2/services/YourTargetService?wsdl",true);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step3. &lt;/span&gt;Send the request using call() method&lt;br /&gt;&lt;span class="method-result"&gt;mixed&lt;/span&gt;           &lt;a href="file:///home/leesangm/Desktop/nusoap/docs/nusoap/nusoap_client.html#call" title="details" class="method-name"&gt;call&lt;/a&gt;            (&lt;span class="var-type"&gt;string&lt;/span&gt; &lt;span class="var-name"&gt;$operation&lt;/span&gt;, [&lt;span class="var-type"&gt;mixed&lt;/span&gt; &lt;span class="var-name"&gt;$params&lt;/span&gt; = &lt;span class="var-default"&gt;array()&lt;/span&gt;], [&lt;span class="var-type"&gt;string&lt;/span&gt; &lt;span class="var-name"&gt;$namespace&lt;/span&gt; = &lt;span class="var-default"&gt;'http://tempuri.org'&lt;/span&gt;], [&lt;span class="var-type"&gt;string&lt;/span&gt; &lt;span class="var-name"&gt;$soapAction&lt;/span&gt; = &lt;span class="var-default"&gt;''&lt;/span&gt;], [&lt;span class="var-type"&gt;mixed&lt;/span&gt; &lt;span class="var-name"&gt;$headers&lt;/span&gt; = &lt;span class="var-default"&gt;false&lt;/span&gt;], [&lt;span class="var-type"&gt;boolean&lt;/span&gt; &lt;span class="var-name"&gt;$rpcParams&lt;/span&gt; = &lt;span class="var-default"&gt;null&lt;/span&gt;], [&lt;span class="var-type"&gt;string&lt;/span&gt; &lt;span class="var-name"&gt;$style&lt;/span&gt; = &lt;span class="var-default"&gt;'rpc'&lt;/span&gt;], [&lt;span class="var-type"&gt;string&lt;/span&gt; &lt;span class="var-name"&gt;$use&lt;/span&gt; = &lt;span class="var-default"&gt;'encoded'&lt;/span&gt;])&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Please note that if you don't specify the namespace, your outgoing SOAP message will include SOAP Body with namespace of 'http://tempuri.org'. This will cause fault from the server.&lt;/span&gt;&lt;br /&gt;Here my test request,&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;   $result = $client-&gt;call('yourMethod',array('parameters'=&gt; $yourType),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;                 'http://yourservice.namespace.org/xsd','',false,null,'rpc','encoded');&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Also, the $params which is arguments passed to the service is the element defined in the &lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;wsdl:message&lt;/span&gt; &lt;wsdl:message&gt;. If your service has hierarchical data type structure, you need to track down your WSDL carefully.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step4.&lt;/span&gt; see the result..&lt;br /&gt;I just used print_r($result)...&lt;br /&gt;&lt;/wsdl:message&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-6760750679353242291?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/6760750679353242291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=6760750679353242291' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6760750679353242291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6760750679353242291'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/07/creating-php-client-of-web-serviceaxis2.html' title='Creating a PHP client of the Web Service(Axis2) using NuSOAP'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-5788135868668826949</id><published>2008-04-30T10:04:00.006-04:00</published><updated>2008-04-30T11:50:04.986-04:00</updated><title type='text'>Running PaCE via Teragrid Job submission service</title><content type='html'>To submit PaCE job through the Teragrid Job submission service, you need,&lt;br /&gt;&lt;br /&gt;-- input files (fasta format file(s) and .cfs file) with valid URL(s)&lt;br /&gt;-- number of clusters&lt;br /&gt;&lt;br /&gt;Here is the sample java code to access TJSS.&lt;br /&gt;====================================================================&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;import javax.xml.namespace.QName;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;import org.apache.axis2.AxisFault;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;import org.apache.axis2.addressing.EndpointReference;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;import org.apache.axis2.client.Options;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;import org.apache.axis2.rpc.client.RPCServiceClient;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;import org.ogce.jobsubmissionservice.databean.*;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;public class SubmitPaCEJob{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        public static void main(String[] args) throws AxisFault {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    int option = 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    String serviceLoc = "http://localhost:8080/axis2/services/JobSubmissionService";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    String serviceMethod = "submitJob";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    String myproxy_username = null;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    String myproxy_passwd = null;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    for (int j = 0; j &lt; argval =" args[j];" option ="1;" option =" 2;" option =" 3;"&gt; 0){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            if (option ==1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            serviceLoc = argVal;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            else if (option ==2)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            myproxy_username = argVal;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            else if (option ==3)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;            myproxy_passwd = argVal;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    String [] inputFileString ={&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        "http://validURLS:8080/tmp/PaCEexample/Brassica_rapa.mRNA.EST.fasta.PaCE",&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        "http://validURLS:8080/tmp/PaCEexample/Phase.cfg"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    };&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       String rslString = &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "(jobtype=mpi)"+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "(count=4)"+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "(hostCount=2)"+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "(maxWallTime=00:15)"+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "(queue=DEBUG)"+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "(arguments= Brassica_rapa.mRNA.EST.fasta.PaCE 33316 Phase.cfg)";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       String [] outputFileString = {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "estClust.33316.3.PaCE",&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "ContainedESTs.33316.PaCE",&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "estClustSize.33316.3.PaCE",&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       "large_merges.33316.9.PaCE"};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    try{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        CondorJob cj = new CondorJob();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setExecutable("/N/u/leesangm/BigRed/bin/PaCE_v9");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setTransfer_input_files(inputFileString);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setGrid_resource("gt2 gatekeeper.bigred.iu.teragrid.org/jobmanager-loadleveler");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setTransfer_output_files(outputFileString);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setGlobusrsl(rslString);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setMyProxyHost("myproxy.teragrid.org:7512");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setMyProxyNewProxyLifetime("7200");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setMyProxyCredentialName(myproxy_username);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setMyProxyPassword(myproxy_passwd);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        cj.setMyProxyRefreshThreshold("3600");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        System.out.println(cj.toString());&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        RPCServiceClient serviceClient = new RPCServiceClient();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        Options options = serviceClient.getOptions();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        EndpointReference targetEPR = new EndpointReference(serviceLoc);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        options.setTo(targetEPR);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        QName query = new QName("http://jobsubmissionservice.ogce.org/xsd", serviceMethod);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        Class [] returnTypes = new Class []{JobMessage[].class};       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        Object[] queryArgs = new Object[] {cj};&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        Object [] response = serviceClient.invokeBlocking(query,queryArgs,returnTypes);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        JobMessage[] result = (JobMessage[])response[0];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        System.out.println(result[0].toString());&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    }catch (Exception e){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        e.printStackTrace();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    private static void usage(){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    System.out.println("Usage: submit_job -s &lt;/span&gt;&lt;service style="font-family: courier new;"&gt; \n"+&lt;br /&gt;           "-l &lt;myproxy&gt; \n"+&lt;br /&gt;           "-p &lt;myproxy&gt; \n"+&lt;br /&gt;           "==========================================================="+&lt;br /&gt;           "\n[Example]:\n"+&lt;br /&gt;           "submit_job "+&lt;br /&gt;           "-s http://localhost:8080/axis2/services/JobSubmissionService "+&lt;br /&gt;           "-l yourusername "+&lt;br /&gt;           "-p yourpassword ");&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;}&lt;/myproxy&gt;&lt;/myproxy&gt;&lt;/service&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-5788135868668826949?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/5788135868668826949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=5788135868668826949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5788135868668826949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5788135868668826949'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/04/running-pace-via-teragrid-job.html' title='Running PaCE via Teragrid Job submission service'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-6724201458700724079</id><published>2008-04-29T15:44:00.004-04:00</published><updated>2008-04-30T11:49:05.927-04:00</updated><title type='text'>Running PaCE on BigRed</title><content type='html'>PaCE is software to cluster large collections of Expressed Sequence Tags(EST).  BigRed provides PaCE package only for the internal use. Here are examples of job submission for the condorG to the BigRed for the PaCE package.  &lt;span style="color: rgb(204, 0, 0);"&gt;Note&lt;/span&gt;: I set the "OutputFolder" parameter in the Phase.cfg as ".". This will let the gram job manager put all of the output files into the globus scratch directory.&lt;br /&gt;============================================================&lt;br /&gt;&lt;br /&gt;executable = /N/u/leesangm/BigRed/bin/PaCE_v9&lt;br /&gt;transfer_executable     = false&lt;br /&gt;should_transfer_files   = true&lt;br /&gt;when_to_transfer_output = ON_EXIT&lt;br /&gt;transfer_input_files = /home/leesangm/EST/data/Brassica_rapa.mRNA.EST.fasta.PaCE, /home/leesangm/EST/data/Phase.cfg&lt;br /&gt;universe                = grid&lt;br /&gt;grid_resource           = gt2 gatekeeper.bigred.iu.teragrid.org/jobmanager-loadleveler&lt;br /&gt;transfer_output_files   = estClust.33316.3.PaCE&lt;br /&gt;error                   = PaCE.err.$(Cluster)&lt;br /&gt;err                     = PaCE.standardErr.$(Cluster)&lt;br /&gt;log                     = PaCE.log.$(Cluster)&lt;br /&gt;x509userproxy = /tmp/x509up_u500&lt;br /&gt;&lt;br /&gt;globusrsl = (jobtype=mpi)(queue=DEBUG)(maxWallTime=00:15)\&lt;br /&gt;    (count = 4)\&lt;br /&gt;    (hostCount = 2)\&lt;br /&gt;    (maxWallTime=00:15)\&lt;br /&gt;    (arguments= 'Brassica_rapa.mRNA.EST.fasta.PaCE' '33316' 'Phase.cfg')&lt;br /&gt;&lt;br /&gt;queue&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-6724201458700724079?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/6724201458700724079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=6724201458700724079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6724201458700724079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6724201458700724079'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/04/running-pace-on-bigred.html' title='Running PaCE on BigRed'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4275762420312074491</id><published>2008-04-23T15:12:00.021-04:00</published><updated>2008-04-24T14:24:15.006-04:00</updated><title type='text'>Sample code: Access Job Submission Service from PHP page</title><content type='html'>If you installed WSF/PHP with your php server, you can try simple test php pages to access job submission service. Please make sure the SOAP body part should follow the style defined in the WSDL file. In my case, I could get the XML string from my SOAP monitor easily. However, you can simply download my example and use it as your template.&lt;br /&gt;&lt;br /&gt;(1)Example of the SubmitJob operation&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/JSS/submit_job.php"&gt;source code(mpi job)&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/JSS/submit_perl_job.php"&gt;source code(perl job)&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 102, 0);"&gt;Please note that you have to replace the username and password with your valid teragrid account.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;(2)Example of the job management operations&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/JSS/get_status.php"&gt;source code(GetStatus)&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/JSS/get_error.php"&gt;source code(GetError)&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/JSS/get_log.php"&gt;source code(GetLog)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(3)Example of the retrieving output operation&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/JSS/get_output.php"&gt;source code(GetOutput)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4275762420312074491?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4275762420312074491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4275762420312074491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4275762420312074491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4275762420312074491'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/04/access-job-submission-service-in-php.html' title='Sample code: Access Job Submission Service from PHP page'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-6092714306541988435</id><published>2008-04-23T15:07:00.007-04:00</published><updated>2008-04-24T14:25:20.949-04:00</updated><title type='text'>Access to a Web Service from your PHP page</title><content type='html'>If you want to access Axis2 based Web Service such as OGCE local services(Job Submission service, and File Agent service) from your PHP page, there are several ways to do it. NuSOAP and Pear SOAP provide APIs into WebService. Also IMHO PHP has PHP's built-in SOAP libraries.&lt;br /&gt;&lt;br /&gt;Since I'm a complete beginner of PHP, I'm not that familliar with the advanced design issues regarding the PHP based application. However, WSO2's WSF/PHP was a good starting point to me. Especially, it could provide us a proof of concept of our service which interacts with PHP pages through the standard WSDL interface.&lt;br /&gt;&lt;br /&gt;You can use WSF/PHP both to build a Web Service and to build a client of a Web Service. In my case, I wanted to create a PHP client accessing a Web Service running in the Axis2 container. First, WSF/PHP provides quite simple interface to the PHP clients. For the examples, please refer to the next blog message. Basically, I needed to provide EPR of the service and XML string which are supposed to be in the SOAP body. Besides the ease-to-use feature, I was happy with that WSF/PHP allows the users to control over the SOAP message when it is needed(such as version of SOAP).&lt;br /&gt;&lt;br /&gt;I've tried WSF/PHP with PHP5.1.1 on Linux box. Here is the step-by-step guide to the installation.&lt;br /&gt;&lt;br /&gt;Step 1.Apache HTTP server install (if you don't have one already)&lt;br /&gt;download PHP5.1.1 and install&lt;br /&gt;download WSO2 WSF/PHP source from the &lt;a href="http://wso2.org/projects/wsf/php"&gt;project web site&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step 2. go to the directory of WSF/PHP source code&lt;br /&gt; ./configure&lt;br /&gt; make&lt;br /&gt; make install&lt;br /&gt;&lt;br /&gt;Step 3. in php.ini (it will be in /usr/local/lib/php.ini if you didn't change the location)&lt;br /&gt;add following lines:&lt;br /&gt;&lt;br /&gt;extension=wsf.so&lt;br /&gt;extension=xsl.so&lt;br /&gt;extension_dir="/usr/local/lib/php/extensions/no-debug-non-zts-***".&lt;br /&gt;include_path = "/home/username/php/wso2-wsf-php-src-1.2.1/script"&lt;br /&gt;&lt;br /&gt;Step 4. copy sample code included in the code distribution to the Web server's document root. Test http://localhost/samples/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-6092714306541988435?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/6092714306541988435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=6092714306541988435' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6092714306541988435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6092714306541988435'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/04/access-web-service-in-php.html' title='Access to a Web Service from your PHP page'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-9031262167869117686</id><published>2008-03-11T13:54:00.007-04:00</published><updated>2008-03-11T14:13:15.383-04:00</updated><title type='text'>Running AMBER-pbsa on BigRed:[4] Parallel pmemd through condorG</title><content type='html'>There were few obstacles to submit amber jobs through condorG system.&lt;br /&gt;&lt;br /&gt;(1) loadleveler specific commands&lt;br /&gt;BigRed uses loadleveler as it's batch system. Compared to PBS or LSF, loadlever has some distinguished keyword, such as class instead of queue, and using machine list file. But we didn't have any problem with those during submitting job through condorG. machine list file is generated and  used automatically by the job script file created by job manager.&lt;br /&gt;&lt;br /&gt;(2) passing arguments&lt;br /&gt;Amber uses arguments for its input/output/refer... files. You have to include those arguments in the globusrsl string. The condor keyword, "arguments" is related to the arguments for mpirun. However, it didn't really work for mpirun arguments too.&lt;br /&gt;&lt;br /&gt;(3) specifying number of process and machine&lt;br /&gt;loadleveler requires commands for setting the number of node and process, such as node, tasks_per_node. Also mpirun provides argument -np to specify the number of total processes being used for this job. To passing right value to loadleveler and mpirun, you have to specify those valued in the globusrsl. "count" in globusrsl string will be mapped to the value of -np in mpirun. And "hostCount" in the globusrsl string will be mapped to the value of "node" in the job script generated by job manager. I could not find how to specify the task_per_node. However, somehow based on the values of node and -np, job manager generated task_per_node.&lt;br /&gt;&lt;br /&gt;(4) script&lt;br /&gt;This is the condorG script for this job submission.&lt;br /&gt;========================================================================&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;executable = /N/soft/linux-sles9-ppc64/amber9-ibm-64/exe/pmemd.MPI&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;transfer_executable     = false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;should_transfer_files   = yes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;when_to_transfer_output = ON_EXIT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;transfer_input_files = /home/leesangm/bio/mm_pbsa/amber_min.in, /home/leesangm/bio/mm_pbsa/ZINC04273785_ini.crd, /home/leesangm/bio/mm_pbsa/ZINC04273785_com.top, /home/leesangm/bio/mm_pbsa/ZINC04273785.crd, /home/leesangm/bio/mm_pbsa/ZINC04273785_ini.crd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;universe                = grid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;grid_resource           = gt2 gatekeeper.bigred.iu.teragrid.org/jobmanager-loadleveler&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;transfer_output_files   = min.out.$(Cluster), ZINC04273785.crd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;error                   = amber.err.$(Cluster)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;log                     = amber.log.$(Cluster)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;x509userproxy = /tmp/x509up_u500&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;globusrsl = (jobtype=mpi)\&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;              (count=16)\&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;              (hostCount=4)\&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;              (maxWallTime=00:15)\&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;              (queue=DEBUG)\&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;              (arguments= -O -i amber_min.in -o min.out.$(Cluster) -c ZINC04273785_ini.crd  -p ZINC04273785_com.top -r ZINC04273785.crd -ref ZINC04273785_ini.crd )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;queue&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;=========================================================================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-9031262167869117686?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/9031262167869117686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=9031262167869117686' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/9031262167869117686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/9031262167869117686'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/03/running-amber-pbsa-on-bigred4-parallel.html' title='Running AMBER-pbsa on BigRed:[4] Parallel pmemd through condorG'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-7352401355873142465</id><published>2008-03-07T16:10:00.002-05:00</published><updated>2008-03-07T16:18:16.439-05:00</updated><title type='text'>Running AMBER-pbsa on SDSC machines:[1] Serial Job interactively</title><content type='html'>Good News! There were AMBER installations in three of SDSC machines: DataStar, BlueGene and Teragrid. For the serial example, I could not run on BlueGene, because there was no "sander" executable under amber9 installation. However, here are some guidelines about running amber on SDSC machines.&lt;br /&gt;All of the machines keep the amber installation under the directory with same name structure.&lt;br /&gt;/usr/local/apps/amber9&lt;br /&gt;Therefore, just set the environment and run the same command on each of the account.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;font-size:85%;" &gt;leesangm/amber&gt; setenv AMBERHOME /usr/local/apps/amber9&lt;br /&gt;leesangm/amber&gt; set path = ( $path $AMBERHOME/exe )&lt;br /&gt;leesangm/amber&gt; $AMBERHOME/exe/sander -O -i amber_min.in -o min.out -c ZINC04273785_ini.crd -p ZINC04273785_com.top -r ZINC04273785.crd -ref ZINC04273785_ini.crd&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-7352401355873142465?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/7352401355873142465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=7352401355873142465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7352401355873142465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7352401355873142465'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/03/running-amber-pbsa-on-sdsc-machines1.html' title='Running AMBER-pbsa on SDSC machines:[1] Serial Job interactively'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-5637559249069189666</id><published>2008-03-07T15:46:00.005-05:00</published><updated>2008-03-07T16:20:47.654-05:00</updated><title type='text'>Running AMBER-pbsa on NCSA machines:[1] Serial Job interactively</title><content type='html'>Running on tungsten and cobalt takes much longer time(tungsten:55 mins, cobalt:32 mins) than I expected. It takes longer time than BigRed.&lt;br /&gt;&lt;br /&gt;1. tungsten&lt;br /&gt;Set environment variables,&lt;br /&gt;[leesangm@tund mm_pbsa]$ setenv AMBERHOME /usr/apps/chemistry/AMBER/Amber9/amber9&lt;br /&gt;[leesangm@tund mm_pbsa]$ set path = ( $path $AMBERHOME/exe )&lt;br /&gt;And get the same test package of amber test and run the command,&lt;br /&gt;$AMBERHOME/exe/sander -O -i amber_min.in -o min.out -c ZINC04273785_ini.crd -p ZINC04273785_com.top -r ZINC04273785.crd -ref ZINC04273785_ini.crd&lt;br /&gt;&lt;br /&gt;2. cobalt&lt;br /&gt;Set environment variables,&lt;br /&gt;[leesangm@tund mm_pbsa]$ setenv AMBERHOME  /usr/apps/chemistry/amber/amber9/amber9&lt;br /&gt;[leesangm@tund mm_pbsa]$ set path = ( $path $AMBERHOME/exe )&lt;br /&gt;And get the same test package of amber test and run the command,&lt;br /&gt;$AMBERHOME/exe/sander -O -i amber_min.in -o min.out -c ZINC04273785_ini.crd -p ZINC04273785_com.top -r ZINC04273785.crd -ref ZINC04273785_ini.crd&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-5637559249069189666?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/5637559249069189666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=5637559249069189666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5637559249069189666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5637559249069189666'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/03/running-amber-pbsa-on-ncsa-machines3.html' title='Running AMBER-pbsa on NCSA machines:[1] Serial Job interactively'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3935913748166798289</id><published>2008-03-07T14:42:00.001-05:00</published><updated>2008-03-07T14:42:52.800-05:00</updated><title type='text'>Running AMBER-pbsa on BigRed:[3] Serial Job submit through CondorG</title><content type='html'>[Step 1] First check if you have required environment setup in your .soft file. My .soft file looks like,&lt;br /&gt;&lt;span style="font-family: courier new; font-size: 85%;"&gt;#&lt;br /&gt;# This is the .soft file.&lt;br /&gt;# It is used to customize your environment by setting up environment&lt;br /&gt;# variables such as PATH and MANPATH.&lt;br /&gt;# To learn what can be in this file, use 'man softenv'.&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;@bigred&lt;br /&gt;@amber9&lt;br /&gt;@teragrid-basic&lt;br /&gt;@globus-4.0&lt;br /&gt;@teragrid-dev&lt;br /&gt;+mpich-mx-ibm-64&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[Step 2] Create condor script including relevant arguments. I put all the required arguments in the "argument" command line of the script. I could get the result with using both batch system and system fork. Don't forget to transfer back the output file. My test script file is the following:&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;span style="font-family: courier new;"&gt;    executable = /N/soft/linux-sles9-ppc64/amber9-ibm-64/exe/sander&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    arguments = -O -i amber_min.in -o min.out.$(Cluster) -c ZINC04273785_ini.crd  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;                         -p ZINC04273785_com.top -r ZINC04273785.crd &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;                         -ref ZINC04273785_ini.crd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    transfer_executable     = false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    should_transfer_files   = yes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    when_to_transfer_output = ON_EXIT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    transfer_input_files = /home/leesangm/bio/mm_pbsa/amber_min.in,   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;                                       /home/leesangm/bio/mm_pbsa/ZINC04273785_ini.crd, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;                                       /home/leesangm/bio/mm_pbsa/ZINC04273785_com.top, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;                                       /home/leesangm/bio/mm_pbsa/ZINC04273785.crd, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;                                       /home/leesangm/bio/mm_pbsa/ZINC04273785_ini.crd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    universe                = grid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    grid_resource           = gt2 gatekeeper.bigred.iu.teragrid.org/jobmanager-loadleveler&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    transfer_output_files   = min.out.$(Cluster)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    error                   = condorG.err.$(Cluster)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    log                     = condorG.log.$(Cluster)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    x509userproxy = /tmp/x509up_u500&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    queue&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3935913748166798289?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3935913748166798289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3935913748166798289' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3935913748166798289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3935913748166798289'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/03/running-amber-pbsa-on-bigred3-serial.html' title='Running AMBER-pbsa on BigRed:[3] Serial Job submit through CondorG'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3548973897761490496</id><published>2008-03-06T10:22:00.004-05:00</published><updated>2008-03-17T16:42:44.220-04:00</updated><title type='text'>Running AMBER-pbsa on BigRed:[2] Serial-LoadLeveler</title><content type='html'>IU BigRed loadleveler provides several queues such as DEBUG, LONG, and NORMAL, etc. DEBUG queue(class) has limit of 4hours maximum job cpu time and 15 minutes of maximum processor cpu time. I could run my serial job with DEBUG queue and it took 14 minutes. llclass shows the complete list of queues and description.&lt;br /&gt;&lt;br /&gt;Step 1. setup the environment in .soft file&lt;br /&gt;@amber9&lt;br /&gt;+mpich-mx-ibm-64&lt;br /&gt;&lt;br /&gt;Step 2. go to the work directory&lt;br /&gt;&lt;br /&gt;Step 3.  llsubmit serial.job&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3548973897761490496?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3548973897761490496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3548973897761490496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3548973897761490496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3548973897761490496'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/03/running-pbsa-on-bigred2-serial.html' title='Running AMBER-pbsa on BigRed:[2] Serial-LoadLeveler'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-2881223685787621272</id><published>2008-03-06T09:45:00.005-05:00</published><updated>2008-03-17T16:43:00.438-04:00</updated><title type='text'>Running AMBER-pbsa on BigRed:[1] Serial-Interactive</title><content type='html'>Step 1. Setup the environment in .soft file&lt;br /&gt;@amber9&lt;br /&gt;+mpich-mx-ibm-64&lt;br /&gt;&lt;br /&gt;Step 2. Go to the work directory and run the following command&lt;br /&gt;&lt;br /&gt;$AMBERHOME/exe/sander -O -i amber_min.in -o min.out -c ZINC04273785_ini.crd -p ZINC04273785_com.top -r ZINC04273785.crd -ref ZINC04273785_ini.crd&lt;br /&gt;&lt;br /&gt;Step 3. Output file is updated every 2 minutes and it took 20 minutes for me to finish the job completely.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-2881223685787621272?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/2881223685787621272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=2881223685787621272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2881223685787621272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2881223685787621272'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/03/running-pbsa-on-bigredstep-1-serial.html' title='Running AMBER-pbsa on BigRed:[1] Serial-Interactive'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-164765576131732661</id><published>2008-02-18T16:39:00.009-05:00</published><updated>2008-02-20T14:00:34.560-05:00</updated><title type='text'>Draft of PolarGrid database table design</title><content type='html'>CREATE DATABASE PolarGrid;&lt;br /&gt;use PolarGrid&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# possible entry unit of dataset&lt;br /&gt;# CREATE TABLE Expedition{&lt;br /&gt;#     ExpeditionID bigint,&lt;br /&gt;# }&lt;br /&gt;# possible entry unit of dataset&lt;br /&gt;# CREATE TABLE Radar{&lt;br /&gt;# RadarID bigint,&lt;br /&gt;# }&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# DataChunk&lt;br /&gt;#&lt;br /&gt;# DataChunk is a unit of dataset which is identified by&lt;br /&gt;# (1) spatial information&lt;br /&gt;# (2) temporal information&lt;br /&gt;# (3) triplet of radar information (waveform, transmit antenna, receive antenna)&lt;br /&gt;#&lt;br /&gt;CREATE TABLE DataChunk(&lt;br /&gt;DataChunkID BIGINT NOT NULL AUTO_INCREMENT,&lt;br /&gt;UUID VARCHAR(255),&lt;br /&gt;Desctiption VARCHAR(255),&lt;br /&gt;SamplingFrequency int,&lt;br /&gt;SampleAverage int,&lt;br /&gt;NumberOfWaveform int,&lt;br /&gt;DSPMode VARCHAR(255),&lt;br /&gt;SystemDelay int,&lt;br /&gt;StartPoint point,&lt;br /&gt;StopPoint point,&lt;br /&gt;StartUTC double,&lt;br /&gt;StopUTC double,&lt;br /&gt;Microformat MEDIUMBLOB,&lt;br /&gt;CreationTimestamp timestamp,&lt;br /&gt;RevisionTimestamp timestamp,&lt;br /&gt;PGContactID bigint,&lt;br /&gt;PRIMARY KEY(DataChunkID),&lt;br /&gt;INDEX(StartPoint),&lt;br /&gt;INDEX(StopPoint),&lt;br /&gt;INDEX(StartUTC),&lt;br /&gt;INDEX(StopUTC)&lt;br /&gt;&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# FileObject:&lt;br /&gt;#&lt;br /&gt;# FileObject represents minimum unit of dataset. In general&lt;br /&gt;# we assume that this object can be instrumental data or&lt;br /&gt;# output visualization file, or revised data file.&lt;br /&gt;# Please note that WaveformName,TXAntennaName, and RXAntennaName&lt;br /&gt;# are from the file name. There is no validation about this name&lt;br /&gt;# based on the antenna/waveform tables.&lt;br /&gt;#&lt;br /&gt;CREATE TABLE FileObject(&lt;br /&gt;FileObjectID bigint NOT NULL AUTO_INCREMENT,&lt;br /&gt;DataChunkID bigint,&lt;br /&gt;UUID VARCHAR(255),&lt;br /&gt;FileName VARCHAR(255),&lt;br /&gt;RecordTimestamp timestamp,&lt;br /&gt;RadarType VARCHAR(255),&lt;br /&gt;DistributionFormat VARCHAR(255),&lt;br /&gt;WaveformName VARCHAR(255),&lt;br /&gt;TXAntennaName VARCHAR(255),&lt;br /&gt;RXAntennaName VARCHAR(255),&lt;br /&gt;OnlineResource VARCHAR(255),&lt;br /&gt;CreationTimestamp timestamp,&lt;br /&gt;RevisionTimestamp timestamp,&lt;br /&gt;PRIMARY KEY (FileObjectID),&lt;br /&gt;INDEX(DataChunkID),&lt;br /&gt;INDEX(WaveformName),&lt;br /&gt;INDEX(TXAntennaName),&lt;br /&gt;INDEX(RXAntennaName),&lt;br /&gt;INDEX(RecordTimestamp),&lt;br /&gt;);&lt;br /&gt;  &lt;br /&gt;#&lt;br /&gt;# Waveform&lt;br /&gt;#&lt;br /&gt;# This table defines waveform that transmited between antennas. Each&lt;br /&gt;# radar system can have several different waveforms that it&lt;br /&gt;# can transmit. And that transmitted waveform on that transmit antenna&lt;br /&gt;# can be received on any combinations of antenna. Individual waveform&lt;br /&gt;# describes single waveform that is used by datachunk.&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;CREATE TABLE Waveform(&lt;br /&gt;WaveformID bigint NOT NULL AUTO_INCREMENT,&lt;br /&gt;DataChunkID bigint,&lt;br /&gt;WaveformName VARCHAR(255),&lt;br /&gt;StartFrequency int,&lt;br /&gt;StopFrequence int,&lt;br /&gt;PulseWidth double,&lt;br /&gt;ZeroPiMode int,&lt;br /&gt;PRIMARY KEY (WaveformID),&lt;br /&gt;INDEX(DataChunkID),&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# DataAquisition&lt;br /&gt;#&lt;br /&gt;# This table defines how we describe the setup of antenna.&lt;br /&gt;# This information is included for the waveform and data chunk&lt;br /&gt;# AssociationType field specifies either this setup information is&lt;br /&gt;# used for waveform or data chunk. Similarly, AssociationId field&lt;br /&gt;# specified ID which is exact identity of the item.&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;CREATE TABLE DataAcquisition(&lt;br /&gt;DataAcquisitionID bigint NOT NULL AUTO_INCREMENT,&lt;br /&gt;NumberOfSamples int,&lt;br /&gt;SampleDelay int,&lt;br /&gt;BlankingTime int,&lt;br /&gt;AssociationType VARCHAR(255),&lt;br /&gt;AssociationID bigint,&lt;br /&gt;PRIMARY KEY (DataAcquisitionID),&lt;br /&gt;INDEX(AssociationType),&lt;br /&gt;INDEX(AssociationID)&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# Antenna&lt;br /&gt;#&lt;br /&gt;# This table specifies how we describe the antenna.&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;CREATE TABLE Antenna(&lt;br /&gt;AntennaID bigint NOT NULL AUTO_INCREMENT,&lt;br /&gt;AntennaName VARCHAR(255),&lt;br /&gt;AntennaType VARCHAR(255),&lt;br /&gt;Antennuation int,&lt;br /&gt;AssociationType VARCHAR(255),&lt;br /&gt;AssociationID bigint,&lt;br /&gt;PRIMARY KEY (AntennaID),&lt;br /&gt;INDEX(AssociationType),&lt;br /&gt;INDEX(AssociationID)&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# PGContact&lt;br /&gt;#&lt;br /&gt;# This table specifies contact information.&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;CREATE TABLE PGContact(&lt;br /&gt;PGContactID bigint NOT NULL AUTO_INCREMENT,&lt;br /&gt;IndividualName VARCHAR(255),&lt;br /&gt;UNIXLoginName VARCHAR(255),&lt;br /&gt;Email VARCHAR(255),&lt;br /&gt;OrganizationName VARCHAR(255),&lt;br /&gt;PositionName VARCHAR(255),&lt;br /&gt;Voice VARCHAR(255),&lt;br /&gt;Facsimile VARCHAR(255),&lt;br /&gt;Address VARCHAR(255),&lt;br /&gt;OnlineResource VARCHAR(255),&lt;br /&gt;HoursOfService VARCHAR(255),&lt;br /&gt;ContactInstruction VARCHAR(255),&lt;br /&gt;PRIMARY KEY (PGContactID),&lt;br /&gt;INDEX(UNIXLoginName),&lt;br /&gt;INDEX(Email)&lt;br /&gt;);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-164765576131732661?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/164765576131732661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=164765576131732661' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/164765576131732661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/164765576131732661'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/02/draft-of-polargrid-database-table.html' title='Draft of PolarGrid database table design'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-6847437233780733052</id><published>2008-02-15T15:44:00.003-05:00</published><updated>2008-02-15T16:57:53.528-05:00</updated><title type='text'>PolarGrid database table (initial draft)</title><content type='html'>This is the basic database table that will directly related to the RSS feeding microformat. Marie and I went through the workflow for generating jpg image and finally agreed on this table design. Thank you so much, Marie!!  Still there are some parts which are not that clear to us. As things are clerified, I'll incorperate them to this table.&lt;br /&gt;&lt;br /&gt;#CREATE TABLE Expedition{&lt;br /&gt;#     ExpeditionID bigint,   &lt;br /&gt;#}&lt;br /&gt;    &lt;br /&gt;CREATE TABLE DataChunk{&lt;br /&gt;    DataChunkID bigint NOT NULL,&lt;br /&gt;    UUID VARCHAR(255),&lt;br /&gt;    Description VARCHAR(255),&lt;br /&gt;    SamplingFrequency int,&lt;br /&gt;    SampleAverage int,&lt;br /&gt;    NumberOfWaveform int,&lt;br /&gt;    DSPMode VARCHAR(255),&lt;br /&gt;    StartPoint point,&lt;br /&gt;    StopPoint point,&lt;br /&gt;    StartUTC double,&lt;br /&gt;    StopUTC double,&lt;br /&gt;    PRIMARY KEY ('DataChunkID')&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;CREATE TABLE FileObject{&lt;br /&gt;      FileObjectID bigint NOT NULL,&lt;br /&gt;      DataChunkID bigint,&lt;br /&gt;      UUID VARCHAR(255),&lt;br /&gt;      FileName VARCHAR(255),&lt;br /&gt;      RadarType VARCHAR(255),&lt;br /&gt;      Timestamp timestamp,&lt;br /&gt;      FileType VARCHAR(255),&lt;br /&gt;      WaveformName VARCHAR(255),&lt;br /&gt;      TXAntennaName VARCHAR(255),&lt;br /&gt;      RXAntennaName VARCHAR255).&lt;br /&gt;      OnLink VARCHAR(255)&lt;br /&gt;      PRIMARY KEY ('FileObjectID')&lt;br /&gt;}&lt;br /&gt;                  &lt;br /&gt;CREATE TABLE Waveform{&lt;br /&gt;      WaveformID bigint NOT NULL,&lt;br /&gt;      DataChunkID bigint,&lt;br /&gt;      WaveformName VARCHAR(255),     &lt;br /&gt;      StartFrequency int,&lt;br /&gt;      StopFrequence int,&lt;br /&gt;      PulseWidth double,&lt;br /&gt;      ZeroPiMode int,&lt;br /&gt;      PRIMARY KEY ('WaveformID')&lt;br /&gt;}    &lt;br /&gt;&lt;br /&gt;CREATE TABLE DataAcquisition{&lt;br /&gt;      DataAcquisitionID bingint NOT NULL,&lt;br /&gt;      NumberOfSamples int,&lt;br /&gt;      SampleDelay int,&lt;br /&gt;      BlankingTime int,&lt;br /&gt;      AssociationType VARCHAR(255),&lt;br /&gt;      AssociationID bigint&lt;br /&gt;      PRIMARY KEY ('DataAcquisitionID')&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;CREATE TABLE Antenna{&lt;br /&gt;      AntennaID bigint NOT NULL,&lt;br /&gt;      AntennaName VARCHAR(255),&lt;br /&gt;      AntennaType VARCHAR(255),&lt;br /&gt;      Antennuation int,&lt;br /&gt;      AssociationType VARCHAR(255),&lt;br /&gt;      AssociationID bigint&lt;br /&gt;      PRIMARY KEY ('AntennaID')&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-6847437233780733052?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/6847437233780733052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=6847437233780733052' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6847437233780733052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6847437233780733052'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/02/polargrid-database-table.html' title='PolarGrid database table (initial draft)'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-7002743950137435745</id><published>2008-02-13T16:44:00.007-05:00</published><updated>2008-02-15T16:59:00.984-05:00</updated><title type='text'>[PG] 80 TB of mobile data</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.ussg.indiana.edu/%7Emrlink/gallery/albums/PolarGrid/DSC_7240.sized.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://www.ussg.indiana.edu/%7Emrlink/gallery/albums/PolarGrid/DSC_7240.sized.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;40 x 2TB drives... These little guys don't have any idea about being in the -40F for months.. Good luck, boxes!&lt;br /&gt;For more pictures,&lt;br /&gt;http://www.ussg.indiana.edu/~mrlink/gallery/PolarGrid&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-7002743950137435745?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/7002743950137435745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=7002743950137435745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7002743950137435745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7002743950137435745'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/02/pg-80-tb-of-mobile-data.html' title='[PG] 80 TB of mobile data'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-6172520569698477224</id><published>2008-02-06T15:55:00.001-05:00</published><updated>2008-02-13T16:44:17.874-05:00</updated><title type='text'>[PG]mysql GIS [1] Creating Spatial data and using functions</title><content type='html'>With MySQL version 5 or higher, you can store GIS data and issue query over it . MySQL provides data types supporting openGIS requirements. Although MySQL does not support full spatial analysis, MBR-based support is very useful, if you want simple bounding box style query. To use this, you don't need any of additional package.&lt;br /&gt;&lt;br /&gt;I found useful manual which covers almost everything I was looking for.&lt;br /&gt;&lt;a href="http://www.browardphp.com/mysql_manual_en/manual_Spatial_extensions_in_MySQL.html"&gt;http://www.browardphp.com/mysql_manual_en/manual_Spatial_extensions_in_MySQL.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-6172520569698477224?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/6172520569698477224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=6172520569698477224' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6172520569698477224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6172520569698477224'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/02/mysql-gis-1-creating-spatial-data-and.html' title='[PG]mysql GIS [1] Creating Spatial data and using functions'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-1931817626338284450</id><published>2008-01-17T10:40:00.002-05:00</published><updated>2008-02-13T16:55:22.321-05:00</updated><title type='text'>Running parallel pw.x on the LoneStar of TACC: on site/condorG/condor-birdbath APIs</title><content type='html'>(1) submit to the LSF queue on Lonestar&lt;br /&gt;bsub -I -n 4 -W 0:05 -q development -o pwscf.out ibrun /home/teragrid/tg459247/vlab/espresso/bin/pw.x &lt; /home/teragrid/tg459247/vlab/__CC5f_7/Pwscf_Input    (2) submit through condorG script file   Globus RSL parameter is available at &lt;a href="http://www.globus.org/toolkit/docs/2.4/gram/gram_rsl_parameters.html"&gt;http://www.globus.org/toolkit/docs/2.4/gram/gram_rsl_parameters.html&lt;/a&gt;&lt;br /&gt;Actual script file is following,&lt;br /&gt;=============================================&lt;br /&gt;executable              = /home/teragrid/tg459247/vlab/bin/pw_mpi.x&lt;br /&gt;transfer_executable     = false&lt;br /&gt;should_transfer_files   = yes&lt;br /&gt;when_to_transfer_output = ON_EXIT&lt;br /&gt;transfer_input_files    = /home/leesangm/catalina/VLAB_Codes/__CC5f_7/008-O-ca--bm3.vdb,/home/leesangm/catalina/VLAB_Codes/__CC5f_7/__cc5_7,/home/leesangm/catalina/VLAB_Codes/__CC5f_7/Mg.vbc3&lt;br /&gt;universe                = grid&lt;br /&gt;grid_resource           = gt2 tg-login.tacc.teragrid.org/jobmanager-lsf&lt;br /&gt;output                  = tmpfile.out.$(Cluster)&lt;br /&gt;error                   = condorG.err.$(Cluster)&lt;br /&gt;log                     = condorG.log.$(Cluster)&lt;br /&gt;input            = /home/leesangm/catalina/VLAB_Codes/__CC5f_7/Pwscf_Input&lt;br /&gt;x509userproxy = /tmp/x509up_u500&lt;br /&gt;globusrsl = (environment=(PATH /usr/bin))\&lt;br /&gt;(jobtype=mpi)\&lt;br /&gt;(count=4)\&lt;br /&gt;(queue=development)\&lt;br /&gt;(maxWallTime=5)&lt;br /&gt;&lt;br /&gt;queue&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(3) submit through condor birdbath APIs&lt;br /&gt;Almost the same with serial job submission except for setting up the wall clock time. When you generate globusrsl, add&lt;br /&gt;&lt;br /&gt;(maxWallTime=yourWallMaxTime)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-1931817626338284450?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/1931817626338284450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=1931817626338284450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/1931817626338284450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/1931817626338284450'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/running-parallel-pwx.html' title='Running parallel pw.x on the LoneStar of TACC: on site/condorG/condor-birdbath APIs'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3742153554329781808</id><published>2008-01-11T17:16:00.000-05:00</published><updated>2008-01-18T15:49:13.278-05:00</updated><title type='text'>Job submission to TG machines</title><content type='html'>Color code&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Blue: Serial pw.x is ready to run and accessible by Task Executor&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0); font-weight: bold;"&gt;Red: pw.x installation failed.&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Green: Serial + MPI pw.x is ready to run and accessed from Task Executor&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;==================================================&lt;br /&gt;machine   hostname                      architecture   job sub   job manager&lt;br /&gt;-----------------------------------------------------------------------------------------&lt;br /&gt;BigRed   login.bigred.iu.teragrid.org    ppc64         GT4      loadleveler&lt;br /&gt;*QueenBeelogin-qb.lsu-loni.teragrid.org                GT4&lt;br /&gt;NCAR     tg-login.frost.ncar.teragrid.org i686       GT4&lt;br /&gt;*Abe     login-abe.ncsa.teragrid.org       Intel64      GT4          pbs&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Cobalt   login-co.ncsa.teragrid.org         ia64          GT4/GT2  pbs/fork&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0); font-weight: bold;"&gt;Mercury  login-hg.ncsa.teragrid.org      ia64          GT4/GT2  pbs/fork&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Tungsten login-w.ncsa.teragrid.org       ia32          GT4/GT2  LSF/fork&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;ORNL     tg-login.ornl.teragrid.org      i686          GT4/GT2  pbs/fork&lt;/span&gt;&lt;br /&gt;*BigBen  tg-login.bigben.psc.teragrid.org AMD Opteron  GT4/GT2  pbs&lt;br /&gt;*Rachel  tg-login.rachel.psc.teragrid.org              GT4/GT2  pbs&lt;br /&gt;Purdue   tg-login.purdue.teragrid.org                  GT4/GT2  pbs&lt;br /&gt;*sdsc BG bglogin.sdsc.edu                ppc64         GT4/GT2  no job manager??&lt;br /&gt;*sdsc DS dslogin.sdsc.edu             002628DA4C00     GT4/GT2  loadleveler/fork&lt;br /&gt;sdsc IBM tg-login.sdsc.teragrid.org      ia64          GT4/GT2  pbs/fork&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 102, 0);font-size:100%;" &gt;lonestar tg-login.lonestar.tacc.teragrid.org ia64 GT4/GT2  LSF/fork&lt;/span&gt;&lt;br /&gt;maverik  tg-viz-login.tacc.teragrid.org  sun4u         GT4/GT2  sge/fork&lt;br /&gt;*ranger  tg-login.ranger.tacc.teragrid.org             GT4      sge/fork&lt;br /&gt;IA-VIS   tg-viz-login.uc.teragrid.org    i686          GT4/GT2  pbs&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 0);"&gt;IS-64    tg-login.uc.teragrid.org        ia64          GT4/GT2  pbs/fork&lt;/span&gt;&lt;br /&gt;=================================================&lt;br /&gt;&lt;br /&gt;*QueenBee : could not login&lt;br /&gt;*Abe doesn't support single-sign-on&lt;br /&gt;*BigBen: could not login&lt;br /&gt;*Abe: could not login&lt;br /&gt;*Rachel: could not login&lt;br /&gt;*Purdue: could not login&lt;br /&gt;*sdsc BlueGene: unknown job manager?&lt;br /&gt;*sdsc DataStar: unusual architecture?&lt;br /&gt;*ranger: could not login&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3742153554329781808?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3742153554329781808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3742153554329781808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3742153554329781808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3742153554329781808'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/job-submission-to-tg-machines.html' title='Job submission to TG machines'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3669092147693038194</id><published>2008-01-11T15:22:00.000-05:00</published><updated>2008-01-22T15:32:30.031-05:00</updated><title type='text'>Compiling espresso in the TG machines</title><content type='html'>&lt;span style="font-family:arial;"&gt;To run the executables on the TG machines, first you have to get ready your executables on the site.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Here is the instruction of installation serial run espresso. README.install was very useful.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;* Cobalt, Mercury, and Tungsten NCSA&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;step 1. copy espressoXXX.tar&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;step 2. On the espresso directory, set the environment variable to select architecture.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;setenv BIN_DIR /home/ac/quakesim/vlab/espresso/bin&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;setenv PSEUDO_DIR /home/ac/quakesim/vlab/espresso/pseudo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;setenv TMP_DIR /home/ac/quakesim/vlab/espresso/tmp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;setenv ARCH linux64&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;setenv PARA_PREFIX&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;setenv PARA_POSTFIX&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;note: for serial process, PARA_PREFIX MUST be left empty. For parallel process,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;setenv PARA_PREFIX "mpirun -np 2"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;setenv PARA_POSTFIX&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;step 2.5 make sure you have tmp, pseudo, bin directory under your espresso directory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;step 3. ./configure&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;step 4. make all&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: verdana;"&gt;* Lonestar parallel pw.x, ph.x&lt;/span&gt;&lt;br /&gt;step 1. &lt;/span&gt;&lt;span style="font-family:georgia;"&gt;setenv PARA_PREFIX "mpirun"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;step 2. setenv ARCH linux64&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;step 3. ./configure&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;step 4. make all&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3669092147693038194?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3669092147693038194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3669092147693038194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3669092147693038194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3669092147693038194'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/compiling-espresso-in-tg-machines.html' title='Compiling espresso in the TG machines'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-8989518884878168211</id><published>2008-01-11T11:36:00.000-05:00</published><updated>2008-01-22T16:16:07.917-05:00</updated><title type='text'>Submit job to pbs[1]: on site with command line</title><content type='html'>(0) create script file which displays hostname of the machine. Name the file as "test"&lt;br /&gt;   #!/bin/sh&lt;br /&gt;   /bin/hostname&lt;br /&gt;(1) submit job test to the pbs queue.&lt;br /&gt;qsub  -o test.out -e test.err test&lt;br /&gt;(2) check result file&lt;br /&gt;&lt;br /&gt;*Useful guide&lt;br /&gt;http://www.teragrid.org/userinfo/jobs/pbs.php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-8989518884878168211?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/8989518884878168211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=8989518884878168211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8989518884878168211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8989518884878168211'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/submit-job-though-pbs1-on-site-with.html' title='Submit job to pbs[1]: on site with command line'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-5613862234769996192</id><published>2008-01-04T15:35:00.000-05:00</published><updated>2008-01-07T11:01:56.145-05:00</updated><title type='text'>Submitting a job to LSF job queue [3]: through CondorG with birdbath APIs</title><content type='html'>To submit a job to the LSF thourgh the condor G with birdbath APIs, your ClassAdStructAttr should contains required attributes. I retrieved the list of keywords from my previous example: &lt;a href="http://sangpall.blogspot.com/2008/01/submitting-job-to-lsf-job-queue-through.html"&gt;Submitting a job to LSF job queue [2]&lt;/a&gt;. After submitting condor job with example[2], run condor_q -l, than you can get a list of valid keywords.  &lt;span style="font-style: italic; color: rgb(204, 0, 0); font-weight: bold;"&gt;Please note that even though you use wrong keyword, condor WON'T throw any exception, and your job WON'T go through. (now I'm pulling my hair.)  Therefore, make something runs correctly even though it's not with birdbath APIs, and start from the valid keywords generated from that example.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;* Attributes &lt;span style="font-style: italic;"&gt;In&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;Out&lt;/span&gt;, and &lt;span style="font-style: italic;"&gt;Err&lt;/span&gt; are used for specifying Standard Input, output, and error redirections. Therefore if your executables uses standard input/output and redirects them to files, those should be specified with these attributes.&lt;br /&gt;&lt;br /&gt;* In this case, pw.x generates multiple files besides stdout output files. Attribute&lt;br /&gt;&lt;span style="font-style: italic;"&gt;TransferOutput &lt;/span&gt;specifies files that should be transfered after the process is done.&lt;br /&gt;&lt;br /&gt;* Attribute &lt;span style="font-style: italic;"&gt;GlobusRSL&lt;/span&gt; is equivalant to the keyword globusrsl in the script file for the command line submission by condor_submit.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;* Many many thanks to Marlon for helping me out!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Actual ClassAdStructAttr[] is following:&lt;br /&gt;------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;      ClassAdStructAttr[] extraAttributes =&lt;br /&gt;      {&lt;br /&gt;          new ClassAdStructAttr("GridResource", ClassAdAttrType.value3, gridResourceVal),&lt;br /&gt;          new ClassAdStructAttr("TransferExecutable",ClassAdAttrType.value4,"FALSE"),&lt;br /&gt;          new ClassAdStructAttr("Out", ClassAdAttrType.value3, tmpDir+"/"+"pwscf-"+clusterId+".out"),&lt;br /&gt;          new ClassAdStructAttr("UserLog",ClassAdAttrType.value3, tmpDir+"/"+"pwscf-"+clusterId+".log"),&lt;br /&gt;          new ClassAdStructAttr("Err",ClassAdAttrType.value3, tmpDir+"/"+"pwscf-"+clusterId+".err"),&lt;br /&gt;          new ClassAdStructAttr("In",ClassAdAttrType.value3, workDir+"/"+"Pwscf_Input"),&lt;br /&gt;          new ClassAdStructAttr("ShouldTransferFiles", ClassAdAttrType.value2,"\"YES\""),&lt;br /&gt;          new ClassAdStructAttr("WhenToTransferOutput", ClassAdAttrType.value2,"\"ON_EXIT\""),&lt;br /&gt;          new ClassAdStructAttr("StreamOut", ClassAdAttrType.value4, "TRUE"),&lt;br /&gt;          new ClassAdStructAttr("StreamErr",ClassAdAttrType.value4,"TRUE"),&lt;br /&gt;&lt;br /&gt;          new ClassAdStructAttr("TransferOutput",ClassAdAttrType.value2,&lt;br /&gt; "\"pwscf.pot, pwscf.rho, pwscf.wfc, pwscf.md, pwscf.oldrho, pwscf.save, pwscf.update\""),&lt;br /&gt; &lt;br /&gt;          new ClassAdStructAttr("TransferOutputRemaps",ClassAdAttrType.value2,&lt;br /&gt; "\"pwscf.pot="+tmpDir+"/"+"pwscf-"+clusterId+&lt;br /&gt; ".pot; pwscf.rho="+tmpDir+"/"+"pwscf-"+clusterId+&lt;br /&gt; ".rho;pwscf.wfc="+tmpDir+"/"+"pwscf-"+clusterId+&lt;br /&gt; ".wfc; pwscf.md="+tmpDir+"/"+"pwscf-"+clusterId+&lt;br /&gt; ".md; pwscf.oldrho="+tmpDir+"/"+"pwscf-"+clusterId+&lt;br /&gt; ".oldrho; pwscf.save="+tmpDir+"/"+"pwscf-"+clusterId+&lt;br /&gt; ".save; pwscf.update="+tmpDir+"/"+"pwscf-"+clusterId+".update\""),&lt;br /&gt;&lt;br /&gt;new ClassAdStructAttr("GlobusRSL", ClassAdAttrType.value2,&lt;br /&gt; "\"(queue=development)(environment=(PATH /usr/bin))(jobtype=single)(count=1)\""),&lt;br /&gt; &lt;br /&gt;          new ClassAdStructAttr("x509userproxy",ClassAdAttrType.value3,proxyLocation),&lt;br /&gt; &lt;br /&gt;      };&lt;br /&gt;------------------------------------------------------------------------------------------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-5613862234769996192?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/5613862234769996192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=5613862234769996192' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5613862234769996192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5613862234769996192'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/submitting-job-to-lsf-job-queue-through_04.html' title='Submitting a job to LSF job queue [3]: through CondorG with birdbath APIs'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-6144423643497368686</id><published>2008-01-04T15:23:00.000-05:00</published><updated>2008-01-04T15:25:34.745-05:00</updated><title type='text'>Pwscf output files?</title><content type='html'>In my local machine, pw.x generates output files besides the standard output:&lt;br /&gt;pwscf.pot, pwscf.rho, pwscf.wfc&lt;br /&gt;unless I reuse the tmp directory.&lt;br /&gt;&lt;br /&gt;However, in lonestar, it genrates,&lt;br /&gt;pwscf.md  pwscf.oldrho  pwscf.pot  pwscf.rho  pwscf.save  pwscf.update  pwscf.wfc&lt;br /&gt;&lt;br /&gt;For sure, I transfer all of the possible files from the remote machine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-6144423643497368686?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/6144423643497368686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=6144423643497368686' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6144423643497368686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6144423643497368686'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/pwscf-output-files.html' title='Pwscf output files?'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-310249810691342018</id><published>2008-01-04T14:22:00.000-05:00</published><updated>2008-01-04T15:39:04.094-05:00</updated><title type='text'>Submitting a job to LSF job queue [2]: through CondorG with condor_submit</title><content type='html'>Now, I tried to submit the same job, pw.x with the remote input files through the CondorG command line which is condor_submit. In this example, I use inputfiles stored in my local machine. Therefore, my script file should specify input files like following lines.&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;executable              = /home/teragrid/tg459282/vlab/pw.x&lt;br /&gt;transfer_executable     = false&lt;br /&gt;should_transfer_files   = yes&lt;br /&gt;when_to_transfer_output = ON_EXIT&lt;br /&gt;transfer_input_files    = /home/leesangm/catalina/VLAB_Codes/__CC5f_7/008-O-ca--bm3.vdb,/home/leesangm/catalina/VLAB_Codes/__CC5f_7/__cc5_7,/home/leesangm/catalina/VLAB_Codes/__CC5f_7/Mg.vbc3&lt;br /&gt;&lt;br /&gt;universe                = grid&lt;br /&gt;grid_resource           = gt2 tg-login.tacc.teragrid.org/jobmanager-lsf&lt;br /&gt;output                  = tmpfile.out.$(Cluster)&lt;br /&gt;error                   = condorG.err.$(Cluster)&lt;br /&gt;log                     = condorG.log.$(Cluster)&lt;br /&gt;input            = /home/leesangm/catalina/VLAB_Codes/__CC5f_7/Pwscf_Input&lt;br /&gt;&lt;br /&gt;globusrsl = (queue=development)\&lt;br /&gt;  (environment=(PATH /usr/bin))\&lt;br /&gt;  (jobtype=single)\&lt;br /&gt;  (count=1)&lt;br /&gt;&lt;br /&gt;queue&lt;br /&gt;---------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;This script file is almost the same with normal condor submit script except for the globusrsl keyword. This is a simple case for the serial job. For the parallel jobs, this should be modified.&lt;br /&gt;&lt;br /&gt;Then submit condor job,&lt;br /&gt;     condor_submit script_file_name&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-310249810691342018?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/310249810691342018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=310249810691342018' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/310249810691342018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/310249810691342018'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/submitting-job-to-lsf-job-queue-through.html' title='Submitting a job to LSF job queue [2]: through CondorG with condor_submit'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-8530960353125667046</id><published>2008-01-04T11:44:00.000-05:00</published><updated>2008-01-04T16:01:11.572-05:00</updated><title type='text'>Submitting a job to LSF job queue [1] : On the Cluster</title><content type='html'>* Usefule LSF commands :&lt;br /&gt;bsub: submission jobs&lt;br /&gt;bjobs: display information about the jobs&lt;br /&gt;bkills: send signal to kill&lt;br /&gt;For more commands,&lt;br /&gt;http://its.unc.edu/dci/dci_components/lsf/lsf_commands.htm&lt;br /&gt;&lt;br /&gt;* Useful options of bsub command&lt;br /&gt;-q : name of the queue&lt;br /&gt;-n:  desired number of processors&lt;br /&gt;-W:  Walltime limit in batch jobs -W[hours]:[minutes]&lt;br /&gt;-i : input file&lt;br /&gt;-o : output file&lt;br /&gt;-e: error file&lt;br /&gt;&lt;br /&gt;Example lsf submit of pw.x in lonestar&lt;br /&gt;bsub -q development -n 1 -W 15 -i "Pwscf_Input" -o "myout.out" ../pw.x&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-8530960353125667046?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/8530960353125667046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=8530960353125667046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8530960353125667046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8530960353125667046'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/make-te-to-work-woth-lsf-step-1.html' title='Submitting a job to LSF job queue [1] : On the Cluster'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-6344863749080120193</id><published>2008-01-03T13:33:00.000-05:00</published><updated>2008-01-03T15:07:21.821-05:00</updated><title type='text'>Building a Client of the Task Executor</title><content type='html'>To generate client of the vlab Task Executor service, first we have to create stub code and compile them.&lt;br /&gt;If the service is running on localhost, WSDL file is located at,&lt;br /&gt;http://localhost:8080/task-executor/services/TaskExecutor?wsdl&lt;br /&gt;With this WSDL file, we can generate java classes with WSDL2Java included in the axis package.&lt;br /&gt;java org.apache.axis.wsdl.WSDL2Java http://localhost:8080/task-executor/services/TaskExecutor?wsdl&lt;br /&gt;Then compile/jar the java code.&lt;br /&gt;Required jar files to run WSDL2Java are following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;axis-1.4.jar&lt;/li&gt;&lt;li&gt;activation-1.1.jar&lt;/li&gt;&lt;li&gt;commons-discovery-0.2.jar &lt;/li&gt;&lt;li&gt;saaj.jar&lt;/li&gt;&lt;li&gt;jaxrpc.jar&lt;/li&gt;&lt;li&gt;mail-1.4.jar&lt;/li&gt;&lt;li&gt;wsdl4j-1.5.1.jar&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-6344863749080120193?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/6344863749080120193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=6344863749080120193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6344863749080120193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6344863749080120193'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2008/01/modifying-client-of-task-executor.html' title='Building a Client of the Task Executor'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-5164155786986996067</id><published>2007-12-14T11:33:00.000-05:00</published><updated>2008-01-10T15:52:32.266-05:00</updated><title type='text'>Globus environment</title><content type='html'>Step. 0 source $GLOBUS_LOCATION/etc/globus-user-env.sh&lt;br /&gt;&lt;br /&gt;Step. 00 export  X509_CERT_DIR=/home/leesangm/.globus/certificates&lt;br /&gt;&lt;br /&gt;Step. 000 Check if this works,&lt;br /&gt;globusrun -o -r grid-co.ncsa.teragrid.org/jobmanager '&amp;amp;(executable=/bin/ls)'&lt;br /&gt;&lt;br /&gt;condor_rm -forcex -all : force the immediate local removal of jobs in the X state&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-5164155786986996067?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/5164155786986996067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=5164155786986996067' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5164155786986996067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5164155786986996067'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/12/globus-environment.html' title='Globus environment'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4431814019367954579</id><published>2007-12-05T16:21:00.000-05:00</published><updated>2007-12-05T16:29:57.536-05:00</updated><title type='text'>Condor/Birdbath documentations</title><content type='html'>Birdbath section in the condor manual:&lt;br /&gt;&lt;a href="http://www.cs.wisc.edu/condor/manual/v6.8/4_4Application_Program.html"&gt;http://www.cs.wisc.edu/condor/manual/v6.8/4_4Application_Program.html&lt;/a&gt;&lt;br /&gt;Marlon's Blog&lt;br /&gt;Condor Installation: &lt;a href="http://communitygrids.blogspot.com/2007/07/beating-condor-like-rented-buzzard.html"&gt;http://communitygrids.blogspot.com/2007/07/beating-condor-like-rented-buzzard.html&lt;/a&gt;&lt;br /&gt;Submitting Globus job through condor: &lt;a href="http://communitygrids.blogspot.com/2006/09/submitting-globus-job-through-condor.html"&gt;http://communitygrids.blogspot.com/2006/09/submitting-globus-job-through-condor.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4431814019367954579?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4431814019367954579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4431814019367954579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4431814019367954579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4431814019367954579'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/12/birdbath-documentations.html' title='Condor/Birdbath documentations'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3756636165072169175</id><published>2007-12-05T16:01:00.000-05:00</published><updated>2007-12-05T16:25:31.716-05:00</updated><title type='text'>Condor: Birdbath APIs javadoc</title><content type='html'>After few days of suffering, I generated this javadoc from condor birdbath related source codes. I got the source code from,&lt;br /&gt;(1) birdbath jar file: download from &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;http://www.cs.wisc.edu/condor/birdbath/birdbath.jar&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;(2) type classes generated from WSDL (birdbath1.jar): included in the condor6.8.6 release (/lib/webservice)&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/condor/docs/"&gt;http://www.cs.indiana.edu/~leesangm/ogce/condor/docs/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3756636165072169175?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3756636165072169175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3756636165072169175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3756636165072169175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3756636165072169175'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/12/condor-birdbath-apis-javadoc.html' title='Condor: Birdbath APIs javadoc'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-7388082441005678082</id><published>2007-11-28T09:17:00.000-05:00</published><updated>2007-11-28T09:20:35.226-05:00</updated><title type='text'>VLAB</title><content type='html'>&lt;a href="javascript:void(0)" tabindex="10" onclick="return false;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;mvn clean install cargo:deploy -Dmaven.test.skip=true -f with_condor/task-executor/pom.xml&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-7388082441005678082?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/7388082441005678082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=7388082441005678082' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7388082441005678082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7388082441005678082'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/11/vlab.html' title='VLAB'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-1250623176735182154</id><published>2007-10-29T14:05:00.000-04:00</published><updated>2007-10-29T14:57:20.569-04:00</updated><title type='text'>FAS Script file for the SC07 Demo</title><content type='html'>Script file &lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/generateDB.sh"&gt;generateDB.sh&lt;/a&gt; is designed especially for the demo at SC07. This script manages three accounts, leesangm, mpierce, and yuma. First, all of the information about these users will be removed.Then new information will be registered. If you want to modify information, open generateDB.sh modify it, and run it.&lt;br /&gt;&lt;br /&gt;To run this script,&lt;br /&gt;Step 1. You should download &lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/FileAgentService0.7.tar"&gt;this&lt;/a&gt; .&lt;br /&gt;All of the library jar files, and script files are included.&lt;br /&gt;Step 2.  Run the command.&lt;br /&gt;./generateDB.sh&lt;br /&gt;&lt;br /&gt;That's it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-1250623176735182154?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/1250623176735182154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=1250623176735182154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/1250623176735182154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/1250623176735182154'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/10/fas-script-file-for-sc07-demo.html' title='FAS Script file for the SC07 Demo'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-2742474595565960489</id><published>2007-10-29T13:46:00.000-04:00</published><updated>2007-10-29T14:27:41.420-04:00</updated><title type='text'>Command Line Access to the FAS0.7</title><content type='html'>Command line tool provides immediate access to the FAS server. This is very useful for the test runs.&lt;br /&gt;To user this command line tool, you don't need to run the service on your site. You will need only client of the service.&lt;br /&gt;&lt;br /&gt;Step 1. You should download &lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/FileAgentService0.7.tar"&gt;this&lt;/a&gt; .&lt;br /&gt;All of the example, script files are included.&lt;br /&gt;&lt;br /&gt;Step 2.  Run the command.&lt;br /&gt;(1)To create new user space&lt;br /&gt;./run.sh AddNewUserSpace  -f &lt;fas&gt; [FAS service location] -l [username]  &lt;username&gt; -h [host name] &lt;host&gt; -p [port number] &lt;port&gt; -dn [DN of the community cert for this host] &lt;distingushed&gt; -pr [protocol] &lt;protocol&gt; -us [logical space for this user]&lt;br /&gt;e.g.) ./run.sh AddNewUserSpace &lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;-l leesangm -h "gridfarm001.ucs.indiana.edu" -p "2811" -pr "gridftp" -us "/home/quakesim/"&lt;br /&gt;&lt;br /&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;&lt;user&gt;(2)To query user space &lt;/user&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;br /&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;&lt;user&gt; ./run.sh QueryUserSpace &lt;/user&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;-f &lt;fas&gt; [FAS service location] -l [username]  &lt;username&gt; -h [host name] &lt;host&gt; -p [port number] &lt;port&gt; -dn [DN of the community cert for this host] &lt;distingushed&gt; -pr [protocol] &lt;protocol&gt; -us [logical space for this user]&lt;br /&gt;e.g.) ./run.sh QueryUserSpace -l leesangm&lt;br /&gt;&lt;br /&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;&lt;user&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;&lt;user&gt;(3)To remove user space&lt;br /&gt;./run.sh RemoveUserSpace &lt;/user&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;/user&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;-f &lt;fas&gt; [FAS service location] -l [username]  &lt;username&gt; -h [host name] &lt;host&gt; -p [port number] &lt;port&gt; -dn [DN of the community cert for this host] &lt;distingushed&gt; -pr [protocol] &lt;protocol&gt; -us [logical space for this user] &lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;br /&gt;e.g.) ./run.sh RemoveUserSpace -l leesangm&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 0);"&gt;[NOTE] &lt;/span&gt;&lt;br /&gt;Default value of FAS service location is&lt;br /&gt;&lt;pre&gt;http://gridfarm002.ucs.indiana.edu:8080/axis2/services/FileAgentService&lt;/pre&gt;  Default value of DN of the Community Certificate is Teragrid Quakesim cert.&lt;br /&gt;         /C=US/O=National Center for Supercomputing Applications/CN=QuakeSim Community User&lt;br /&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;&lt;user&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;&lt;user&gt;&lt;fas&gt;&lt;username&gt;&lt;host&gt;&lt;port&gt;&lt;distingushed&gt;&lt;protocol&gt;&lt;user&gt;&lt;br /&gt;&lt;/user&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;/user&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;/user&gt;&lt;/protocol&gt;&lt;/distingushed&gt;&lt;/port&gt;&lt;/host&gt;&lt;/username&gt;&lt;/fas&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-2742474595565960489?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/2742474595565960489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=2742474595565960489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2742474595565960489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2742474595565960489'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/10/command-line-access-to-fas07.html' title='Command Line Access to the FAS0.7'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4782466845745855015</id><published>2007-10-29T11:06:00.001-04:00</published><updated>2007-10-29T13:46:08.810-04:00</updated><title type='text'>File Agent Service V0.7</title><content type='html'>1. Introduction&lt;br /&gt;File Agent Serivce is a web service providing access to the information about community user space. This user space is accessed with Teragrid community certificate. This version provides 7 operations including 3 operations from the previous version.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;queryDataSpaceInfo&lt;/li&gt;&lt;li&gt;registerDataSpaceInfo&lt;/li&gt;&lt;li&gt;removeDataSpaceInfo&lt;/li&gt;&lt;li&gt;createDataSpace&lt;/li&gt;&lt;li&gt;queryUserSpaceConvention&lt;/li&gt;&lt;li&gt;registerUserSpaceConvention&lt;/li&gt;&lt;li&gt;removeUserSpaceConvention&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Section 2 will discribe how to access the service, and each of the operations are described in the section 3.&lt;br /&gt;&lt;br /&gt;2. Access to the service&lt;br /&gt;Required jar file:&lt;br /&gt;-FileAgentService.aar and basic jar file for axis2.&lt;br /&gt;Download &lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/FileAgentService0.7.tar"&gt;tarball&lt;/a&gt; [48MB contains all the lib and source code].&lt;br /&gt;Service is now up and running on,&lt;br /&gt;http://gridfarm002.ucs.indiana.edu:8080/axis2/services/FileAgentService&lt;br /&gt;The WSDL file is available at,&lt;br /&gt;http://gridfarm002.ucs.indiana.edu:8080/axis2/services/FileAgentService?wsdl&lt;br /&gt;For detail code example, please refer the sample code.&lt;br /&gt;&lt;br /&gt;3. Operations&lt;br /&gt;3.1 queryDataSpaceInfo&lt;br /&gt;This operation provides query interface to the data space information. Input parameter is query statement described in WSDL and output parameter is the query result.&lt;br /&gt;Here is how to build an input query for this operation. First, dataspace information includes following items,&lt;br /&gt;&lt;ul&gt;&lt;li&gt;username : user's portal id&lt;/li&gt;&lt;li&gt;host: remote location of the data resource&lt;/li&gt;&lt;li&gt;port: port number of the data resource&lt;/li&gt;&lt;li&gt;commCertDN: DN of the community certificate that used for this resource&lt;/li&gt;&lt;li&gt;protocol: protocol to access this resource&lt;/li&gt;&lt;li&gt;LogicalUserSpace: logical user space assigned for the user&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Above items are accessible through getter/setter methods of the FASBean object that is included in the FileAgentService.aar file.&lt;br /&gt;&lt;br /&gt;For example,&lt;br /&gt;FASBean fb = new FASBean();&lt;br /&gt;fb.setUsername("fiona");&lt;br /&gt;fb.setHost("gridfarm002");&lt;br /&gt;fb.setPort("123");&lt;br /&gt;fb.setCommCertDN("nydb");&lt;br /&gt;fb.setProtocol("gridftp");&lt;br /&gt;fb.setLogicalUserSpace("/home/communityspace/fiona");&lt;br /&gt;&lt;br /&gt;For the queryDataSpaceInfo operation, you can build very simple query without knowing any of complicated query language. Specify items that you know exactly. Leave items as null if you are not sure. This operation will process the null item as a wildcard in the query.&lt;br /&gt;&lt;br /&gt;For example, if you want to get all the dataspace information about user A in the host GGG, then set the username and host and leave everything else as null. (Just don't set the value).&lt;br /&gt;&lt;br /&gt;3.2 registerDataSpaceInfo&lt;br /&gt;This operation registers new data space information. Define FASBean and use it as parameter of this operation. Please refer the sample code.&lt;br /&gt;&lt;br /&gt;3.3 removeDataSpaceInfo&lt;br /&gt;This operation removes data space inforamtion. This works very similar to the queryDataSpaceInfo operation. Therefore, if you want to remove all of the information about user A, you should specify username only, and leave all of other itesm null. Please note if you set complete null input parameter to thie operation, it will completely reset your database.&lt;br /&gt;&lt;br /&gt;3.4 createDataSpace&lt;br /&gt;[TODO] This operation is almost same with thte registerDataSpaceInfo operation. On top of creating data space information, this operation will access the remote resource and create your's logical space as well.&lt;br /&gt;&lt;br /&gt;3.5 queryUserSpaceConvention&lt;br /&gt;This is a utility operation for the advanced users. If the administor wants to organize ther user's logical space with more standard convention, 3.5 ~ 3.7 operations should be very useful.&lt;br /&gt;This operation provides following informations,&lt;br /&gt;&lt;ul&gt;&lt;li&gt;host: host name of the remote resource&lt;/li&gt;&lt;li&gt;port: port number of the remote resource&lt;/li&gt;&lt;li&gt;attr: attribution of this convention&lt;/li&gt;&lt;li&gt;defaultLoc : convention of the user space&lt;/li&gt;&lt;/ul&gt;For example, let's assume that an administrator should organize users' data under the community space which is /g/d/commUser. This space is hosted by host A and port 1234. Also this host has multiple mounted resources such as /tg/h/j/hpss for the HPSS server, and /sc/datacatacitor for the High performance data capacitor. The user's space can be organized following way.&lt;br /&gt;&lt;br /&gt;host: A&lt;br /&gt;port: 1234&lt;br /&gt;attr: High performance data capacitor&lt;br /&gt;defaultLoc: /sc/datacapacitor/userspace/username&lt;br /&gt;&lt;br /&gt;host: A&lt;br /&gt;port: 1234&lt;br /&gt;attr: Network File System&lt;br /&gt;defaultLoc:  /g/d/commUser/userspace/username&lt;br /&gt;&lt;br /&gt;host: A&lt;br /&gt;port: 1234&lt;br /&gt;attr: HPSS&lt;br /&gt;defaultLoc: /tg/h/j/hpss/userspace/username&lt;br /&gt;&lt;br /&gt;Based on these informations, when a new user tries to create a data space, the system can query the convention of the defaultLoc and create the user space accordingly. Also the application can show the attribute of the location so that it can provide more precise information instead encrypted directory path.&lt;br /&gt;&lt;br /&gt;You can use this operation in very similar way to the queryDataSpaceInfo. Specify all of the items you know exactly and send the request. The operation will process your query as predicates combined as AND predicates and process non-specified items as wildcard items.&lt;br /&gt;&lt;br /&gt;3.6 registerUserSpaceConvention&lt;br /&gt;This operation registers new User space convention. Section 3.5 explains how to organize the community user space using this operation. For more information, please refer the sample code.&lt;br /&gt;&lt;br /&gt;3.7 removeUserSpaceConvention&lt;br /&gt;This operation removes user's space convention. For more information, please refer the sample code.&lt;br /&gt;&lt;br /&gt;Appendix. Sample Code&lt;br /&gt;Download &lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/FileAgentService0.7.tar"&gt;tarball &lt;/a&gt;[48MB contains all the lib and source code]&lt;br /&gt;Sample Code Directory: src/org/ogce/fileagentservice/client&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/AddNewUserSpace.java"&gt;AddNewUserSpace.java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/QueryUserSpace.java"&gt;QueryUserSpace.java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/RemoveUserSpace.java"&gt;RemoveUserSpace.java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cs.indiana.edu/%7Eleesangm/ogce/fas/ConventionExample.java"&gt;ConventionExample.java&lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4782466845745855015?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4782466845745855015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4782466845745855015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4782466845745855015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4782466845745855015'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/10/file-agent-service.html' title='File Agent Service V0.7'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-5143794092015289087</id><published>2007-10-15T15:26:00.000-04:00</published><updated>2007-10-15T15:41:20.284-04:00</updated><title type='text'>Community Proxy Single sign-on</title><content type='html'>This is about the sigle sign-on process with the community proxy certificate for the OGCE porttal (Gridsphere version). As soon as the user's login name and password are verified the portal service accesses teragrid proxy server, gets the community proxy certificate and stores it with user's login name in the proxy manager.&lt;br /&gt;&lt;br /&gt;Step 0. prepare the account&lt;br /&gt;-- get community account&lt;br /&gt;-- http://grid.ncsa.uiuc.edu/myproxy/tgsso.html&lt;br /&gt;&lt;br /&gt;Step 1. change the code&lt;br /&gt;org.gridlab.gridsphere.impl.service.core.user.LoginServiceImpl&lt;br /&gt;-- access the proxy server (teragrid proxy server)&lt;br /&gt;-- get a proxy cert&lt;br /&gt;-- register to the proxy manager with the currrent login name&lt;br /&gt;&lt;br /&gt;Step 2. compile and generate jar&lt;br /&gt;On gridsphere directory,&lt;br /&gt;&lt;br /&gt;ant gridsphere-jar&lt;br /&gt;&lt;br /&gt;*make sure that the detendent jar files are located in the lib directory.&lt;br /&gt;proxymanager-api-4.2.jar&lt;br /&gt;cog-jglobus-1.2-050621.jar&lt;br /&gt;jgss-1.0.jar&lt;br /&gt;&lt;br /&gt;*make sure that the classpath is pointing the lib directory in the compile task.&lt;br /&gt;&lt;br /&gt;Step 3. copy jar to current OGCE deployment under,&lt;br /&gt;/shared/lib/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-5143794092015289087?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/5143794092015289087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=5143794092015289087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5143794092015289087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/5143794092015289087'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/10/community-proxy-single-sign-on.html' title='Community Proxy Single sign-on'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4775459520771293347</id><published>2007-10-04T16:29:00.000-04:00</published><updated>2007-10-05T16:31:18.971-04:00</updated><title type='text'>File Agent service access from portlet: compile</title><content type='html'>STEP 0: Shut down tomcat&lt;br /&gt;&lt;br /&gt;STEP 1: add 3rd party jar for axis2,&lt;br /&gt;   axis2-adb-1.3.jar&lt;br /&gt;   axis2-kernel-1.3.jar&lt;br /&gt;   axiom-api-1.2.5.jar&lt;br /&gt;annogen-0.1.0.jar              &lt;br /&gt;axiom-api-1.2.5.jar        &lt;br /&gt;axiom-dom-1.2.5.jar              &lt;br /&gt;   axiom-impl-1.2.5.jar&lt;br /&gt;commons-codec-1.3.jar&lt;br /&gt;commons-httpclient-3.0.1.jar&lt;br /&gt;stax-api-1.0.1.jar&lt;br /&gt;wsdl4j-1.6.2.jar&lt;br /&gt;wstx-asl-3.2.1.jar&lt;br /&gt;XmlSchema-1.3.2.jar&lt;br /&gt;FileAgentService-0.5.aar&lt;br /&gt;command:&lt;br /&gt;ogce-portal-only/maven-2.0.7/bin/mvn install:install-file -DgroupId=axis2 -DartifactId=axis2-adb -Dversion=1.3 -Dfile="axis2-adb-1.3.jar" -Dpackaging=jar&lt;br /&gt;ogce-portal-only/maven-2.0.7/bin/mvn install:install-file -DgroupId=axis2 -DartifactId=axis2-kernel -Dversion=1.3 -Dfile="axis2-kernel-1.3.jar" -Dpackaging=jar&lt;br /&gt;ogce-portal-only/maven-2.0.7/bin/mvn install:install-file -DgroupId=FileAgentService -DartifactId=FileAgentService -Dversion=0.5 -Dfile="FileAgentService-0.5.aar" -Dpackaging=jar&lt;br /&gt;ogce-portal-only/maven-2.0.7/bin/mvn install:install-file -DgroupId=axis2 -DartifactId=axiom-api -Dversion=1.2.5 -Dfile="axiom-api-1.2.5.jar" -Dpackaging=jar&lt;br /&gt;&lt;br /&gt;Step 2. Add &lt;dependency&gt;s to the project.pom file&lt;br /&gt;&lt;br /&gt;    &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;axiom-api&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.2.5&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;    &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;axiom-dom&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.2.5&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;    &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;axiom-impl&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.2.5&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;&lt;br /&gt;     &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;axis2-adb&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.3&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;&lt;br /&gt;     &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;annogen&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;0.1.0&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;&lt;br /&gt;   &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;axis2-kernel&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.3&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;&lt;br /&gt;   &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;commons-codec&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.3&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;&lt;br /&gt;   &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;commons-httpclient&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;3.0.1&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;   &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;stax-api&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.0.1&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;   &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;wsdl4j&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.6.2&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;   &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;wstx-asl&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;3.2.1&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;   &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;axis2&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;XmlSchema&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;1.3.2&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;&lt;br /&gt;   &lt;dependency&gt;&lt;br /&gt;      &lt;groupid&gt;FileAgentService&lt;/groupid&gt;&lt;br /&gt;      &lt;artifactid&gt;FileAgentService&lt;/artifactid&gt;&lt;br /&gt;        &lt;version&gt;0.5&lt;/version&gt;&lt;br /&gt;      &lt;scope&gt;compile&lt;/scope&gt;&lt;br /&gt;    &lt;/dependency&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;STEP 3: compile and install&lt;br /&gt;On the directory of ogce-portal-only,&lt;br /&gt;maven-2.0.7/bin/mvn clean install -f portlets/comp-file-management/pom.xml&lt;br /&gt;&lt;br /&gt;STEP 4: try it.&lt;br /&gt;./tomcat-startup.sh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4775459520771293347?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4775459520771293347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4775459520771293347' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4775459520771293347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4775459520771293347'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/10/file-agent-service-access-from-portlet.html' title='File Agent service access from portlet: compile'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-7050578486522057661</id><published>2007-09-14T14:28:00.001-04:00</published><updated>2007-09-14T15:42:45.600-04:00</updated><title type='text'>Organizing information about Community proxy</title><content type='html'>Well..if a person wants to transfer a file from her community data repository to her personal/remote data file system through the file-comp-management portlet, what do we need to provide? That person will need to access the community proxy to access her community data repository. At a same time, she should access her personal proxy which is relevant to the remote resource. Do we have to ask her every time which proxy she is gonna use? What if it's non-interactive task such as job processing with mix-and-match proxies?&lt;br /&gt;&lt;br /&gt;Since remote access to the resource requires the location of the resource, I think about simple but nice organizing of the information about community proxies and personal proxies based on the location. For each of the users, if {Username, Host, Port} is provided after the user issues proxies, ProxyManager will let me find the proxy for the host with the username.&lt;br /&gt;&lt;br /&gt;Also if the virtulization of the user space for the community repository is considered, I may have to add the pointer to the user space specified by the system.  If it is the community repository based on the Unix file system and the system relocates each of the user's space as  /CommunityRepository/[username], than userspace will set as /CommunityRepository/myusername. If it is not a community repository then  "~" can simply lead the user to the user's home directory that is specified by the Unix file system. Therefore, now I have, {Username, Host, Port, Userspace}.&lt;br /&gt;&lt;br /&gt;Hang on... on top of this, I have to consider about the users who have both of the community acess and personal access to the same resource. For the huge data repository, this can happen quite often. I might have to add some identifier of the proxy, so that Userspace is not confusing. This doesn't have to be universally unique but it should be unique enough within the set of proxies for the same host and user. User's DN which is available from the GSSCredential object can be a good candidate. Now triplet is grown as  {Username, Host, Port, Userspace, ProxyIdentifier}.&lt;br /&gt;&lt;br /&gt;What else can be added....?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-7050578486522057661?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/7050578486522057661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=7050578486522057661' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7050578486522057661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/7050578486522057661'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/09/organizing-information-about-community.html' title='Organizing information about Community proxy'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-1457723992519411850</id><published>2007-09-14T14:21:00.000-04:00</published><updated>2007-09-14T14:27:24.007-04:00</updated><title type='text'>Test note for the ProxyManager Portlet</title><content type='html'>&lt;span style="font-weight: bold;"&gt;1. Test Items&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Create a personal proxy&lt;/li&gt;&lt;li&gt;Create a community proxy&lt;/li&gt;&lt;li&gt;Set default proxy&lt;/li&gt;&lt;li&gt;Get a new personal proxy but not create a copy of existing community proxy&lt;/li&gt;&lt;li&gt;Romove proxy&lt;/li&gt;&lt;li&gt;Test with 3rd party user&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;2. FixMe list&lt;br /&gt;3. Possible addition&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;    display whether it's a community proxy.&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-1457723992519411850?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/1457723992519411850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=1457723992519411850' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/1457723992519411850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/1457723992519411850'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/09/test-note-for-proxymanager-portlet.html' title='Test note for the ProxyManager Portlet'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-2638897589636185647</id><published>2007-09-14T14:10:00.000-04:00</published><updated>2007-09-14T14:21:14.586-04:00</updated><title type='text'>Test note for the Comp-file-management portlet.</title><content type='html'>&lt;span style="font-weight: bold;"&gt;1. Test list&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;File list&lt;/li&gt;&lt;li&gt;GoTo Directory&lt;/li&gt;&lt;li&gt;Go UpperDirectory&lt;/li&gt;&lt;li&gt;Upload&lt;/li&gt;&lt;li&gt;Transfer&lt;/li&gt;&lt;li&gt;Home&lt;/li&gt;&lt;li&gt;Rename&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;2. FixMe List&lt;/span&gt;&lt;br /&gt;(1) After transfer or upload file, file list displays home directory. - &lt;span style="color: rgb(102, 0, 204); font-weight: bold;"&gt;Fixed.&lt;/span&gt;&lt;br /&gt;(2) After the transfer the file, the size of the file is listed as 0.&lt;br /&gt;(3) Last Modified of the destination File Listing is not human-friendly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-2638897589636185647?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/2638897589636185647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=2638897589636185647' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2638897589636185647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/2638897589636185647'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/09/test-note-for-comp-file-management.html' title='Test note for the Comp-file-management portlet.'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-6229401822239413746</id><published>2007-09-12T14:08:00.000-04:00</published><updated>2007-09-12T14:09:53.488-04:00</updated><title type='text'>Commands for using maven2</title><content type='html'>Installing 3rd party jar&lt;br /&gt; maven-2.0.7/bin/mvn install:install-file -DgroupId=proxymanager-api-4.2.1 -DartifactId=proxymanager-api-4.2.1 -Dversion=4.2.1 -Dfile="/home/leesangm/ogce-portal-only/proxymanager-api-4.2.1.jar" -Dpackaging=jar&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-6229401822239413746?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/6229401822239413746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=6229401822239413746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6229401822239413746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/6229401822239413746'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/09/commands-for-using-maven2.html' title='Commands for using maven2'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-3205534831741511109</id><published>2007-09-07T09:45:00.000-04:00</published><updated>2007-09-07T11:56:13.786-04:00</updated><title type='text'>Modify comp-file-management portlet to use Cog Abstraction APIs</title><content type='html'>&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Comp-file-management portlet is implemented using the JSR0168 specification, and allows a user to list/browse files on a source and/or destination resource. Also it provides features to upload, and download user's files. User can transfer files between remote resources. Users upload local file to the remote resource as well.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Currently, major gridFTP functionality is implemented by access to the gridFTP APIs. To modify the classes to use COG Abstraction APIs, some of the classes from the grid port package and comp-file-management portlet are re-written. &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;*All of the added classes are packaged under .utils because of the confliction between the package names.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Added/Modified Classes &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;1. edu.tacc.gridport.portlets.interactive.utils.FileListingManager          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Origin: GridPort   &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;New Package: edu.tacc.gridport.portlets.interactive.utils &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Modified Methods:                &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;FileListingBean executeFileListing(ActionRequest req, ActionResponse res, FileListingBean currentListing)                         &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;ArrayList constructFileBeans(Collection files, String currentDir)             &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;ArrayList constructFileBeans(FileInfo[] files, String currentDir)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Added Methods:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;                      &lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;FileResource getConnect(GSSCredential proxy, String host, String port,String purpose, boolean remotePassive,String provider)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;FileResource getConnect(PortalRequest request, String host, String port,String purpose, boolean remotePassive, String provider)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;String getUpperDirectory(String currentDirectory)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;String getPortalUsername(PortletRequest request)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;void putIntoSession(PortletRequest request, String name, Object obj)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;String constructPermissionString(Permissions user,  Permissions group,  Permissions all, boolean dir)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;           &lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;2. edu.tacc.gridport.portlets.interactive.utils.FileUploadManager         &lt;/span&gt; &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Origin: Grid Port &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;New Package: edu.tacc.gridport.portlets.interactive.utils &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Modified Methods:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;void uploadFileToRemote(ActionRequest req)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;3.edu.tacc.gridport.portlets.interactive.helpers.FileTransfer &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Origin: edu.tacc.gridport.portlets.interactive.helpers (comp-file-management portlet) &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;New Package: no change &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Added Methods:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt; void fileUploadFromUserMachine(String toHost, String localFileFullName, String remoteFileFullName, GSSCredential credential) &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;Modified Methods: &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;font-size:100%;"&gt;void thirdPartyTransfer(String fromHost, String fromFileFullName,String toHost, String toFileFullName, GSSCredential credential)          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-3205534831741511109?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/3205534831741511109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=3205534831741511109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3205534831741511109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/3205534831741511109'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/09/modify-comp-file-management-portlet-to.html' title='Modify comp-file-management portlet to use Cog Abstraction APIs'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-8658684958443075714</id><published>2007-09-05T09:55:00.000-04:00</published><updated>2007-09-11T15:04:12.359-04:00</updated><title type='text'>Compile and deploy single portlet</title><content type='html'>New version (Sep. 07, 2007)&lt;br /&gt; mvn clean install -f portlets/filetransfer/pom.xml&lt;br /&gt;&lt;br /&gt;Old version&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;Goto /ogce/ogce-portal/ogce-portal&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;../third_party_tools/maven-1.0.2/bin/maven gp:deploy-portlet -Dportlet.name=filetransfer -Denv.CATALINA_HOME=../portal_deploy/apache-tomcat-5.5.12&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;Note: use maven V.1.xx&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-size:100%;" &gt;&lt;span style="color: rgb(255, 0, 0);"&gt;source:&lt;/span&gt; &lt;a href="http://collab-ogce.blogspot.com/2007/07/re-compiling-individual-portlets.html"&gt;http://collab-ogce.blogspot.com/2007/07/re-compiling-individual-portlets.html&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-8658684958443075714?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/8658684958443075714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=8658684958443075714' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8658684958443075714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/8658684958443075714'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/09/compile-and-deploy-single-portlet.html' title='Compile and deploy single portlet'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3282976337352429171.post-4589315443704212678</id><published>2007-08-24T11:44:00.000-04:00</published><updated>2007-09-07T11:45:16.323-04:00</updated><title type='text'>setup the globus credential</title><content type='html'>setup the globus credential info:(&lt;a href="http://manacar.blogspot.com/2006/12/myproxy-guidelines-for-community-grids.html"&gt;http://manacar.blogspot.com/2006/12/myproxy-guidelines-for-community-grids.html&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3282976337352429171-4589315443704212678?l=sangpall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sangpall.blogspot.com/feeds/4589315443704212678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3282976337352429171&amp;postID=4589315443704212678' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4589315443704212678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3282976337352429171/posts/default/4589315443704212678'/><link rel='alternate' type='text/html' href='http://sangpall.blogspot.com/2007/08/my-working-environment.html' title='setup the globus credential'/><author><name>Sangmi Lee Pallickara</name><uri>http://www.blogger.com/profile/15257352896573946615</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
