Message: Re: GEANT4 installation on SL4 64 bit Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: GEANT4 installation on SL4 64 bit 

Forum: Installation and Configuration
Re: Question GEANT4 installation on SL4 64 bit (Emanuele Leonardi)
Date: 15 Oct, 2008
From: Ben Morgan <Ben Morgan>

Hi Emanuele,

It depends how automatic you want it to be! My current way around this still involves an edit of Linux-g++.gmk, but uses uname to detect i*86 vs x86_64.

The first step is a new variable ARCH, which should be '64' on x86_64 and null otherwise:

   FCLIBS := -lg2c -lnsl
   ECHO    := /bin/echo -e
   SHEXT   := so
   ARCH := $(shell uname -m | cut -s -d "_" -f 2)

You can then use this to append to the lib path as follows, e.g.

    X11LIBS   := -L/usr/X11R6/lib$(ARCH)  -lXmu -lXt -lXext -lX11 -lSM -lICE

and similarly for any other paths that use the lib/lib64 division.

Not sure if that's what you want by automatic though. This could be patched into the distribution, but others would need to comment on that!



 Add Message Add Message
to: "Re: GEANT4 installation on SL4 64 bit"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]