MCwrapper on Alma9

11 views
Skip to first unread message

Colin Gleason

unread,
Nov 14, 2024, 10:34:16 AM11/14/24
to GlueX Software Help
Hi all,

I am trying to run MCWrapper on Alma9. I have a local build of the gluex software version_5.21. When I try to run MCWrapper, I get the following error related to the rcdb:

File "/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.4.1/gluex_MCwrapper/gluex_MCwrapper-v2.10.0/gluex_MC.py", line 26, in <module>
    import rcdb
  File "/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.4.1/rcdb/rcdb_0.09.01/python/rcdb/__init__.py", line 2, in <module>
    from .provider import RCDBProvider
  File "/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.4.1/rcdb/rcdb_0.09.01/python/rcdb/provider.py", line 15, in <module>
    from sqlalchemy.exc import OperationalError, ProgrammingError, NoResultFound
ImportError: cannot import name 'NoResultFound' from 'sqlalchemy.exc' (/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.4.1/rcdb/rcdb_0.07.01/python/sqlalchemy/exc.py)

I have also tried to run MCWrapper with the latest version, MCWrapper_2.10.1, and get the same error message. I know there's recently been some updates that should have solved these issues, but the fixes I have tried haven't worked. Could someone point me in the direction of a solution?

--
Colin Gleason
Assistant Professor 
Union College
Department of Physics and Astronomy

Naomi Jarvis

unread,
Nov 14, 2024, 10:40:19 AM11/14/24
to Colin Gleason, GlueX Software Help
I saw this recently, I think you need to run the prerequisites script again, it is missing something, Alex added it to the latest or latest minus one copy.  

Naomi.

--
You received this message because you are subscribed to the Google Groups "GlueX Software Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gluex-softwar...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gluex-software/CA%2BkFXbf-UQ%3D%3Df7SBDV-VBCZ5s0mDWK%3Dr0spofbu3D_eNJvLvUA%40mail.gmail.com.

Alexander Austregesilo

unread,
Nov 14, 2024, 10:44:50 AM11/14/24
to gluex-s...@googlegroups.com

Hi Colin,

I think, something is wonky with your environment. You can't have references to rcdb0.09 and 0.07 at  the same time, as I can spot in the error snippet. What do you mean by "local build"?

Naomi, he is running on the ifarm, so he should not need to install any packages.

Cheers,

Alex

To view this discussion visit https://groups.google.com/d/msgid/gluex-software/CAP2LRLhqf-9LyJxt1kCQF5jD3E0CXb3hXrzGyUtnp96SvgsGJA%40mail.gmail.com.
-- 
Alexander Austregesilo

Staff Scientist - Experimental Nuclear Physics
Thomas Jefferson National Accelerator Facility
Newport News, VA
aaus...@jlab.org
(757) 269-6982

Colin Gleason

unread,
Nov 14, 2024, 10:49:17 AM11/14/24
to Alexander Austregesilo, gluex-s...@googlegroups.com
Thanks Alex and Naomi,

I should have been clearer in my original message. I am running on the ifarm. I meant local build as one that I built using $BUILD_SCRIPTS/my_halld_build_jlab

If I clean the environment, and resource the xml file, I still get the same errors.

Colin Gleason

unread,
Nov 14, 2024, 11:00:04 AM11/14/24
to Alexander Austregesilo, gluex-s...@googlegroups.com

Here is the .xml file. Yes, I used the build scripts from the group disk. Here is my xml file: 


<gversion version="1.0"

><package name="amptools" home="/work/halld/home/gleasonc/Software/October2024/AmpTools"

 /><package name="ccdb" version="2.00.05"

 /><package name="cernlib" version="2005"

 /><package name="diracxx" version="2.1.2"

 /><package name="evio" version="4.4.6"

 /><package name="evtgen" version="01.07.00"

 /><package name="geant4" version="10.07.p04"

 /><package name="gluex_MCwrapper" version="v2.10.0"

 /><package name="gluex_root_analysis" home="/work/halld/home/gleasonc/Software/October2024/gluex_root_analysis"

 /><package name="halld_recon" home="/work/halld/home/gleasonc/Software/October2024/halld_recon"

 /><package name="halld_sim" home="/work/halld/home/gleasonc/Software/October2024/halld_sim"

 /><package name="hddm" version="4.31.0"

 /><package name="hdds" home="/work/halld/home/gleasonc/Software/October2024/hdds"

 /><package name="hdgeant4" home="/work/halld/home/gleasonc/Software/October2024/hdgeant4"

 /><package name="hd_utilities" version="1.50"

 /><package name="hepmc" version="2.06.10"

 /><package name="jana" version="0.8.2" dirtag="ccdb2005"

 /><package name="lapack" version="3.9.0"

 /><package name="photos" version="3.61"

 /><package name="rcdb" version="0.09.01"

 /><package name="root" version="6.24.04"

 /><package name="sqlitecpp" version="3.1.1"

 /><package name="sqlite" version="3.36.0"

 /><package name="xerces-c" version="3.2.3"

 /></gversion

>


(Ignore the fact that it says October2024 in the path to the files. I built the software this morning.)

On Thu, Nov 14, 2024 at 10:53 AM Alexander Austregesilo <aaus...@jlab.org> wrote:

Can you please post your xml file? And are you using $BUILD_SCRIPTS from the group disk?

Colin Gleason

unread,
Nov 14, 2024, 3:22:11 PM11/14/24
to gluex-s...@googlegroups.com
The issue is resolved. I had some issues with a previous environment that was causing the errors. Thanks for the help!

Alexander Austregesilo

unread,
Nov 15, 2024, 4:04:11 PM11/15/24
to Colin Gleason, gluex-s...@googlegroups.com

Can you please post your xml file? And are you using $BUILD_SCRIPTS from the group disk?


On 11/14/24 10:49, Colin Gleason wrote:
Reply all
Reply to author
Forward
0 new messages