|Message: A01 problems on geant4/cygwin/windows configuration||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Greetings. I can't get geant4 example A01 to run successfully with analysis turned on (G4ANALYSIS_USE=1). I am a new geant4 user and a newcomer to this forum. I am also new to AIDA, et. al.
Base configuration: Windows XP. geant4 (v. 4.9.1_p01) installed using J. Perl's excellent installation guide with no problems. So, I'm also using: cygwin, "Microsoft .NET Framework 2.0" and "Visual C++ 2005 Express Edition". Example N01 works fine and example A01 with analysis OFF works fine.
I'm using Java: jdk1.5.0. (I've tried other versions as well).
What happens next depends on which versions of JAIDA/AIDAJNI I use. In all cases, I export the variables as specified in README.JAIDA and source the setup files.
JAIDA 3.2.4 and AIDAJNI 3.2.6 ----------------------------- I get the following error message at link time: Compiling A01app.cc ... A01app.cc Using granular libraries ... Linking A01app ... Creating library c:/g4work/bin/WIN32-VC/A01app.lib and object c:/g4work/bin/WIN32-VC/A01app.exp freehep-aidajni-3.2.6.lib(JIBrushStyle.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) class std ::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<(class std::basic_ostream<char,struct std: <snip> (the description goes on for some length) If I run the A01app.exe anyway, the screen blinks at the place where it should bring up windows with histograms and then it terminates. A01.aida is not written.
JAIDA 3.2.1 and AIDAJNI 3.2.1 ----------------------------- This combination gets a compile error because AIDA/AIDA.h can't be found. I added this line to GNUmakefile: CPPFLAGS += '-Ic:\aidajni\aidajni-3.2.1\include' and commented out the original line setting CPPFLAGS and then it compiled and linked.
When I ran it, I got to the point where this was printed: Loaded linked in JVM. and then it crashed.
I believe the error occurs in A01AnalysisManager.cc at the line: tree = treeFactory->create("A01.aida","xml",false,true,"compress=yes");
Different combinations of versions of JAIDA/AIDAJNI do slightly different things, but these seem to come the closest to running. On earlier versions of JAIDA/AIDAJNI I have to run dos2unix on the setup files before I can source them or bash complains. Earlier versions also get a collision from the pre-processor regarding a warning about a collision between CLHEP and AIDAJNI over a macro called 'VERSION'.
Thanks in advance for any advice you can offer.
|Inline Depth:||Outline Depth:||Add message:|