[Clas_offline] CentOS 6.2 (test) build

Will Phelps wphelps at jlab.org
Thu Dec 20 16:05:04 EST 2012


Hello everyone,
After spending quite some time getting rid of build errors with Johann, I have built the clas6 trunk on CentOS 6.2 (64bit build on the hostname:   ifarm12s01  ). And it is need of quick, thorough, or any kind of testing. We do not have significant resources to do said tests and are relying on the users for this. Thank you.

It is located here: 
/group/clas/builds/production



Setting up environment is this one-liner:
    source /group/clas/env.sh
or if you are in t/csh:
    source /group/clas/env.csh

Once done, you should have executables like gsim_bat and a1c and user_ana available. type "which user_ana" to make sure you are pointing to the right one. For example:

which user_ana
/u/group/clas/builds/2012.12.20_10.42/bin/user_ana




Manual Instructions:
You can add this to your path:

setenv PATH /group/clas/builds/production/bin:$PATH

And you can use the include and lib directories for building other software:

CLAS6INC /group/clas/builds/production/include
CLAS6LIB /group/clas/builds/production/lib

look at the file /group/clas/env.sh for other directories like gcc and cernlib



Concluding notes:
The dynamic library path for .so files is embedded into the executables now so you should unset any LD_LIBRARY_PATH directory that may conflict:

unset LD_LIBRARY_PATH




-Will & Johann





More information about the Clas_offline mailing list