McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; Niels Bohr Institute Risø DTUDTU

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Install

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tutorial

Workshops/conferences

Developments
 Platforms

Links

Report bugs

SVN

McStas Ubuntu live-dvd


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 users:
    • 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)
    if ispc
    [Status, OSMessage] = dos(['copy ' src ' ' dest]);
    elseif isunix
    [Status, OSMessage] = unix(['cp -r ' src ' ' dest]);
    end
    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 "xinit"
  • mcplot/'open McStas sim' menu item (scilab/matlab) may fail when importing file
  • 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 lines.
  • 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 conflicts should therefore be defined as OUTPUT PARAMETERS. For further information, see the McStas manual,.
In case you find problems apart from those listed, please report the McStas team.
Bugs & Fixes for older releases:


Last Modified: Saturday, 25-Apr-2009 12:17:27 CEST
Search website freshmeat.net McStas site RSS feed mailinglist archive SVN repos McCode Trac