Cernlib: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 30: Line 30:


  ln -s /usr/include/freetype2/freetype src/include/
  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'; change '-L/apps/cernlib/2005/src/lib' to '-L/apps/cernlib/2005/lib'; cp pawX11 /apps/cernlib/2005/bin/;
* pawX11 does not build; ''cd /apps/cernlib/2005/build/pawlib/paw/programs'' and type 'make'; change '-L/apps/cernlib/2005/src/lib' to '-L/apps/cernlib/2005/lib'; cp pawX11 /apps/cernlib/2005/bin/;

Revision as of 10:52, 23 December 2015

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.2014.04.17.tgz
cernlib.2005.install.2014.04.17.tgz

Unpack cernlib-2005-all-new.tgz.

Rename cernlib.2005.corr.2014.04.17.tgz to cernlib.2005.corr.tgz.

Unpack cernlib.2005.install.2014.04.17.tgz.

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'; change '-L/apps/cernlib/2005/src/lib' to '-L/apps/cernlib/2005/lib'; cp pawX11 /apps/cernlib/2005/bin/;