Thanks Julie. It's good that you also reproduced the problem; hopefully someone will be able to propose a fix for what seems to be a bug in the METRo software.
Regards Iain -----Original Message----- From: Julie Prestopnik [mailto:[EMAIL PROTECTED] Sent: Wed 11/14/2007 6:18 PM To: Iain Russell Cc: [email protected] Subject: Re: [Metro-developers] METRo crashes when obs and forecast start time are the same Hi Iain. I ran your code through METRo versions 3.0.0 and 3.1.0. Both times I got a segmentation fault. I've attached the log file from the version 3.0.0 run, but when I ran it through 3.1.0 giving it the option: --log-file log_metro-3.1.0 I only received an empty log file, so I copied the output from the screen into the log file and attached it here. I didn't have too much time to look into it, but I was able to use the debugger to find out where it was crashing: In metro_model.py in this call (lines 299-306): macadam.Do_Metro(bFlat,\ fLat, fLon, \ lLayerThick, nNbrOfLayer, lLayerType, \ lAT, lQP, lWS, lAP, lSF, lIR, lFT, lPI, lSC,\ lAT_obs,lST_obs, lSST_obs, \ lAH, lTime_obs, lSWO, bNoObs,\ fDeltaTMetroObservation, nLenObservation, \ nNbrTimeSteps, bSilent) Here's the output from the pdb debugger just before the seg fault: > metro_model.py(306)__send_data_to_metro_core() -> nNbrTimeSteps, bSilent) (Pdb) DEBUT SETCONSTPHYS FIN SETCONSTPHYS GRILLE ROUTINE START GRILLE ROUTINE ENDED Complete observations DEBUT MAKTIP FIN MAKTIP DEBUT INITIAL FIN INITIAL DEBUT COUPLA FIN COUPLA coupla 2 DEBUT BALANC FIN BALANC Free memory Segmentation fault I hope this helps! Julie Iain Russell wrote: > Hi Miguel > > Please see attached input xml files and txt file which contains the > command to run METRo... > > Regards > Iain > > > ------------------------------ > > Message: 2 > Date: Tue, 13 Nov 2007 14:40:53 +0000 > From: Miguel Tremblay <[EMAIL PROTECTED]> > Subject: Re: [Metro-developers] METRo crashes when obs and forecast > start times are the same > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii; format=flowed > > Hi Iain, > > Please give us the input files you used as well as the command line and > the error message. I will look at it and answer your question. > > Thank you Julie for the answer regarding Iain's questions. > > > Miguel > > > > ------------------------------------------------------------------------ > > _______________________________________________ > METRo-developers mailing list > [email protected] > https://mail.gna.org/listinfo/metro-developers
_______________________________________________ METRo-developers mailing list [email protected] https://mail.gna.org/listinfo/metro-developers
