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 26: Line 26:
KNOWN PROBLEMS:
KNOWN PROBLEMS:


* on older (RHEL6) linux'es: add into ''2005/src/pawlib/paw/cpaw/bugrep.c'' file following:
* on RHEL6 add into ''2005/src/pawlib/paw/cpaw/bugrep.c'' file following:


  #define L_cuserid 9
  #define L_cuserid 9


* on RHEL6 goto $CERN_ROOT and do following:
* on RHEL6 goto $CERN_ROOT and do following (workaround freetype/freetype2 problem):


  ln -s /usr/include/freetype2/freetype src/include/
  ln -s /usr/include/freetype2/freetype src/include/


* 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:28, 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. If something did not compile, goto '2005/build' and type 'make', fix problems.

Run ./Install_lapack.


OR: ./Install_cernlib_and_lapack (???)

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/
  • 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/;