===McStas compiling and running===
McStas 2.1 event data and the corresponding IDF for Mantid are generated as follows using these commands from an xterm:

The templateSANS_Mantid.instr file used in the above example can be found in McStas neutron suite.

===McStas event data conventions===
For McStas to auto generate an IDF the McStas instrument file must obey:

The McStas component monitor_nD must be called with the argument: options ="mantid square x limits=-0.2 0.2 bins=128 y limits=-0.2 0.2 bins=128, neutron pixel t, list all neutrons". Number of bins and limits can be chosen freely.

===Tested versions===
The new features added to McStas has been tested on the following platforms: