From pkwi at dtu.dk Mon Oct 5 09:52:18 2026 From: pkwi at dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Mon, 5 Oct 2026 08:52:18 +0000 Subject: [NOBUGS] McStas and McXtrace 3.9.0 released Message-ID: <1029E82E-537A-41A4-B5F0-AC723770A78C@dtu.dk> October 5th, 2026: McStas and McXtrace 3.9.0 released Changes in McStas/McXtrace 3.9.0 Covers everything since the previous "announced" release, 3.8.4. Highlights * MPI is now enabled by default when compiling instruments. Multi-core runs work out of the box, and a long-standing hang in MPI runs with empty event lists is fixed. By @willend. * NCrystal everywhere: NCrystal materials can now be used in Union, and PowderN / Single_crystal accept multiphase and single-crystal NCrystal materials. New components: Union_NCrystal_material and NCrystal_filter. By @tkittel and @mads-bertelsen-agentic. * Union framework simplified: Union_init and Union_stop are no longer needed in your instruments, the framework is now self-contained (@mads-bertelsen-agentic and @g5t). Also new: Union_abs_logger_nD_scintillator (@MilanKlausz, with @tkittel). * MCViNE sample kernels in McStas: 16 sample kernels from MCViNE (S(Q), S(Q,E), phonon, SANS and more), each available both as a standalone sample component and as a Union process. Contributed by @Fahima-Islam. * New Dispersion_relation sample component for phonon or magnon scattering from tabulated (numerical) dispersion relations, tested against Phonon_simple and SpinWave_BCO. By Daniel Lomholt Christensen (@lomholy-agentic) and Kim Lefmann. * Full component settings in NeXus output: in NeXus output mode, every component variable is now embedded in the output file with its actual runtime setting, so each simulation fully documents how its components were configured. By @willend, with related fixes by @tkittel. * Much faster mcdisplay-webgl: the 3D instrument viewer no longer depends on Vite/npm and now starts up much faster. By @willend. * Models of NeXT, the ILL neutron + X-ray imaging instrument, in both packages: ILL_H521_NeXT (neutron branch) in McStas and ILL_NeXT_Xray (X-ray branch) in McXtrace. Both were "vibe-coded" by @willend with Claude, starting from the instrument's webpage and the existing ILL information in McStas. * New SOLEIL beamlines for McXtrace: SIRIUS, SAMBA and PUMA, plus fixes to CRISTAL. By @farhi, with PUMA written by Uxue Saez Fernandez. * Another big documentation round: refreshed manuals, new Union chapters, web versions of the manuals, and updated documentation for every component and instrument. By @willend, AI-assisted. What's Changed The full, categorised list of changes, common to McStas and McXtrace as well as specific to each, is in the McCode v3.9.0 release notes on GitHub. New Contributors * @NoeB made their first contribution in #2697 * @lomholy-agentic made their first contribution in #2694 * @mccode-registrar[bot] made its first contribution in #2695 Full Changelog: https://github.com/mccode-dev/McCode/compare/v3.8.4...v3.9.0 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: