We compile the release build of Crux with optimization '-O3'. On OS X this results in 'crux tide-search' returning an error on even very simple input files:
COMMAND LINE: crux tide-search --compute-sp T demo.ms2 yeast-index
INFO: Running tide-search...
INFO: Reading index yeast-index
INFO: Reading spectra file demo.ms2
INFO: Converting demo.ms2 to spectrumrecords format
FATAL: boost::bad_lexical_cast occured while parsing spectrum.
Does your spectra contain z-lines?
This error does not occur if crux is compiled with '-O1'.
For now I've updated the crux trunk to compile the release build with '-O1' on Apple.
However, we should track down the root problem and fix it so that we can turn aggressive optimization back on.
I can no longer reproduce this bug. It seems likely it was fixed along with similar bux when Kaipo fixed the parsing code in ProteoWizard. I've restored the optimization level to O3 in the OS X build.
Last edit: Charles E. Grant 2015-05-06