[NOBUGS] McStas/McXtrace 3.7.9 released

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Thu Jul 2 15:50:06 BST 2026


Dear all,

Minor update 3.7.9 is out.


Changes in McStas/McXtrace 3.7.9, July 2nd, 2026

Release 3.7.9 marks a milestone for McXtrace that finally gets full support for complex number calculations using MSVC on Windows. We further improve the installation experience on Windows by addition of a new install script for downloading and setting up the MSVC compiler tool chain.

Install instructions

  *   For McStas 3.7.9<https://github.com/mccode-dev/McCode/blob/main/INSTALL-McStas/README.md>
  *   For McXtrace 3.7.9<https://github.com/mccode-dev/McCode/blob/main/INSTALL-McXtrace/README.md>

What's Changed
Common to McStas and McXtrace
Platform suppport

  *   Windows
     *   mctest / windows output improvement by @willend<https://github.com/willend> in #2505<https://github.com/mccode-dev/McCode/pull/2505>
     *   batch-script to help install msvc on Windows by @willend<https://github.com/willend> in #2505<https://github.com/mccode-dev/McCode/pull/2505>
     *   Add micromamba clean --all -y in install batches by @willend<https://github.com/willend> in #2507<https://github.com/mccode-dev/McCode/pull/2507>
     *   Improved wording for README and add non-admin option to msvc-install script by @willend<https://github.com/willend> in #2508<https://github.com/mccode-dev/McCode/pull/2508>
     *   Add git when setting up dev-env on Windows by @willend<https://github.com/willend> in #2510<https://github.com/mccode-dev/McCode/pull/2510>
  *   Tools
     *   mctest:
        *   Improvements to mctest tool by @willend<https://github.com/willend> in #2511<https://github.com/mccode-dev/McCode/pull/2511>
        *   More fixes to mctest logic by @willend<https://github.com/willend> in #2512<https://github.com/mccode-dev/McCode/pull/2512>
        *   Add simple infrastructure to mctest for generating plots (when possible) by @willend<https://github.com/willend> in #2539<https://github.com/mccode-dev/McCode/pull/2539>
     *   mcplot-html
        *   Minor tweaks on html plotter and mctest by @willend<https://github.com/willend> in #2540<https://github.com/mccode-dev/McCode/pull/2540>
        *   More minor tweaks mcplot-html by @willend<https://github.com/willend> in #2541<https://github.com/mccode-dev/McCode/pull/2541>
        *   Add mcplot-html batch wrapper for Windows support by @willend<https://github.com/willend> in #2542<https://github.com/mccode-dev/McCode/pull/2542>
        *   Flat / pixellated 2D plots for mcplot-html by @willend<https://github.com/willend> in #2544<https://github.com/mccode-dev/McCode/pull/2544>
     *   mcdisplay:
        *   Pass at key points in mcdisplay particleparser instead of raising exceptions. by @willend<https://github.com/willend> in #2516<https://github.com/mccode-dev/McCode/pull/2516>
     *   mcrun
        *   New --dirsuffix/--dirprefix switches for mcrun/mxrun by @willend<https://github.com/willend> in #2533<https://github.com/mccode-dev/McCode/pull/2533>
  *   Shared lib-codes
     *   Provide SCATTER_func for libraries to replicate SCATTER functionality by @mads-bertelsen<https://github.com/mads-bertelsen> in #2535<https://github.com/mccode-dev/McCode/pull/2535>

McStas only

  *   Minor comp / instrument improvements
     *   Exit minus 1 harmonization by @willend<https://github.com/willend> in #2503<https://github.com/mccode-dev/McCode/pull/2503>
     *   Fix for Incoherent component limited order + hollow geometry by @mads-bertelsen<https://github.com/mads-bertelsen> in #2506<https://github.com/mccode-dev/McCode/pull/2506>
     *   Various fixes for FZJ_BenchmarkSfin2/SANS_benchmark2 by @willend<https://github.com/willend> in #2517<https://github.com/mccode-dev/McCode/pull/2517>
     *   ILL_H15_SAM.instr: Common SPLIT=100 at sample(s) ensure ncount >=1e7 by @willend<https://github.com/willend> in #2518<https://github.com/mccode-dev/McCode/pull/2518>
     *   Ensure 1e7 for non-display runs of ILL_H22_D1B by @willend<https://github.com/willend> in #2519<https://github.com/mccode-dev/McCode/pull/2519>
     *   Various fixes for McXtrace and McStas instruments by @willend<https://github.com/willend> in #2520<https://github.com/mccode-dev/McCode/pull/2520>
     *   Various fixes for McXtrace instruments by @willend<https://github.com/willend> in #2520<https://github.com/mccode-dev/McCode/pull/2520>
     *   Added mcdisplay section to FlatEllipse_finite_mirror component by @mads-bertelsen<https://github.com/mads-bertelsen> in #2521<https://github.com/mccode-dev/McCode/pull/2521>
     *   Fix ascii reallocation in Union_mesh by @mads-bertelsen<https://github.com/mads-bertelsen> in #2532<https://github.com/mccode-dev/McCode/pull/2532>
     *   H frielinghaus SANS_benchmark2 input files by @willend<https://github.com/willend> in #2536<https://github.com/mccode-dev/McCode/pull/2536>
     *   Fix #2537<https://github.com/mccode-dev/McCode/issues/2537>: Bug in PSD_monitor_4PI found by BSc. student Christian Thyssen NBI. by @willend<https://github.com/willend> in #2538<https://github.com/mccode-dev/McCode/pull/2538>

