Hello! first I move to the directory $ROOTSYS/tutorials, then I execute
the root command, and I get the root prompt, and
then I load the file Ifit.C and execute the routine inside.
I copy it from the screen :
tical10:rh73_gcc2952/root/tutorials> root
-------------------------------------------------------------------------------------
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 3.05/05 8 May 2003 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
FreeType Engine v2.1.3 used to render TrueType fonts.
Compiled for linux with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.86, Apr 29 2003
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .L Ifit.C
root [1] Ifit()
**********
** 1 **SET ERR 1
**********
PARAMETER DEFINITIONS:
NO. NAME VALUE STEP SIZE LIMITS
1 a1 3.00000e+00 1.00000e-01 no limits
2 a2 1.00000e+00 1.00000e-01 no limits
3 a3 1.00000e-01 1.00000e-02 no limits
4 a4 1.00000e-02 1.00000e-03 no limits
**********
** 2 **MIGRAD 500 1
**********
FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
*** Break *** segmentation violation
Root > Function Ifit() busy flag cleared
root [2] .q
This is the end of ROOT -- Goodbye
------------------------------------------------------------------------------------------------
Belen.
Rene Brun wrote:
>I do not see any problems wityh this example ($ROOTSYS/tutorials/Ifit.C)
>Could you tell us very precisely what you are doing/executing?
>
>Rene Brun
>
>Belen Salvachua Ferrando wrote:
>
>
>>Hello!
>>
>> I'm trying to use the TMinuit library, first I tried with the example
>>in the web: http://root.cern.ch/root/HowtoFit.html
>>in the sub section Fitting in general using the class TMinuit. But when
>>the program arrives to the command line:
>>
>> gMinuit ->mnexcm ("MIGRAD", arglist ,2,ierflg);
>>
>> I get :
>>
>> **********
>> ** 2 **MIGRAD 500 1
>> **********
>> FIRST CALL TO USER FUNCTION AT NEW START POINT, WITH IFLAG=4.
>>
>> *** Break *** segmentation violation
>>Abort (core dumped)
>>
>>The ROOT version I'm using is: v3.05.05
>>and the compile version : rh73_gcc2952
>>
>>Am I doing something wrong?
>>
>>Thanks and regards
>> Belen.
>>
>>
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET