Known bugs and fixes in McStas
Known (potential) problems
The CVS release
may already include a fix
for the problems below.
- Important note for Windows
- It is a known problem that some of
the McStas tools do not support filenames / directories with spaces.
We are working on a more general approach to this problem, which will
hopefully be solved in the next release.
- mcdisplay with Scilab: The number of neutrons must
be lower than 1000 when using Trace mode
- mcdisplay with Scilab: it is not possible to rotate
the 3D view
using the 'Rot' button in the scilab graphics window. The 'Alpha' and
'Theta' angles from the Dialog should be used instead.
- Use our automatic installer to solve most of the Windows platform problems.
- Matlab 6.5/copyfile
may be buggy and make mcplot crash. See note from Mathworks
copyfile bug report and its workaround. You may possibly define a
new copyfile function with
function [success, OSMessage]=copyfile(src,dest)
[Status, OSMessage] = dos(['copy ' src ' ' dest]);
[Status, OSMessage] = unix(['cp -r ' src ' ' dest]);
success = ~Status;
- Mcplot with scilab may
encounter problems when exporting directly
into a GIF file (e.g. using the mcplot <instr> -gif, -eps, ...
options) and reports an error about
- mcplot/'open McStas sim' menu item
(scilab/matlab) may fail when
- the scilab full text output format (--format=Scilab) is limited
to monitors having, say, less than 50 columns. For large monitors,
rather use --format=Scilab_binary
- The maximum number of lines allowed in a component is 50000
- All variables declared in the DECLARE section
are by default global.
It means that conflicts may occur if the same variable name is used in
two different components or if the same component is used repeatedly in
an instrument. When coding a component, variables that may cause
should therefore be defined as OUTPUT PARAMETERS. For further
see the McStas manual,.
In case you find problems apart from those listed, please
report the McStas team
for older releases:
Last Modified: Saturday, 25-Apr-2009 12:17:27 CEST