DIRACGrid / DIRAC

DIRAC Grid
http://diracgrid.org
GNU General Public License v3.0
113 stars 176 forks source link

dirac-install: missing lcg-bundles: Fail or Fallback to compilation #2194

Closed andresailer closed 9 years ago

andresailer commented 9 years ago

Hi,

Bug report feature request from one of our ilcdirac users:

Trying to install a new version of ilcdirac via dirac-install -V ILCDIRAC resulted in the following set of messages. Trying to install on ScientificLinux 5 (gcc 4.1, glibc2.5) at KEK-CC.

2014-12-03 10:55:59 UTC dirac-install [NOTICE]  Installing client externals...
2014-12-03 10:56:00 UTC dirac-install [NOTICE]  Using cached copy of Externals-client-v6r1-Linux_x86_64_glibc-2.5-python27.tar.gz
2014-12-03 10:56:00 UTC dirac-install [NOTICE]  Using cached copy of Externals-client-v6r1-Linux_x86_64_glibc-2.5-python27.md5
2014-12-03 10:56:02 UTC dirac-install [NOTICE]  Fixing externals paths...
2014-12-03 10:56:02 UTC dirac-install [NOTICE]  Running externals post install...
2014-12-03 10:56:02 UTC dirac-install [NOTICE]  Retrieving http://lhcbproject.web.cern.ch/lhcbproject/dist/DIRAC3/installSource/../lcgBundles/DIRAC-lcg-2014-11-18-Linux_x86_64_glibc-2.5-python27.tar.gz
2014-12-03 10:56:02 UTC dirac-install [ERROR] http://lhcbproject.web.cern.ch/lhcbproject/dist/DIRAC3/installSource/../lcgBundles/DIRAC-lcg-2014-11-18-Linux_x86_64_glibc-2.5-python27.tar.gz does not exist
2014-12-03 10:56:02 UTC dirac-install [ERROR] Cannot download DIRAC-lcg-2014-11-18-Linux_x86_64_glibc-2.5-python27.tar.gz
2014-12-03 10:56:02 UTC dirac-install [ERROR] Check that there is a release for your platform: DIRAC-lcg-2014-11-18-Linux_x86_64_glibc-2.5-python27
2014-12-03 10:56:02 UTC dirac-install [NOTICE]  Creating /gpfs/home/ilc/jstrube/public/DIRAC/bashrc
2014-12-03 10:56:02 UTC dirac-install [NOTICE]  Creating /gpfs/home/ilc/jstrube/public/DIRAC/cshrc
2014-12-03 10:56:02 UTC dirac-install [NOTICE]  Defaults written to defaults-ILCDIRAC.cfg
2014-12-03 10:56:02 UTC dirac-install [NOTICE]  Executing /gpfs/home/ilc/jstrube/public/DIRAC/scripts/dirac-externals-requirements...
2014-12-03 10:56:04 UTC dirac-install [NOTICE]  ILCDIRAC properly installed

The last message indicates success, in spite of the ERROR of not finding the right set of libraries to download. This error was not recovered from. Instead of stating success (ILCDIRAC properly installed) maybe dirac-install should clearly state (again) that something went wrong.

Also, in cases where lcg-bundles do no exist for given architecture, maybe a comilation of the lcg bundles can be attempted?

atsareg commented 9 years ago
  1. The lcg-bundles are not considered to be mandatory. Nearly everything can be done without them, consider using the StorageElementProxy and FileCatalogProxy services for grid SEs and FCs. Although the efficiency will be worse of course, but this is not considered as fatal for the client installation.
  2. lcg-bundles are not compiled from sources when prepared. It is not possible to compile them locally.
andresailer commented 9 years ago
  1. Is there more information about the SEProxy and FCProxy beyond this: https://github.com/DIRACGrid/DIRAC/wiki/Dirac-v6r7 and this http://diracgrid.org/files/docs/AdministratorGuide/Configuration/ConfReference/Systems/DataManagement/Services/StorageElementProxy/index.html ? Especially for the configuration of the FCProxy do I need to install some service or is that automatic when "UseProxy = True"?
  2. What does "dirac-install -b" do then? Supposedly this fixed the "error" for our user.
sposs commented 9 years ago

On 2: dirac-install -b compiles the Externals, not the bundle.