Monday, April 04, 2011

OGCE Gadget Container GridShib Support

The OGCE gadget container now includes GridShib support as part of the default build.  We use GridShib to decorate TeraGrid community security credentials with logging attributes: the authentication instant, the user's email address, the user's browser's IP address, and the user's gadget container user name.  All installation and configuration steps are handled by the OGCE build process: "mvn clean install" handles the jar deployments and resource configuration files.  Decorated credentials can be used or exported to other services.

GridShib is optional, and gadget container deployments not using it will work as normal.


OGCE Gadget Container Part of Apache Rave Incubator

The OGCE Gadget Container is being contributed to the Apache Rave incubator project. The ultimate goal is to produce high quality software for running production Open Social containers.  See http://wiki.apache.org/incubator/RaveProposal for more information.  We will continue to develop the OGCE gadget container in the interim until Rave is ready to release.  We will also extend the Rave core to accommodate the requirements of Science Gateways.

Wednesday, January 19, 2011

TG10 OGCE Paper

The official version of our TeraGrid 10 paper, "Open grid computing environments: advanced gateway support activities", is now available through the ACM:

http://portal.acm.org/citation.cfm?id=1838590&CFID=6079067&CFTOKEN=84307850

Tuesday, December 07, 2010

OGCE SciDAC2010 Tutorial

SciDAC 2010 tutorial slides.

OGCE TeraGrid 2010 ASTA Support

Presentation on advanced support activities by the IU Science Gateway Group at TeraGrid 10 (accepted presentation).

OGCE TeraGrid 2010 Science Gateway Tutorial Intro

Tutorial intro slides at TG10 in Pittsburgh, August 2-5, 2010

Building Science Gateways with Gadgets and OpenSocial

Check out this SlideShare Presentation:

Monday, December 06, 2010

Twitter, SlideShare

OGCE's Twitter feed is http://twitter.com/ogceproject.  We have many slide presentations at SlideShare: http://www.slideshare.net/marpierc/presentations.

Wednesday, November 17, 2010

OGCE's XBaya Running a GridChem Workflow

The movie shows the XBaya workflow composer creating and executing a computational chemistry workflow in the GridChem Science Gateway.

Wednesday, November 10, 2010

OGCE Demos and Presentations at SC10 in New Orleans

Please stop by and see us at SC10 November 15-18 in New Orleans at the following times and locations:
  • We have a mini-workshop Tuesday from 10:00 am - 12:00 noon at the IU booth.
  • Monday-Thursday at the IU Booth, we have walk-up demos on demand at the interactive touch screen kiosk.
  • Monday-Thursday at the Purdue Booth, we also have on demand demos.
  • Wednesday from 1:00-2:00 pm, we have on demand presentations and demos at the NCSA booth.

Tuesday, November 09, 2010

GCE10 Program Now Available

The GCE10 workshop program is now available from http://www.collab-ogce.org/gce10/index.php/Program.  GCE10 is being held Sunday, November 14th at SC10 in New Orleans.  Pre-prints and slides will be made available from the GCE10 web site.

Monday, August 30, 2010

GCE10 Deadline Extension

The new submission deadline for GCE10 papers is September 13th.  The call for papers is available from www.collab-ogce.org.

Sunday, August 01, 2010

TG10 Tutorial Agenda

Here is the agenda for the OGCE tutorial at TG10 on Monday, August 2nd.  Tutorial material will be available for download.

1:00-2:15  
  • Introduction
  • computational chemistry workflow demo
  • build demo
2:15-2:30: Break
2:30-5:00 
  • Hands on demo of OREChem workflow (using XBaya composer)
  • Hands data mining tutorial (using XRegistry and Experiment Builder gadgets)
  • Gadget container overview
Agenda is subject to improvisation based on audience interest and participation.

Thursday, July 15, 2010

Wednesday, June 30, 2010

GCE10 Workshop Accepted for Supercomputing 2010

The Gateway Computing Environments workshop (GCE10) has been accepted at SC10. The workshop will be held in room 387 in the New Orleans Convention center on Sunday, Nov 14th from 9-5:30.  More details coming soon. For previous proceedings of this series, please see http://www.collab-ogce.org/gce10/index.php/Main_Page.

Thursday, June 03, 2010

Condor jDRMAA Example

Notes on using the DRMAA java implementation to submit Condor Jobs.
The Condor jDRMAA implementation can be downloaded from their sourceforge page using svn

svn co https://condor-jdrmaa.svn.sourceforge.net/svnroot/condor-jdrmaa

and use ant to build the jar or alternatively download the jar from
http://sourceforge.net/projects/condor-jdrmaa/files/condor-jdrmaa/0.2/condor-drmaa-0.2.jar/download

Version 0.2 uses the condor command line clients to submit and manage jobs.
Hence you must make sure that the condor binaries are on path and CONDOR_CONFIG is set if your Condor config file is not in /etc/condor.

The notes here pertain to Condor 7.4.2 on Mac OS X but should work on any platform that supports Condor and Java.

140-182-140-134:0.3 archit$ condor_version
$CondorVersion: 7.4.2 Mar 29 2010 BuildID: 227044 $
$CondorPlatform: I386-OSX_10_4 $

Here is the Java Class I used to perform the Job Submission.
Note that it is in the package org.ogce.jobsub.api

To replicate my setup do
mkdir -p org/ogce/jobsub/api

Create org/ogce/jobsub/api/DRMAAJobSubmission.java with the following using your favorite editor.

package org.ogce.jobsub.api;

import java.util.ArrayList;

import java.util.LinkedList;

import java.util.List;

import java.util.Set;


import org.ggf.drmaa.*;


import net.sf.igs.*;


