$VDT_LOCATION/expat/lib and $VDT_LOCATION/lib32addon/expat/lib that contain the 64 and 32 bit versions of the expat libraries. This happens if Athena setup is executed after the Grid (wlcg-client or wn-client) setup (that includes those paths in LD_LIBRARY_PATH). Normally (e.g. in Panda pilots and Pathena) ATLAS setup is executed last, after all Grid setups.
This causes the LFC commands (requiring the expat library) to fail. It was affecting jobs using TAGs or back-navigation and showing as a security error in LFC commands.
ATLAS-OSG-compat included in ATLAS-wn from v0.14 on fixes this problem and is also a placeholder for future compatibility fixes.
Both wlcg-client (from v1.0) and ATLAS-wn (from v0.14) solve the issue with the following workaround performed during the Pacman installation: atlasosgcompat directory atlasosgcompat/keepexpat/lib and atlasosgcompat/keepexpat32/lib
This workaround allows not to worry about the order of execution of the setup files.
This has been tested successfully with grid commands, DQ2 commands and Athena jobs.
Alternative solutions could be: python
wn-client
wlcg-client or wn-client, to run in a cluster with some 32bit nodes and some 64bit nodes
export VDT_PRETEND_32=1
wn-client)
wn-client Pacman cache (it could be a different one but you'd have to add it to the default environment). The Python delivered is Python 2.6 (C API 1013 supported by _lfc.so) and it is compiled on a SL5.5 32 bit.
rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpmInstall python26:
yum install python26Change the DQ2Clients package to use python26. Installing python26 from EPEL will not make it your default Python. DQ2Clients uses the default python in your environment (
/usr/bin/env python).
In order to have DQ2Clients using it you have at least these 2 options: atlasosgcompat/bin part of both the ATLAS-wn and the wlcg-client packages is added to the PATH when the setup file for ATLAS-wn or wlcg-client is sourced.
Link atlasosgcompat/bin/python to pythonloader, so that it will become the default python in the users PATH once they source the ATLAS-wn or wlcg-client setup:
ln -s $VDT_LOCATION/atlasosgcompat/bin/pythonloader $VDT_LOCATION/atlasosgcompat/bin/pythonThis script checks your current python, the one on top of the PATH. If you have already python>= 2.5 does nothing and uses that one to run your python script. If not, it checks in possible places where python 2.5 or greater could be (all the python or python26 executables in the path) and uses the first one it encounters (instead of the one on top of the PATH) to run your python script. You don't choose exactly which version to run, id depends on the PATH content and order. This solution is the least invasive. It is not changing external packages and it is not replacing your custom python that may have been added to the PATH (e.g. by Athena setup).
atlasosgcompat/bin part of both the ATLAS-wn and the wlcg-client packages is added to the PATH when the setup file for ATLAS-wn or wlcg-client is sourced.
Adding a link named python will hide/replace the system python, e.g. for ATLAS-wn: cd /osg/app/atlas_app/atlaswn/atlasosgcompat/bin ln -s /usr/bin/python26 pythonand for wlcg-client:
source /share/wlcg-client/setup.sh ln -s /usr/bin/python26 $VDT_LOCATION/atlasosgcompat/bin/pythonThis solution is not changing packages different from ATLAS-OSG-compat but it will change the default python once the setup file is sourced and DQ2Clients my end up using a different python if the PATH is changed afterwards (this is not a problem as long as it is any Python 2.5/6 32bit or 64bit).
/usr/bin/env python and the default system python in the path is python 2.4 (RHEL5 based OS). To change them to use python26 do the equivalent of:cd /osg/app/atlas_app/atlaswn/DQ2Clients/opt/dq2/bin/ for i in * ; do sed -i "1s|#!/usr/bin/env python|#!/usr/bin/python26|" $i; doneThis solution is changing an external package (DQ2Clients not developed by us) and needs to be reapplied each time that package is updated/installed, but it will not change the default python and DQ2Clients my always use /usr/bin/python26.
Python32bit26 if you have a 32 bit OS (can work also on 64 bit OS if you need it for a test)
Python64bit26 if you have a 64 bit OS and prefer 64 bit python (recommended for 64 bit OS)
pacman -get http://www.mwt2.org/caches/:Python64bit26Note, you will have to do it in both the directory of ATLAS-wn and the one of wlcg-client if you have both. This will add python 2.6 as default python once the setup file is sourced, so it is equivalent to the solution adding python26 to the PATH: it is not changing DQ2Clients package but it will change the default python once the setup file is sourced and DQ2Clients my end up using a different python if the PATH is changed afterwards (this is not a problem as long as it is any Python 2.5/6 32bit or 64bit).
voms-proxy-info to check users credentials.
The exit code of "voms-proxy-info -e" has to be 0 in order to pass the test.
Historically "voms-proxy-info -e" changed its default behavior between updates. The current one requires cryptographic verification of the issuer of the certificate extensions. This is not a control necessary in a client forwarding the certificate. The old behavior can be obtained setting VOMS_PROXY_INFO_DONT_VERIFY_AC to 'true'. This is done for you in wlcg-client (in the setup).
The same is done in ATLAS-wn (again in the setup).
This behavior is different from the default VDT installation (OSG-Client or wn-client).
There are 3 other alternatives to have a successful proxy verification: voms-proxy-info --all --dont-verify-ac)
vdt-release.
Date: Tue, 27 Apr 2010 18:31:16 -0500 (CDT) From: Marco MambelliTo: usatlas-grid-l@lists.bnl.gov, hn-Tier3Support@bnl.gov Cc: "Rik Yoshida (ANL)" , Doug Benjamin , Asoka De Silva , Rob Gardner Subject: wlcg-client 1.6 released Dear all, WLCG-Client 1.6 is available. It includes the new EDG-GridFTP-Client and gLite-FTS-Client. wlcg-client had a name change to avoid confusion with pre 1.4 versions: * wlcg-client 1.6 is back to be the full client with all the job submission tools (1.1 GB). * wlcg-client-lite 1.6 is the smaller client sufficient to use with DQ2 clients and Panda, to use on Tier 3 (about 340MB, without CondorG, WS-GRAM and other packages). Both are based on the latest VDT 2.0 and OSG 1.2. For a list of all supported platforms see: http://vdt.cs.wisc.edu/vdt/releases/2.0.0/requirements.html Installation instructions are on the usatlas twiki: http://www.usatlas.bnl.gov/twiki/bin/view/Admins/WlcgClient pacman -get http://www.mwt2.org/caches/:wlcg-client or pacman -get http://www.mwt2.org/caches/:wlcg-client-lite Thank you for any feedback about the package or the documentation. The update is recommended for all installations (new and existing). There are some bug fixes and EDG-GridFTP-Client and gLite-FTS-Client (required by "DQ2 on steroids") have been added. You should install: * wlcg-client-lite : if you will only use DQ2 clients and pathena/prun. * wlcg-client : if you want a complete user client (includes everything in wlcg-client-lite and more. It is a superset of OSG client, customized for ATLAS) Best regards, Marco Mambelli
Please note that this site is a content mirror of the BNL US ATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your US ATLAS computing account name and password.