D0 software on Linux/RedHat system(s) HOWTO. | ||||||
Definitions: for simplicity I will use the following notaions: |
|
|||||
|
|
|||||
Release installation: 1) Setup upd/ups setup upd; setup ups 2) Download and setup proper packages upd list -aK+ package upd install -f Linux+2 package version -G "-c" setup package 3) Download and setup D0 release upd install -h www-d0 -q dist D0RunII t00.xx.00 ups declare D0RunII t00.xx.00 -z /d0dist/dist/upsdb -m D0RunII -f NULL -r /d0dist/dist/release/t00.xx.00 The rest is simple. alias gmake 'make LDFLAGS+="-Bstatic"' gmake all Comment: current release still have problem of building dependencies and invoking gmake all produce a lot of warning(s)/error(s) messages, you can ignore them or pre-build required packages. You can also use CVS to download and update any of your packages The command cd package; cvs -n up . will tell you if you need to update this package. |
|
|||||
KCC 3.3f and RedHat 6.x There is a way to build D0software using KCC 3.3f and RH6 system. Since KCC 3.3f was built for RH5 system its libraries rely on RH5 libc5 ones. Particular example, the (IO_stdout, IO_stdin, IO_stderr) system calls are undefined inside of KCC libraries and provided by static and/or dynamic libc5 libraries. Due to this uncompatibilities you cannot use straigtforward KCC 3.3f on your RH6 box. Solution is the following: you need to copy a static libraries (libc5) to your RH6, store them somewhere and build your executable versus these libraries, like: > gmake LDFLAGS+="-Bstatic -L/path_to_libc5" package But there is a problem here, you cannot access environment variables, call getenv("HOME") doesn't work. The only way to avoid this problem is specify explicitly the environment variable. This problem occurs due to mismatching of RH6 and libc5. |
|
|||||
KCC 3.3g and RedHat 6.x This version of KAI C++ compiler is based on new glibc system and you can use it on any Linux based on glibc. Installation on RH6 is straightforward. Download a new release and installed with > gmake LDFLAGS+="-Bstatic" all There is a problem with dynamic executables which is under investigation now. The option -Bstatic will allow you to build a static executable. |
||||||
D0 graphics and RedHat 6.x There are two different graphics projects under way in D0 collaboration. One of them is using OpenInventor and another based on Motif interaces. (Installation description is coming soon). |
|
For comparison I've used my node (d0lxucr02) which is equipped with
2CPU/PIII-550 Mhz and 512 of RAM, LVD-SCSI3 disks and central
cluster machine d0mino. Time was produced by time program,
invoking time D0reco_x -rcp runD0reco.rcp |
|
Usefull links |