From hugepeak at gmail.com Sun Aug 3 16:34:07 2008 From: hugepeak at gmail.com (Tianhong YU) Date: Sun, 3 Aug 2008 16:34:07 -0400 Subject: [Webnucleo-bugs] Usage bug in Libnucnet example35 Message-ID: Hi, When I comple and run example35 in the libnucnet 0.2 distribution: >./example35 I get the following usage statement: Usage: example35 in_file t9 rho t_end m_step xpath_nuc xpath_reac in_file = input single zone data xml filename t9 = input temperature rho = input density tau = density e-folding time scale (0 for static) t_end = time to evolve system m_step = frequency of steps to print out reaction = string giving reaction to vary factor = factor by which to vary reaction xpath_nuc = nuclear xpath expression (optional--required if xpath_reac specified) xpath_reac = reaction xpath expression (optional) The usage line is missing tau, reaction and factor. Thanks. Tianhong Yu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.ces.clemson.edu/pipermail/webnucleo-bugs/attachments/20080803/2909a916/attachment.html From mbradle at CLEMSON.EDU Sun Aug 3 16:57:11 2008 From: mbradle at CLEMSON.EDU (Bradley S. Meyer) Date: Sun, 3 Aug 2008 16:57:11 -0400 (EDT) Subject: [Webnucleo-bugs] Usage bug in Libnucnet example35 In-Reply-To: References: Message-ID: <50715.68.159.112.167.1217797031.squirrel@wm.clemson.edu> On Sun, August 3, 2008 4:34 pm, Tianhong Yu wrote: > Hi, > > When I comple and run example35 in the libnucnet 0.2 distribution: > >>./example35 > > I get the following usage statement: > > Usage: example35 in_file t9 rho t_end m_step xpath_nuc xpath_reac > > in_file = input single zone data xml filename > > t9 = input temperature > > rho = input density > > tau = density e-folding time scale (0 for static) > > t_end = time to evolve system > > m_step = frequency of steps to print out > > reaction = string giving reaction to vary > > factor = factor by which to vary reaction > > xpath_nuc = nuclear xpath expression (optional--required if xpath_reac > specified) > > xpath_reac = reaction xpath expression (optional) > > The usage line is missing tau, reaction and factor. Thanks. > > Tianhong Yu I confirm this. The following change has been applied and committed: example35_old.c = example35.c in the 0.2 distribution example35.c = corrected file Running >diff -Naur example35_old.c example35.c gives --- example35_old.c 2008-08-03 16:53:54.000000000 -0400 +++ example35.c 2008-08-03 16:53:54.000000000 -0400 @@ -87,7 +87,7 @@ if ( argc < 9 || argc > 11 ) { fprintf( stderr, - "\nUsage: %s in_file t9 rho t_end m_step xpath_nuc xpath_reac\n\n", + "\nUsage: %s in_file t9 rho tau t_end m_step reaction factor xpath_nuc xpath_reac\n\n", argv[0] ); fprintf( The correction will appear in 0.3. Thanks for the report. -- Bradley S. Meyer Department of Physics and Astronomy Clemson University Clemson, SC 29634-0978 mbradle at clemson.edu http://nucleo.ces.clemson.edu