Problem 1190 - "typo" and library missing for ParN02
Summary: "typo" and library missing for ParN02
Status: RESOLVED FIXED
Alias: None
Product: Examples/Extended
Classification: Unclassified
Component: parallel/TopC (show other problems)
Version: 9.4
Hardware: All All
: P5 normal
Assignee: Gene Cooperman
URL:
Depends on:
Blocks:
 
Reported: 2011-04-13 23:25 CEST by lgsarmientop
Modified: 2011-04-14 10:13 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description lgsarmientop 2011-04-13 23:25:53 CEST
Hello Gene.

I do not know who to address about this issue but I just found a line in
the example that is just plain wrong. It is almost a typo but needs to
be corrected for future generations ;)

the file examples/extended/parallel/ParN02/src/ExN02DetectorConstruction.cc
says:
non =
 new G4Material("XenonGas", z=54., a=131.29*g/mole, density= 5.458*mg/cm3,
                kStateGas, temperature= 1*atmosphere, pressure= 293.15*kelvin);
where it should correctly say:
non =
 new G4Material("XenonGas", z=54., a=131.29*g/mole, density= 5.458*mg/cm3,
                kStateGas, temperature= 293.15*kelvin, pressure= 1*atmosphere);

since version 4.9.4 where
G4MultipleScattering.hh was split into different libraries according to the particle, the example does not compile because the file G4MultipleScattering.hh is "obviously" missing.

And now that I am into the subject... would that be possible to make like a TODO list if you are parallelizing you own application. I managed to compile my application with the marshalled libraries but no primaries are passed to the EventManager. And I wonder where is the problem. But no worries. This is mainly a bug report.
Comment 1 Gabriele Cosmo 2011-04-14 10:13:20 CEST
Thanks for reporting this. TOP-C examples have actually already been updated in the development trunk, to synchronize the changes introduced to the original N02 and N04 examples, part of release 9.4; these include also the fix for MSC migration and the typo reported. Will be included in a next patch release.
Please, get in contact directly with the TOP-C author (Gene Cooperman - gene@ccs.neu.edu) for any query about the use of the marshalled libraries.
This problem report gets closed.