Libraries |
CERNLIB Physics LibraryThe CERN Program Library is a large collection of general purpose programs maintained and offered in both source and object code form on the CERN central computers. Most of these programs were developed at CERN and are therefore oriented towards the needs of a physics research laboratory. The library is provided as is and has not been extensively tested. Problems should be reported to the NERSC consulting staff. Those who are seeking general mathematical subroutines are strongly encouraged to instead use NERSC-provided mathematical libraries. The material in CERNLIB should only be relied upon for its unique physics content. How to use CERNLIB% module load cernlib % xlf -I$INC -L$CERNLIB -llibname ... % cc -I$INC -L$CERNLIB -llibname ... where libname is a name of a CERNLIB component, e.g., kernlib, packlib, geant, etc. On Franklin and Jacquard, CERNLIB was build using GCC. To link against object code build with other compilers link with the g2c libary, e.g.: -lg2c. DocumentationCERN maintains a CERN Program Library Web page. The Documentation link there provides access to HTML and PostScript forms of the manuals for each of the major parts of CERNLIB, and to short writeups of each subroutine. |
![]() |
Page last modified: Fri, 29 Feb 2008 19:30:50 GMT Page URL: http://www.nersc.gov/nusers/resources/software/libs/physics/ Web contact: webmaster@nersc.gov Computing questions: consult@nersc.gov Privacy and Security Notice |
![]() |