This page is old; please merge its content into the Wiki and delete it!

Using GC3Utils (gc3pie) on ocikbgtw

We want you to launch GAMESS jobs to lots of different resources (clusters & grids) from a single login point, ocikbgtw.uzh.ch. To make this easier, we created the GC3Utils suite of commands.

The official documentation for the utilities is here: http://code.google.com/p/gc3pie/wiki/GC3Utils

This page is for site-specific information that does not belong on the public wiki.


Setting up your ssh keys

Ssh-keys are needed to allow our utilities to access your accounts on different clusters without a password. If you already have this set up, you can skip this step. The main idea is that your username can passwordlessly ssh to other hosts from ocikbgtw.

If you don't already have this working, do this:

Once you login, just run:

addkeys.sh

It will cycle through the hosts, asking your username for each, and asking for your password for each. This is what you should see:

$ addkeys.sh
Enter your username on ocikbnor.uzh.ch, or just hit enter to accept
the default: mpackard): mpackard
ADDED key to ocikbnor.uzh.ch

Enter your username on idesl2.uzh.ch, or just hit enter to accept the
default: mpackard): mpackard
ADDED key to idesl2.uzh.ch

...

Once that is done, run:

testconnect.sh

It will also ask for your username on each cluster, but try to connect with no password. This is what you want to see:

$ testconnect.sh
Enter your username on ocikbnor.uzh.ch, or just hit enter to accept
the default: mpackard): mpackard
OK_TEST_CONNECT to ocikbnor.uzh.ch

Enter your username on idesl2.uzh.ch, or just hit enter to accept the
default: mpackard): mpackard
OK_TEST_CONNECT to idesl2.uzh.ch

...

To remove your keys from the remove hosts, use the removekeys.sh script.


Set up your ~/.gc3/gc3utils.conf file

In general you can use the global gc3utils configuration file (/etc/gc3/gc3utils.conf). However, you will want to customize, especially with regards to your usernames on the various resources.

Using GC3pie suite

Please follow instructions on the GC3pie website: http://code.google.com/p/gc3pie/wiki/GC3Utils?tm=6

top