Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230716 - Keyword sci-physics/geant-4.9.1_p02
Summary: Keyword sci-physics/geant-4.9.1_p02
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on: 231962
Blocks:
  Show dependency tree
 
Reported: 2008-07-04 10:50 UTC by Sébastien Fabbro (RETIRED)
Modified: 2008-09-23 11:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Fabbro (RETIRED) gentoo-dev 2008-07-04 10:50:51 UTC
Please keyword geant-4. I'm planning to add geant4 support to sci-physics/root.
Thanks.
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-07-10 12:49:33 UTC
sparc stable
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-07-10 12:51:34 UTC
I didn't mean stable and this needs a lot of keywords as well :P Will check later
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-15 04:27:38 UTC
Marked ~hppa. Shame about the missing support for a test suite...
Comment 4 Ferris McCormick (RETIRED) gentoo-dev 2008-07-15 17:28:58 UTC
Added ~sparc for testing, everything seems OK.  That said, please note:
1.  This also requires keywords for:
  sci-physics/clhep-2.0.3.3
  sci-physics/paw-2.14.04-r2
  sci-physics/geant-3.21.14-r2
  media-gfx/dawn-3.88a

2.  On my system, it also requires a package.use.mask for openinventor because openinventor will not build (apparently include file problems).

3.  It's really to bad that with USE=examples this package does not actually build the examples; only installs source.  It seems to be impossible to build them from the GNUmakefile provided (without further instructions which are not provided so far as I can find).
  
I'm leaving this open for comment, because I'm curious why USE=examples does not build the examples.  (Or at least explain how to get it done.  It looks like that's a matter of setting up a lot of environment variables, such as in
make G4INSTALL=/usr/share/geant4 G4SYSTEM=Linux-g++
but there are clearly a lot more of them, and the examples do not build easily in the /var/tmp/portage/sci-portage build directory, either.)
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2008-07-16 09:26:37 UTC
Hi Ferris,

Thanks for clear review of the testing.
Could you file a bug for openinventor with your failure?

USE=examples should not build anything since it is not required for a working package.

I'm cc-ing he original ebuild author (see bug #212221), who I'm also including a test he sent me on a priv. email:

# mkdir ~/geant4
# cp -r /usr/share/doc/geant-4*/examples ~/geant4
# cd ~geant4/examples/advanced/cosmicray_charging
# make

and now for a fancy and useless picture (and seeing $G4WORKDIR break)

# G4LEDATA=$G4DATA/G4EMLOW5.1/ $G4WORKDIR/bin/$G4SYSTEM/CRCharging init.mac

or for some calculations (with a suprisingly condensed output to run00_*)

# G4LEVELGAMMADATA=$G4DATA/PhotonEvaporation2.0 G4LEDATA=$G4DATA/G4EMLOW5.1/ ~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac

The .mac files are Geant4 macros for one of their interpreters;
init.mac has other output drivers in comments you could activate if
you really wanted to go into the matter.
Comment 6 Ferris McCormick (RETIRED) gentoo-dev 2008-07-16 13:39:56 UTC
Bug filed for openinventor and cross-referenced here.  I don't know if the little band-aid I used to get openinventor to build makes it good for geant; I'll verify as time permits.
Comment 7 Benjamin Bannier 2008-07-16 19:47:58 UTC
Hi,

(In reply to comment #5)

more up to date (now that we fixed the environment variables) instruction how to build+run e.g. this example would be

> # mkdir ~/geant4
> # cp -r /usr/share/doc/geant-4*/examples ~/geant4
> # cd ~geant4/examples/advanced/cosmicray_charging
> # make
> 
> and now for a fancy and useless picture (and seeing $G4WORKDIR break)

... shouldn't break anymore (and nice to see if X display is working)

> # G4LEDATA=$G4DATA/G4EMLOW5.1/ $G4WORKDIR/bin/$G4SYSTEM/CRCharging init.mac

~geant4/bin/$G4SYSTEM/CRCharging init.mac

> 
> or for some calculations (with a suprisingly condensed output to run00_*)
> 
> # G4LEVELGAMMADATA=$G4DATA/PhotonEvaporation2.0 G4LEDATA=$G4DATA/G4EMLOW5.1/
> ~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac

~/geant4/bin/Linux-g++/CRCharging primaries/protons_solmin.mac

where ~/geant4 is $G4WORKDIR.

b.
Comment 8 Ferris McCormick (RETIRED) gentoo-dev 2008-08-10 14:39:39 UTC
I've removed the package.use.mask on openinventor for geant because openinventor now builds correctly on sparc.
Comment 9 Sébastien Fabbro (RETIRED) gentoo-dev 2008-08-22 15:57:33 UTC
Ferris,

Is geant-4.9 ok? Can we close this bug?
Thanks
Comment 10 Sébastien Fabbro (RETIRED) gentoo-dev 2008-09-23 11:39:19 UTC
I guess we can close this one since geant is ~sparc.