[Ifit-users] Bugs in iFit
Emmanuel FARHI
farhi at ill.fr
Fri Mar 16 23:21:15 CET 2012
Hi Henrik,
Thanks for reporting.
I've fixed this bug, which is related only to McStas simulations started
from iFit.
iFit users launching McStas simulations/scans/optimizations should
download again the archive for the 1.1.1 release. The rest of the package
is not affected.
Sorry for the incovenience.
Emmanuel.
PS: for the display, make sure you indeed use the release 1.1.1. The
display you show corresponds to a previous release. It is now much
cleaner.
On Fri, March 16, 2012 20:45, Henrik Jacobsen wrote:
> Hi Emmanuel
>
> I just downloaded the new version of iFit (yay! looking forward to the
> +12%
> speed), but there is a bug: when running optimizations I get the following
> error: ??? Error using ==> sprintf
> (more of the output is given in the end of the mail). This does not
> happen
> in the previous version.
>
> I attached a folder with the files that will reproduce the error, by
> running runcmnds.m.
>
> A second minor bug is in the plotting of the output - it is weird with
> text
> in it. I attached a screen shot of it.
>
> But still, I very much enjoy using iFit :)
>
> Have a nice weekend!
>
> Best
>
> Henrik
>
> Finally. Time: 1 [s]
>
> iLoad: Importing file optimize_150m_cold_maxdiv_20/FoM.sim with method
> McStas 1D monitor (looktxt)
> looktxt optimize_150m_cold_maxdiv_20/FoM.sim --fast --binary --headers
> --comment=NULL --silent --metadata=variables --metadata=xlabel
> --metadata=ylabel --metadata=component --metadata=Param --metadata=Creator
> --outfile=/tmp/lk_927612902_B3f3bD
> iData: Setting Signal="Data.N" with length 320 in object id556442 "FoM.sim
> McStas 1D monitor".
> ??? Error using ==> sprintf
> Function is not defined for 'iData' inputs.
>
> Error in ==> mcstas>mcstas_criteria at 702
> sim_abstract=[ sim_abstract sprintf('\n') '* ' sim(index).Label ...
>
> Error in ==> mcstas>@(pars)mcstas_criteria(pars,options) at 307
> @(pars) mcstas_criteria(pars, options), pars, options,
> constraints);
>
> Error in ==> fmin_private_wrapper>inline_objective at 613
> c = feval(fun, pars, varargin{:}); % function=row vector,
> pars=column
>
> Error in ==> fmin_private_wrapper at 208
> fval = inline_objective(fun, pars, varargin{:});
>
> Error in ==> fminpso at 90
> [pars,fval,exitflag,output] = fmin_private_wrapper(mfilename,
> varargin{:});
>
> Error in ==> mcstas at 306
> [pars,fval,exitflag,output] = feval(options.optimizer, ...
>
> Error in ==> runcmnds at 226
> [parameters, monitors, status,
> output]=mcstas('200_elements',p,options);
>
--
FARHI Emmanuel <farhi at ill.fr>
Groupe DS/CS, ILL4/156, Tel 04 76 20 71 35
ILL, Grenoble
More information about the ifit-users
mailing list