From pkwi at fysik.dtu.dk Thu Jul 2 16:50:06 2026 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Thu, 2 Jul 2026 14:50:06 +0000 Subject: [mcstas-users] McStas/McXtrace 3.7.9 released Message-ID: <826E5B72-B0C6-46AF-87AC-6C5BCC80EE5E@dtu.dk> 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 * For McXtrace 3.7.9 What's Changed Common to McStas and McXtrace Platform suppport * Windows * mctest / windows output improvement by @willend in #2505 * batch-script to help install msvc on Windows by @willend in #2505 * Add micromamba clean --all -y in install batches by @willend in #2507 * Improved wording for README and add non-admin option to msvc-install script by @willend in #2508 * Add git when setting up dev-env on Windows by @willend in #2510 * Tools * mctest: * Improvements to mctest tool by @willend in #2511 * More fixes to mctest logic by @willend in #2512 * Add simple infrastructure to mctest for generating plots (when possible) by @willend in #2539 * mcplot-html * Minor tweaks on html plotter and mctest by @willend in #2540 * More minor tweaks mcplot-html by @willend in #2541 * Add mcplot-html batch wrapper for Windows support by @willend in #2542 * Flat / pixellated 2D plots for mcplot-html by @willend in #2544 * mcdisplay: * Pass at key points in mcdisplay particleparser instead of raising exceptions. by @willend in #2516 * mcrun * New --dirsuffix/--dirprefix switches for mcrun/mxrun by @willend in #2533 * Shared lib-codes * Provide SCATTER_func for libraries to replicate SCATTER functionality by @mads-bertelsen in #2535 McStas only * Minor comp / instrument improvements * Exit minus 1 harmonization by @willend in #2503 * Fix for Incoherent component limited order + hollow geometry by @mads-bertelsen in #2506 * Various fixes for FZJ_BenchmarkSfin2/SANS_benchmark2 by @willend in #2517 * ILL_H15_SAM.instr: Common SPLIT=100 at sample(s) ensure ncount >=1e7 by @willend in #2518 * Ensure 1e7 for non-display runs of ILL_H22_D1B by @willend in #2519 * Various fixes for McXtrace and McStas instruments by @willend in #2520 * Various fixes for McXtrace instruments by @willend in #2520 * Added mcdisplay section to FlatEllipse_finite_mirror component by @mads-bertelsen in #2521 * Fix ascii reallocation in Union_mesh by @mads-bertelsen in #2532 * H frielinghaus SANS_benchmark2 input files by @willend in #2536 * Fix #2537: Bug in PSD_monitor_4PI found by BSc. student Christian Thyssen NBI. by @willend in #2538 McXtrace only * General * Support for MSVC (and complex numebers via mccode-complex-lib) on Windows * Comp / instrument improvements * McXtrace: Fix of #1579 for most (if not all) comps/instrs by @willend in #2504 * McXtrace test target updates by @willend in #2515 * Various fixes for McXtrace instruments by @willend in #2520 * Filter.comp is in fact incomplete for refraction and shape != cube. by @willend in #2522 * Temporary hack to avoid McXtrace cif2hkl fct. in Single_crystal on Windows by @willend in #2524 * Windows/cif2hkl issue workaround for Test_PowderN by @willend in #2525 * Various changes to stabilise McXtrace SOLEIL_PX2a tests by @willend in #2526 * More McXtrace tweaks, SOLEIL_PX2a and SOLEIL_PSICHE by @willend in #2527 * Beef up required stats for SOLEIL_PSICHE + adjust target val by @willend in #2528 * McXtrace Enable all tests in Test_Mirrors by @willend in #2529 * Fix header by @willend in #2530 * Fix of McXtrace/mxdisplay of specific instr by @willend in #2533 * Fix filter geometry by @ebknudsen in #2534 * Improve on flexibility of McXtrace Filter.comp input types by @willend in #2543 Full Changelog: 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: -------------- 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: