McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

December 19th, 2019: Seasons greetings, McStas news and call for contributions

Dear all,

This is to inform you all that the next stable McStas release 2.6 will become available during January 2020.

- If you have any useful contributions to make, in the shape of instruments or components, now would be a good time. :-)

I would also like to mention that we aim to make an official beta-release of our experimental McStas 3.0 available soon. This will happen following v. 2.6 within the first months of the new year, and be the first release to support running simulations on Nvidia GPU processors. Probably not all of our components will be ported at release, but most of what you do on CPUs today will be available!

A short set of slides is available here outlining what is coming, when we started and how we achieved it... :-)

Seasons greetings on behalf of the McStas team,

Peter Willendrup

October 11th, 2019: Respin of McStas v2.5 to support macOS Mojave and Catalina

Recently one of our users reported issues on macOS Mojave with mcgui not picking up the right location of the mcstas library, please see the related GitHub issue for more information.

Since the problem seems to occur consistently on updated Mojave (10.14) and Catalina (10.15) systems, a patched version of our macOS App bundle has been uploaded to our download page.

Please let us know via the mailinglist or by creating a GitHub ticket if any further issues arise.

June 16th, 2019: Statistics on the history of McStas releases

Did you ever wonder how the number of included components and instrument files in McStas changed over time? - And did you know that we now include 215 components and 192 example instruments?

The figure below is generated from release-metadata extracted from, where all McStas releases can be found.

June 7th, 2019: math.h issues on macOS 10.14.5 Mojave

With the latest update to Xcode command line tools on macOS, there is no longer an option to install the system header files to the legacy location of /usr/include .

This unfortunately means that the miniconda-based gcc that we distribute with McStas (and set up by default) is no longer able to locate the math.h header file and compilations fail with

mccode-r.h:39:18: fatal error: math.h: No such file or directory

Our suggested workaround is to configure your McStas installation to instead use the system-provided clang compiler, see our GitHub issue #799 for a detailed description of how to do this.

April 2nd, 2019: Announcing ISTSI2019

The workshop Innovative Simulation Tools, Shielding and Instrumentation 2019 (ISTSI2019) will be held at Holiday Inn St. Petersburg, Russia, on Saturday June 29th 2019, as a satellite of the ECNS conference.

The workshop brings together the partners of the SINE2020 WP8 that have contributed work in the areas of

  • Integrated simulation using neutronics and Monte Carlo ray-tracing
  • Innovative Shielding Concepts and Materials
  • Compact Instrumentation for Larmor Labelling applications at the ESS

For more information and registration, please consult the website at

This workshop / project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 654000.

March 25th-20th, 2019: McStas School at CSNS

Dear all,

In collaboration with the China Spallation Neutron Source, the McStas team participated in the first ever McStas school in China in the last week of March.

All lecture material and exercises are available through our new McStas school site, hosted on GitHub

Further, our hosts suggested we recorded videos of the lectures which are slowly becoming available on the new McStas youtube channel.

January 18th, 2019: McStas survey results

Dear all,

The results from the 2018 McStas user survey are now online at

The main conclusions are that

  • Q1: McStas users tend to upgrade to the latest release.
  • Q2: Linux is by a large margin the most used platform, followed by Windows 10 and macOS.
  • Q3: McStas are generally happy about the installation and use of the package. Very few people have issues with installation.
  • Q4: The most used tool set is the default Python version, default since v. 2.1.
  • Q5: McStas users seem very satisfied with the user support.
  • Q6: McStas users tend to trust McStas to large extent. But please don't trust it blindly!!
  • Q7: McStas users mostly compare with experimental data or analytic / back of envelope calculations.
  • Q8: McStas users have widespread knowledge of all documentation resources - but we should probably disseminate the wiki further.
  • Q9: The individual suggestions/questions/comments/... will be answered through individual GitHub issues.
  • Q10: McStas is used on all continents that have / are planning neutron scattering infrastructure. Users are mostly based at these facilities, but also at other research labs or universities.
Thank you very much for the (generally) very positive review - also, you are more than welcome to participate in continuing debate on user suggestions that will take place in the individual GitHub survey issues.

Previous news items: 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, 1998.

Last Modified: Wednesday, 12-Jan-2022 14:57:18 CET
Search website mailinglist archive GitHub repos