McXtrace only

  *   General
     *   Support for MSVC (and complex numebers via mccode-complex-lib) on Windows
  *   Comp / instrument improvements
     *   McXtrace: Fix of #1579<https://github.com/mccode-dev/McCode/issues/1579> for most (if not all) comps/instrs by @willend<https://github.com/willend> in #2504<https://github.com/mccode-dev/McCode/pull/2504>
     *   McXtrace test target updates by @willend<https://github.com/willend> in #2515<https://github.com/mccode-dev/McCode/pull/2515>
     *   Various fixes for McXtrace instruments by @willend<https://github.com/willend> in #2520<https://github.com/mccode-dev/McCode/pull/2520>
     *   Filter.comp is in fact incomplete for refraction and shape != cube. by @willend<https://github.com/willend> in #2522<https://github.com/mccode-dev/McCode/pull/2522>
     *   Temporary hack to avoid McXtrace cif2hkl fct. in Single_crystal on Windows by @willend<https://github.com/willend> in #2524<https://github.com/mccode-dev/McCode/pull/2524>
     *   Windows/cif2hkl issue workaround for Test_PowderN by @willend<https://github.com/willend> in #2525<https://github.com/mccode-dev/McCode/pull/2525>
     *   Various changes to stabilise McXtrace SOLEIL_PX2a tests by @willend<https://github.com/willend> in #2526<https://github.com/mccode-dev/McCode/pull/2526>
     *   More McXtrace tweaks, SOLEIL_PX2a and SOLEIL_PSICHE by @willend<https://github.com/willend> in #2527<https://github.com/mccode-dev/McCode/pull/2527>
     *   Beef up required stats for SOLEIL_PSICHE + adjust target val by @willend<https://github.com/willend> in #2528<https://github.com/mccode-dev/McCode/pull/2528>
     *   McXtrace Enable all tests in Test_Mirrors by @willend<https://github.com/willend> in #2529<https://github.com/mccode-dev/McCode/pull/2529>
     *   Fix header by @willend<https://github.com/willend> in #2530<https://github.com/mccode-dev/McCode/pull/2530>
     *   Fix of McXtrace/mxdisplay of specific instr by @willend<https://github.com/willend> in #2533<https://github.com/mccode-dev/McCode/pull/2533>
     *   Fix filter geometry by @ebknudsen<https://github.com/ebknudsen> in #2534<https://github.com/mccode-dev/McCode/pull/2534>
     *   Improve on flexibility of McXtrace Filter.comp input types by @willend<https://github.com/willend> in #2543<https://github.com/mccode-dev/McCode/pull/2543>

Full Changelog: v3.7.6...v3.7.9<https://github.com/mccode-dev/McCode/compare/v3.7.6...v3.7.9>

All the best on behalf of McStas/McXtrace

- Peter W


Peter Kjær Willendrup
Forskningsingeniør, Specialkonsulent

DTU Physics

[image001.gif]


Technical University of Denmark


[image002.gif]


Department of Physics
Fysikvej
Building 307
DK-2800 Kongens Lyngby

Main office at
ESS DMSC
Building 305
DK-2800 Kongens Lyngby

Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nobugsconference.org/pipermail/nobugs/attachments/20260702/c0bed950/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <https://lists.nobugsconference.org/pipermail/nobugs/attachments/20260702/c0bed950/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <https://lists.nobugsconference.org/pipermail/nobugs/attachments/20260702/c0bed950/attachment-0003.gif>


More information about the NOBUGS mailing list