[Halld-offline] Calibration exception -- missing file for magnetic field?
Paul Mattione
pmatt at jlab.org
Tue Feb 25 14:03:04 EST 2014
You may have already done this, but the sim-recon trunk now requires at least JANA 0.7 (or maybe later, I would grab 0.7.1p1 to be safe). If you haven't already, you should switch to sqlite and set JANA_RESOURCE_DIR to the location you want to download the magnetic field to.
- Paul
On Feb 25, 2014, at 1:55 PM, Matthew Shepherd wrote:
>
> Dear offline friends,
>
> I'm trying to help one of my students get going again with software and he is having trouble running hdview2 after doing an update to his sim-recon install.
>
> Problem seems to be:
>
> ?JException: code = 0 text = Unable to open "/home/s4/zacqjone/gluex/svn/calib/Magnets/Solenoid/solenoid_1350_poisson_20130925"!
>
> We checked and indeed this file is missing, but an update of calib doesn't seem to restore it.
>
> Did someone forget to check in the new map?
>
> Matt
>
>
> JANA >>Opening source "pions_1gev_smeared.hddm" of type: HDDM
> JANA >>Creating DGeometry:
> JANA >> Run requested:9999 found:9999
> JANA >> Run validity range: 9999-9999
> JANA >> URL="xmlfile:///home/s4/zacqjone/gluex/svn/hdds/prod/main_HDDS.xml" context="default"
> JANA >> Type="JGeometryXML"
> Reading preferences from "/s4/zacqjone/.hdview2" ...
> JANA >>Created JCalibration object of type: JCalibrationFile
> JANA >>Generated via: fallback creation of JCalibrationFile
> JANA >>Run:1
> JANA >>URL: file:///home/s4/zacqjone/gluex/svn/calib
> JANA >>context: default
> JCalibrationFile.cc:51 Unable to open "/tmp/jana/resources/info.xml"!
> JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1350_poisson_20130925 ...
> JANA >> Factory Call Stack
> JANA >>============================
> JANA >> JEventLoop:OneEvent (brun) -- line:572 JEventLoop.cc
> JANA >>----------------------------
> JEventLoop.cc:575 EXCEPTION :
> ?JException: code = 0 text = Unable to open "/home/s4/zacqjone/gluex/svn/calib/Magnets/Solenoid/solenoid_1350_poisson_20130925"!
>
> Stack trace:
>
> jana::JException::getStackTrace()
> jana::JException::JException(std::string const&)
> jana::JCalibrationFile::GetCalib(std::string, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >&, int)
> bool jana::JCalibration::Get<std::string>(std::string, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >&, int)
> jana::JResourceManager::GetResource(std::string)
> bool jana::JResourceManager::Get<std::vector<std::vector<float, std::allocator<float> >, std::allocator<std::vector<float, std::allocator<float> > > > >(std::string, std::vector<std::vector<float, std::allocator<float> >, std::allocator<std::vector<float, std::allocator<float> > > >&, int)
> DMagneticFieldMapFineMesh::ReadMap(std::string, int, std::string)
> DMagneticFieldMapFineMesh::DMagneticFieldMapFineMesh(jana::JApplication*, unsigned int, std::string)
> DApplication::GetBfield(unsigned int)
> MyProcessor::brun(jana::JEventLoop*, int)
> jana::JEventLoop::OneEvent()
> jana::JEventLoop::OneEvent()
> jana::JEventLoop::OneEvent()
> jana::JEventLoop::OneEvent()
>
> terminate called after throwing an instance of 'std::exception'
> what(): std::exception
> Abort
> [zacqjone at stanley pion_1gev]$
>
>
>
> ---------------------------------------------------------------------
> Matthew Shepherd, Associate Professor
> Department of Physics, Indiana University, Swain West 265
> 727 East Third Street, Bloomington, IN 47405
>
> Office Phone: +1 812 856 5808
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
More information about the Halld-offline
mailing list