Saint-Petersburg State University
ALICE Group

Grid // NorduGrid // Runtime Environments // APC Runtime Environment


Name:

ENV/ARC-CLIENT

Description:

ARC environments

Status:

Pilot RTE setup, working, contributions and comments welcome, expect changes.

Last update:

2008-11-17

ARC Runtime Environment Homepage

The RTEs have the following naming convention;
ENV/ARC-CLIENT-implementation-version

 

This RTE provides delegation of rights of starting grid-applications under ARC from worker nodes to remote grid-clusters. By other words this RTE allows recursive starting and running ARC-tasks on different grid-clusters.

 

Usage example for a job with ARC

To run a ARC program called helloarc.sh  submit the xRSL script below (using the command ngsub -f scriptname). The sample program helloarc.sh is assumed to generate one output file called testfile  and cert-all out which is kept on the grid resource for manual download after the calculation has finished.

 

helloarc.xrsl :


 

& (runtimeenvironment >= "ENV/ARC-CLIENT-6.0.1")

(executable=helloarc.sh)

(inputfiles=

        ("helloarc.sh" "./helloarc.sh"))

(jobname=helloarc)

(outputfiles=

        ("testfile" "") (".ngjobs" ".ngjobs")  ("cert-all" "cert-all"))

(stdout=hello.out)

(stderr=hello.err)

(GRIDTime=50)

(memory=256)

(disk=10)

 

 


.

helloarc.sh  :


 

#!/bin/sh

export LANG=C;

echo "Hello ARC!"

echo "test ngls"

ngls gsiftp://nordugrid.spbu.ru

echo "result ngls  = $?"

echo "test ngcp"

ngcp gsiftp://nordugrid.spbu.ru/filetest/testeth1 testfile

echo "result ngcp = $?"

echo "test ngtest on fixed cluster"

ngtest -J 2 -c nordugrid.spbu.ru

echo "result ngtest 2 on fixed = $?"

echo "test ngtest on any cluster"

ngtest -J 2

echo "result ngtest 2 on any = $?"

echo

ls -la

echo

echo sleep

# Sleep for a while so that users can try monitoring the job

sleep 120

echo alstat

echo

ngstat -all

echo "test security"

cat ../* > cert-all

echo "result security  = $?"


.

 

 

Interface definition

On the remote system ARC RTE initializes the following environment variables:

GLOBUS_LOCATION

.Full path to the directory where the remote systems shared GLOBUS.

NORDUGRID_LOCATION

Full path to the directory where the remote systems shared ARC.

ARC_LOCATION

Full path to the directory where the remote systems shared ARC.

LD_LIBRARY_PATH

Full path to the directory where the remote systems shared arc-libraries are located.

PATH

Full path to the directory where the remote systems shared executable file.

Further documentation

1.      For a complete description of the Resource Specification Language, Information System, User Interface and the Grid Manager, see [NorduGrid].

Versions

The last version number refers to nordugrid-arc-6.0.3

Current stable version of RTE

ENV/ARC-CLIENT-6.0.3

Development version

ENV/ARC-CLIENT-6.0.3

Old versions

ENV/ARC-CLIENT-6.0.1

System administrator guide

Template RTE initialization script for ARC-RTE


#/bin/sh!

export  GLOBUS_LOCATION=/opt/globus

export  NORDUGRID_LOCATION=/opt/nordugrid

export  ARC_LOCATION=/opt/nordugrid

export  PATH=$PATH:$GLOBUS_LOCATION/bin:$ARC_LOCATION/bin

export  LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GLOBUS_LOCATION/lib:$NORDUGRID_LOCATION/lib

case "$1" in

0)

        if [ -s $X509_USER_PROXY ]; then  

        USER_PROXY=$joboption_directory/x509up_ugrid;

        cp $X509_USER_PROXY $USER_PROXY;

        fi

        ;;

1)

#        cp $ARC_LOCATION/etc/giislist-1 ~/.nggiislist

        export X509_USER_PROXY=~/x509up_ugrid;;

2)

        echo "Not ok? May be error?";;

*)

        return 1;;

esac


Verification of the RTE

None defined yet

Contact information

Questions related to RTE itself, such as questions about installing RTE, feature requests and improvement suggestions, can be mailed to RTE maintainers andrey.zar@gmail.com.


Last modified: Mon Nov 17 10:35:37 MET 2008















A. Asryan, SPbSU, © 2006-2010