Skip to content
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

Error running restManager using condor #481

Closed
lobis opened this issue Sep 25, 2023 · 1 comment · Fixed by #485
Closed

Error running restManager using condor #481

lobis opened this issue Sep 25, 2023 · 1 comment · Fixed by #485

Comments

@lobis
Copy link
Member

lobis commented Sep 25, 2023

I am seeing an error when running a restManager job using condor.

The job works fine if ran manually.

The condor job also runs fine AFTER running the job manually, I think it has to do with the condor job being unable to create the "library for the dictionary" but if this is already created then there are no problems.

Here is some of the stdout:

lobis@naf-iaxo02:/nfs/dust/iaxo/user/lobis/condor/iaxo-deleteme-3$ cat stdout/output_analysis
Invalid shell! Either source with bash or zsh!
Starting pid: 13024
display under compatibility mode

Launching TRestManager...

Creating TRestManager
path:/afs/desy.de/user/l/lobis/iaxo/iaxo-simulations/analysis/vetos
Downloading remote file : https://sultan.unizar.es/gasFiles/gases.rml
To local file : /afs/desy.de/user/l/lobis/.rest/download/gases.rml
Downloading remote file : https://sultan.unizar.es/gasFiles//ar_98.0-iC4H10_2.0-E_vs_P_10.0_1000.0_nodes_20-nCol_10-maxE_400.gas
To local file : /afs/desy.de/user/l/lobis/.rest/download/ar_98.0-iC4H10_2.0-E_vs_P_10.0_1000.0_nodes_20-nCol_10-maxE_400.gas
MediumMagboltz::LoadGasFile:
    Reading file /afs/desy.de/user/l/lobis/.rest/download/ar_98.0-iC4H10_2.0-E_vs_P_10.0_1000.0_nodes_20-nCol_10-maxE_400.gas.
    Version 12.
    Gas composition set to Ar/iC4H10 (98/2).
TRestDetectorGas. Gas file loaded!
+++++++++++++++++++++++++++++++++++++++++++++
TRestDetectorGas content
Config file : /afs/desy.de/user/l/lobis/iaxo/iaxo-simulations/analysis/vetos/analysis.rml
+++++++++++++++++++++++++++++++++++++++++++++
Name : Argon-Isobutane 2Pct 10-10E3Vcm
Title : Argon-Isobutane Mixture (2Pct Isobutane)
REST Version : 2.4.0
REST Official release: No
Clean state: No
REST Commit : e9fc8d8a
REST Library version : 2.0
---------------------------------------
Status : Gasfile loaded
Gas filename : ar_98.0-iC4H10_2.0-E_vs_P_10.0_1000.0_nodes_20-nCol_10-maxE_400.gas
Pressure : 1.4 atm
Temperature : 293.15 K
Electric Field : 0 V/cm
W-value : 26.238 eV
Calling Garfield directly. Please be aware that the unit is different from REST standard unit. E is V/cm. The return is cm/us
Drift velocity : 0 mm/us
Max. Electron energy : 400 eV
Field grid nodes : 20
Efield range : ( 10 , 1000 ) V/cm
Number of Gases : 2
Gas id : 0, Name : ar, Fraction : 0.98
Gas id : 1, Name : iC4H10, Fraction : 0.02
******************************************


readout types: tpc veto
thread 0: validating process chain
Calling Garfield directly. Please be aware that the unit is different from REST standard unit. E is V/cm. The return is cm^1/2
Calling Garfield directly. Please be aware that the unit is different from REST standard unit. E is V/cm. The return is cm^1/2
Calling Garfield directly. Please be aware that the unit is different from REST standard unit. E is V/cm. The return is cm/us
Creating external dictionary for: "vector<vector<float> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_float__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<float> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_float__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<vector<int> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_vector_int__.so
gcc failed to generate library for the dictionary
The observable  'DetectorSignalToRaw_triggerTimeTPC' is defined but not set by TRestDetectorSignalToRawSignalProcess, the event is empty? Makesure all observables are set through ProcessEvent()
Creating external dictionary for: "vector<tuple<unsigned short,unsigned short,double> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_tuple_unsignedshort_unsignedshort_double__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<tuple<unsigned short,unsigned short,double> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_tuple_unsignedshort_unsignedshort_double__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<tuple<unsigned short,unsigned short,double> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_tuple_unsignedshort_unsignedshort_double__.so
gcc failed to generate library for the dictionary
Creating external dictionary for: "vector<tuple<unsigned short,unsigned short,double> >":
/afs/desy.de/user/l/lobis/.rest/AddonDict/Dict_vector_tuple_unsignedshort_unsignedshort_double__.so
gcc failed to generate library for the dictionary

Maybe it has something to do with file permissions?

Any help welcome.

@lobis
Copy link
Member Author

lobis commented Sep 26, 2023

Some new errors:

ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C /opt/rh/devtoolset-9/root/usr/bin/c++    -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
gcc: error: unrecognized command line option '-std=c++17'
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C /opt/rh/devtoolset-9/root/usr/bin/c++    -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
gcc: error: unrecognized command line option '-std=c++17'
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C /opt/rh/devtoolset-9/root/usr/bin/c++    -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
gcc: error: unrecognized command line option '-std=c++17'
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C /opt/rh/devtoolset-9/root/usr/bin/c++    -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
gcc: error: unrecognized command line option '-std=c++17'
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C /opt/rh/devtoolset-9/root/usr/bin/c++    -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0

@lobis lobis linked a pull request Sep 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant