Cernlib

From CLONWiki
Revision as of 22:14, 13 September 2021 by Boiarino (talk | contribs)
Jump to navigation Jump to search

CERNLIB 2005

Make sure you have 'imake' installed, if not do

yum install imake

Get following files from /usr/downloads or from https://www-zeuthen.desy.de/linear_collider/cernlib/new/cernlib_2005.html

cernlib-2005-all-new.tgz
cernlib.2005.corr.2019.01.21.tgz
cernlib.2005.install.2019.01.21.tgz


Unpack cernlib-2005-all-new.tgz.

Rename cernlib.2005.corr.2019.01.21.tgz to cernlib.2005.corr.tgz.

Unpack cernlib.2005.install.2019.01.21.tgz.

Unalias 'mv', 'cp' and 'rm' !!!

Run ./Install_cernlib_and_lapack. If something did not compile, goto '2005/build' and type 'make', fix problems.


KNOWN PROBLEMS:

  • on RHEL6 add into 2005/src/pawlib/paw/cpaw/bugrep.c file following:
#define L_cuserid 9
  • on RHEL6 goto $CERN_ROOT and do following (workaround freetype/freetype2 problem):
ln -s /usr/include/freetype2/freetype src/include/
  • cd $CERN_ROOT/lib and type
ln -s liblapack3.a liblapack.a
  • pawX11 does not build; cd /apps/cernlib/2005/build/pawlib/paw/programs and type 'make'; copypaste line 'gfortran ...', change

'-L/apps/cernlib/2005/src/lib' to '-L/apps/cernlib/2005/lib' and run it; cp pawX11 /apps/cernlib/2005/bin/;