| <p>This is a list of things that should be expected when trying to make and run icemc.</p>
<p>1. The directory includes a Makefile.arch, but seems to have lost it’s<br />
StandardDefinitions.mk, which was necessary in previous versions. Is it no<br />
longer necessary?</p>
<p><br />
2. When you try to execute “./icemc” it tries to make an<br />
“outputs/coherent_sum_data_file.root” object. But “outputs” is not a default<br />
directory, so it will fail: “SysError in <TFile::TFile>: file<br />
outputs/coherent_sum_data_file.root can not be opened (No such<br />
file or directory)”.</p>
<p> </p>
<p>3. The default settings for inputs.conf have the “Apply impulse response to<br />
digitizer path: 1” enabled. However, this can only be done if the Anita tools are<br />
sourced: “Signal chain impulse response can only be applied when<br />
the Anita tools are sourced”. So “icemc” will not run out of the box for a more<br />
“casual” user without anitaBuildTool. See anitaBuildTools for installation. \</p>
<p> </p>
<p>4. When we source the anita3 input file “./icemc -i inputs.anita3.conf” it has<br />
both the apply impulse response digitizer and apply impulse response trigger enabled<br />
by default. This is in direct contradiction to the GitHub documentation where its says<br />
these are not enabled. Because of this it does not run (since these require the anitaBuildTools). The default should not be<br />
enabled. </p>
<p> </p>
<p>5. If the user forgets to set the environment variables “ICEMC_SRC_DIR”,<br />
“ICEMC_BUILD_DIR”, and to update the LD_LIBRARY_PATH as instructed on the<br />
GitHub, the code will proceed as if everything is fine by printing the following message:<br />
“Warning! Could not find environment variable ICEMC_SRC_DIR.<br />
Will guess icemc source directory is present working directory”.<br />
However, the code will segfault. When one sets up the<br />
environment variables correctly first, icemc will execute and produce the correct<br />
output files. If icemc cannot actually run without the environment variables set<br />
correctly (which is fine if that's the intentional design decision), then the error<br />
messages are misleading, and should be removed and icemc should return 0 for the<br />
user and tell them to set the variables.</p>
<p> </p> |