public class DRMAAJobSubmission {

public static void main(String[] args) {

Session session = null;

String jobPath = "/bin/echo";

session = SessionFactory.getFactory().getSession();

String jobId = null;

JobTemplate jt = null;

JobInfo status = null;

ArrayList argslist = new ArrayList();

argslist.add("Hello");

try {

System.out.println(session.getDrmSystem());

System.out.println(session.getContact());

System.out.println(session.getDrmaaImplementation());


session.init("localhost");

jt = session.createJobTemplate();

jt.setRemoteCommand(jobPath);

jt.setWorkingDirectory("/tmp");

jt.setJoinFiles(true);

jt.setOutputPath("/tmp/hello.out" );

jt.setArgs(argslist);

jt.setTransferFiles(new FileTransferMode(false, false, false));

} catch (DrmaaException e) {

e.printStackTrace();

}

try {

jobId = session.runJob(jt);

status = session.wait(jobId, Session.DONE);

if (status.wasAborted()) {

System.out.println("job " + jobId + " never ran");

} else if (status.hasExited ())

{

System.out.println("job " + jobId +

"finished successfully with Exit Status "

+ status.getExitStatus());

} else if (status.hasSignaled ())

{

System.out.println("job " + jobId + " finished due to signal" +

status.getTerminatingSignal ());

} else

{

System.out.println("job " + jobId +

" finished with unclear conditions");

}


} catch (DrmaaException e) {

System.out.println("Internal Exception: " + e.getMessage());

e.printStackTrace();

}

catch (org.ggf.drmaa.InternalException ie)

{

System.out.println("Internal Exception: " + ie.getMessage());

ie.printStackTrace();

}


}


}


To Compile the file use

javac -cp ./condor-drmaa-0.2.jar org/ogce/jobsub/api/DRMAAJobSubmission.java

and to submit the echo job do
java -cp ./condor-drmaa-0.2.jar:. org.ogce.jobsub.api.DRMAAJobSubmission

This assumes you have the condor-drmaa jar in the current folder.
You should see something like

Condor


Condor

job 25.0 finished successfully with Exit Status 0


Session.init("localhost") call is used to initiate the Condor DRM adaptor and tell it to connect to the scheduler running locally.
The JobTemplate class is used to create the job description which gets translated into a condor submit file which is used as an argument to condor_submit.
The Session class has a number of static members that are used to indicate Job Status. The JobInfo class returned by Session.wait is used to retrieve the current status of the job after it has been submitted using the session.runJob method. Session.wait takes as its second argument the time until which the call must block. In this case the call blacks until the job Completes as indicated by Session.DONE.

In Order to specify job attributes not supported by the Getters and Setters we can use the setNativeSpecification method of the JobTemplate class.
So In order to submit a Condor-G job all we need to do is add the line

jt.setNativeSpecification("Universe=Grid \n globusscheduler=qb1.loni.org/jobmanager");

before submitting the job.

Please note that the attributes must be separated by a new line (\n) character so that the submit file is generated correctly. Also it must be noted that jDRMAA sets the Universe to Vanilla by default, but since the Native Specification is written in the submit file after the Universe=Vanilla line, it can be used to override the Universe setting.

Tuesday, May 18, 2010

Gadget Container, Registry, and Experiment Builder Movie Links

The links below show movie tutorials for the OGCE Gadget Container and two major new gadgets in the "ogce-all" release described in the previous post. 




Wednesday, May 12, 2010

OGCE "All" Release Candidate

An initial release candidate of the next generation of the OGCE software stack is now available.  The download is available by anonymous SVN checkout using the command.

svn co  https://ogce.svn.sourceforge.net/svnroot/ogce/ogce-all-rc1

This is a preview release that will need to undergo additional acceptance testing, but it is stable for early users.  Future updates can be obtained using the usual "svn update" command, and the release can be modularly rebuilt.

This download integrates several software components:

  1. The OGCE Gadget Container: an iGoogle-style portal container for science gateways.
  2. Experiment Builder and XRegistry gadgets for interfacing with the OGCE GFAC and XRegistry services and the XBaya workflow composer
  3. XRegistery and GFAC services for registering, launching, monitoring, and sharing application services and workflows.
  4. A collection of third party gadgets.
Everything can be built with a single command: mvn clean install.  Maven profiles also allow you to build subcomponents: 
  1. mvn clean install -Dservices-only builds only GFAC and XBaya.  These services can run on separate servers from the gadget container, and you can run more than one instance of these services.
  2. mvn clean install -Dgadget-container builds just the gadget container.
  3. mvn clean install -Dgadgets-and-clients builds the gadget container, registry gadget, and experiment builder gadget.


Wednesday, April 28, 2010

Updated TeraGrid CA Files

(Reposting from general TeraGrid mailing lists)

Changes have been made to the list of Teragrid recognized Certificate Authorities.

The new CA tarball, v1.10, can be found on repo. This tarball adds the new PSC MyProxy CA, with hash value 4b2783ac. You can obtain a copy of the tarball and signatures file from the software WG site at:
http://software.teragrid.org/security/teragrid-certs.tar.gz
http://software.teragrid.org/security/teragrid-certs.tar.gz.asc

Please incorporate the new list as specified (RPs, Science Gateways and users within 24 hours)

Monday, April 26, 2010

New OGCE Discussion List, Google Group

We have created a new, open group for OGCE discussion questions and announcements.  The group URL is http://groups.google.com/group/ogce-discuss, and the group email address is ogce-discuss@googlegroups.com. This email address replaces the older discuss@ogce.org mailing list.

You are welcome to join, and we also allow anonymous viewing and moderated posts by group non-members.  Only project managers can see the member list.

The project RSS feed is http://groups.google.com/group/ogce-discuss/feed/rss_v2_0_msgs.xml.