Friday, August 7, 2009

Building GFAL

OK, it's time to build this package. The selected platform is SCL5 (Scientific Linux @ CERN 5), because the world will soon move to this platform, and there are some problems there.

The build is done by using ETICS that is a special software configuraion management system funded by the European Commission, CERN, etc. The steps what I did were (ETICS has already been installed):

mkdir GFAL
cd GFAL
etics-workspace-setup
etics-checkout --ignorelocking --continueonerror --project-config glite_branch_3_2_0_dev org.glite.data
etics-build --continueonerror org.glite.data

GFAL is the (empty) project directory, I will refer to it as $WORKSPACE. This series of commands builds the whole org.glite.data suite.

Great, the suite build was successfull, let's see the GFAL build. The best if we start working under e-env:

cd $WORKSPACE
org.glite.data/bin/e-env

Then:

cd
$WORKSPACE/org.glite.data.gfal/build
make install

We should have a couple of executables with names gfal_test*. Let's execute the tests. During the tests, I had a valid proxy credential in the LCG Deployment Team Virtual Organization (dteam).

./gfal_version

Returned:

GFAL-client-1.11.8-1

touch a;
./gfal_teststat a

Returned:

stat successful
mode = 100644
nlink = 1
uid = 1000
gid = 1000
size = 0

COOL! And then the other test commands.

No comments:

Post a Comment