[Halld-offline] Calibration exception -- missing file for magnetic field?

Mark Ito marki at jlab.org
Wed Feb 26 09:12:12 EST 2014


There is also a wiki page describing the sqlite version: 
https://halldweb1.jlab.org/wiki/index.php/SQLite-form_of_CCDB_database

On 02/25/2014 02:47 PM, David Lawrence wrote:
>
> Hi Matt,
>
>  The flat files that we kept in the repository for the calibration 
> constants have not been kept up for some time. You now have to get the 
> constants from the CCDB either via SQLite file (recommended for your 
> current use case) or MySQL. An SQLite file is generated every night 
> now from the MySQL database. These can be found on the JLab CUE here:
>
> /group/halld/Software/calib/ccdb_sqlite
>
> Download a recent file and set your JANA_CALIB_URL environment 
> variable to something like:
>
> setenv JANA_CALIB_URL sqlite:////path/to/ccdb_2014-02-21.sqlite
>
> (note the four "/')
>
> You will have to download a new SQLite file occasionally. If you point 
> to the MySQL DB at JLab, you will always be up-to-date, but will have 
> a slower startup due to the long distance network access.
>
> Regards,
> -David
>
> On Feb 25, 2014, at 1:55 PM, Matthew Shepherd <mashephe at indiana.edu 
> <mailto:mashephe at indiana.edu>> 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 <http://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 
>> <http://JEventLoop.cc>
>> JANA >>----------------------------
>> JEventLoop.cc <http://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 <mailto:Halld-offline at jlab.org>
>> https://mailman.jlab.org/mailman/listinfo/halld-offline
>
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline

-- 
Mark M. Ito, Jefferson Lab, marki at jlab.org, (757)269-5295

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20140226/bb03a682/attachment-0002.html>


More information about the Halld-offline mailing list