-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xml parsing problem? #60
Comments
I think I have run into this before, but didn't figure out what the issue was. In the end I resorted to effectively introducing a <marlin>
<execute>
<processor name="InitDD4hep"/>
</execute>
<global>
<parameter name="LCIOInputFiles">
anything.slcio
</parameter>
</global>
<constants>
<constant name="k4geo_DIR" value="/path/to/k4geo_DIR" />
</constants>
<processor name="InitDD4hep" type="InitializeDD4hep">
<parameter name="DD4hepXMLFile" type="string">
${k4geo_DIR}/ILD/compact/ILD_l5_v02/ILD_l5_v02.xml
</parameter>
</processor>
</marlin> and then: Marlin testinitdd4hep.xml --contant.k4geo_DIR=$k4geo_DIR This is not really a solution, but it was a workaround for me. edit: fixed command to run Marlin (see comment below) |
thanks, this workaround worked for me if I change to
(ie contants -> constant ) |
Marlin xml parser does not resolve environment variables. It has something to do with the DD4hep resolver during the geometry loading. This one, which works. It has But a few lines above there is also this one. This one I assume fails... Which one is used depends on the building flags EDIT: |
https://github.com/AIDASoft/DD4hep/pull/1326/files This fixes it for me locally... |
I think I've run into a strange failure of xml parsing, in which
$k4geo_DIR/ILD/compact/ILD_l5_v02/ILD_l5_v02.xml
is interpreted as
LOCAL_DIRECTORY/$k4geo_DIR/ILD/compact/ILD_l5_v02/ILD_l5_v02.xml
see the line in the output pasted below starting "XercesC FATAL"
[this problem does not occur on a local installation of ilcsoft (ilcsoft/sw/gcc114_64bit/v02-03-03) on the same machine]
on RHEL9 machine (tested on worker node at KEKcc):
any suggestions warmly welcomed!
The text was updated successfully, but these errors were encountered: