Cernlib: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
cernlib-2005-all-new.tgz | cernlib-2005-all-new.tgz | ||
cernlib.2005.corr. | cernlib.2005.corr.2020.12.11.tgz | ||
cernlib.2005.install. | cernlib.2005.install.2020.12.11.tgz | ||
gtar -zxf cernlib-2005-all-new.tgz | |||
rm cernlib.2005.corr.tgz | |||
mv cernlib.2005.corr.2020.12.11.tgz cernlib.2005.corr.tgz | |||
gtar -zxf cernlib.2005.install.2020.12.11.tgz | |||
Unalias 'mv', 'cp' and 'rm' !!! | Unalias 'mv', 'cp' and 'rm' !!! | ||
./Install_cernlib | |||
###./Install_cernlib_and_lapack. If something did not compile, goto '2005/build' and type 'make', fix problems. | |||
Revision as of 08:56, 14 September 2021
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.2020.12.11.tgz cernlib.2005.install.2020.12.11.tgz
gtar -zxf cernlib-2005-all-new.tgz
rm cernlib.2005.corr.tgz
mv cernlib.2005.corr.2020.12.11.tgz cernlib.2005.corr.tgz
gtar -zxf cernlib.2005.install.2020.12.11.tgz
Unalias 'mv', 'cp' and 'rm' !!!
./Install_cernlib
- ./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/;