[mcxtrace-users] McStas and McXtrace 3.5.32 released

Peter Kjær Willendrup pkwi at dtu.dk
Tue Jun 17 21:57:56 CEST 2025


Dear all,


The McStas and McXtrace release 3.5.32 is now available for download.
McStas installation instructions are found on GitHub <https://github.com/mccode-dev/McCode/tree/main/INSTALL-McStas> .
What's Changed
Common changes to McStas and McXtrace

  *   Deployment, platforms and CI
     *   [Bugfixes] to Windows conda script and related README by @willend in#1976<https://github.com/mccode-dev/McCode/pull/1976>#1978<https://github.com/mccode-dev/McCode/pull/1978>, #1984<https://github.com/mccode-dev/McCode/pull/1984>, #1985<https://github.com/mccode-dev/McCode/pull/1985>, #1986<https://github.com/mccode-dev/McCode/pull/1986>
     *   [CI] Let "autobuild" CI scripts create arm64 debs for mccode.org by @willend in #1981<https://github.com/mccode-dev/McCode/pull/1981>
  *   Tools:
     *   [Feature] mcgui/mxgui: show current instrument name in dialogues by @farhi in #1989<https://github.com/mccode-dev/McCode/pull/1989>
     *   [Feature] VSCode McStas/McXtrace grammar extension
        *   Update vs code extension by @Lomholy in #1975<https://github.com/mccode-dev/McCode/pull/1975>
        *   Small updates to editor, as well as updated installation information by @Lomholy in #1977<https://github.com/mccode-dev/McCode/pull/1977>
     *   [Feature] LaTeX math (formulae etc) for mcdoc %Description headers by @willend in #2054<https://github.com/mccode-dev/McCode/pull/2054>
  *   Code generator/Grammar:
     *   [Feature] Unified McStas/McXtrace, c and .py code generators defined from common set of files in mccode/src
        *   Unify grammar take2 by @willend in #2008<https://github.com/mccode-dev/McCode/pull/2008>
        *   Unify instr y c py: unify our code generators for C and Python by @farhi in #2009<https://github.com/mccode-dev/McCode/pull/2009>
     *   [Feature] NEW INHERIT keyword in the component grammar: Allows to mix and match component sections from multiple components to achieve new functionality.
For an example use see
        *   Grammar multiple comp copy extend by @farhi in #2012<https://github.com/mccode-dev/McCode/pull/2012> (-> INHERIT)
        *   FluoPowder in McXtrace
        *   https://github.com/mccode-dev/McCode/blob/main/doc/GRAMMAR/ADR-records/ADR_20250612_INHERIT_COMP.md
        *   Edits by @farhi and @willend in #2062<https://github.com/mccode-dev/McCode/pull/2062>
     *   [Feature] Add ADR (Architectural Design Record) for grammar changes
        *   Add doc folder for proposed, accepted, rejected, deprecated, superseded changes of McCode GRAMMAR by @willend in #2064<https://github.com/mccode-dev/McCode/pull/2064>
        *   Put in place folder for grammar documentation by @willend in #2070<https://github.com/mccode-dev/McCode/pull/2070>
     *   [Feature] The McStas/McXtrace code generators have a new commandline switch --version-num to print the version number only.
     *   [Feature] New CLI default for mcstas / mcxtrace: --trace is on (This allows any compiled instrument to run with --trace=0 by @willend in #2010<https://github.com/mccode-dev/McCode/pull/2010> and #2023<https://github.com/mccode-dev/McCode/pull/2023>)
  *   Libs and runtime (various minor changes)
     *   Add Open_File in header (used from e.g. PowderN) by @willend in #2014<https://github.com/mccode-dev/McCode/pull/2014>
     *   Wrap cabs in OpenACC settings by @willend in #2016<https://github.com/mccode-dev/McCode/pull/2016>
     *   Swap default trace behaviour to 'enabled' by @willend in #2023<https://github.com/mccode-dev/McCode/pull/2023>
     *   cif2hkl: update to solve F^2 for Xrays using latest CrysFML by @farhi in #2021<https://github.com/mccode-dev/McCode/pull/2021>
     *   Openacc minor rectifications by @willend in #2027<https://github.com/mccode-dev/McCode/pull/2027>
  *   MCPL Components
     *   [Feature] Update MCPL components for MCPL 2.2.0 features (including stat:sum). by @tkittel in #2046<https://github.com/mccode-dev/McCode/pull/2046>
     *   [Feature] Sync MCPL components McStas <-> McXtrace for MCPL 2.2.0 support by @willend in #2019<https://github.com/mccode-dev/McCode/pull/2019>
     *   [Feature] Please consult the GitHub discussion on MCPL > 2.0 support in McStas / McXtrace<https://github.com/mccode-dev/McCode/discussions/2076>

McStas specific:

  *   [Bugfix] Source_custom
     *   Fixed minor typo in docs by @pablogila in #1980<https://github.com/mccode-dev/McCode/pull/1980>
     *   Fixed pulse normalisation for all values of n by @pablogila in #2024<https://github.com/mccode-dev/McCode/pull/2024>
     *   Simplified redundant code for the peak integral calculation by @pablogila in #2025<https://github.com/mccode-dev/McCode/pull/2025>
  *   [Bugfix and feature] Resolution sample/monitor
     *   Reso: Updates by @tweber-ill in #1992<https://github.com/mccode-dev/McCode/pull/1992>
     *   Add infrastructure to save calculated resolution/covariance matrices by @willend in #1993<https://github.com/mccode-dev/McCode/pull/1993>
     *   Sync Res_monitor <-> TOFRes_monitor by @willend in #1995<https://github.com/mccode-dev/McCode/pull/1995>
  *   [Bugfix] Add mcresplot to debian metapackage by @willend in #2022<https://github.com/mccode-dev/McCode/pull/2022>
  *   [Bugfix] Monitor_nD pixel id and buffer fix by @mads-bertelsen in #2002<https://github.com/mccode-dev/McCode/pull/2002>
  *   [Bugfix] Add exit attenuation to Incoherent.comp for finite order scattering by @Lomholy in #2042<https://github.com/mccode-dev/McCode/pull/2042>
  *   [Bugfix] Updates to Monochromator_bent from @Lomholy by @willend in #2059<https://github.com/mccode-dev/McCode/pull/2059> and #2058<https://github.com/mccode-dev/McCode/pull/2058>

McXtrace specific:

  *   [Features and bugfixes] McXtrace fluorescence:
     *   McXtrace: fix header doc in fluo sample (powder and SX) by @farhi in #1974<https://github.com/mccode-dev/McCode/pull/1974>
     *   McXtrace fluo fix pow 0 by @farhi in #1979<https://github.com/mccode-dev/McCode/pull/1979>
     *   McXtrace fluo fix 2 by @farhi in #1988<https://github.com/mccode-dev/McCode/pull/1988>
     *   McXtrace fluo fix : fix in powder select - use gaussian line shape by @farhi in #1994<https://github.com/mccode-dev/McCode/pull/1994>
     *   McXtrace: samples: fluo: add M-lines via XrayLib Kissel CSb calls by @farhi in #2004<https://github.com/mccode-dev/McCode/pull/2004>
     *   McXtrace: samples: fluo: fix again the Fluo share by @farhi in #2005<https://github.com/mccode-dev/McCode/pull/2005>
     *   McXtrace add fluo mcdisplay by @farhi in #2015<https://github.com/mccode-dev/McCode/pull/2015>
     *   McXtrace fluo add detector 0 by @farhi in #2029<https://github.com/mccode-dev/McCode/pull/2029>
  *   [Bugfix] Fix compilation of McXtrace Test_PowderN instr by @willend in #2000<https://github.com/mccode-dev/McCode/pull/2000>
  *   [Bugfixes] McXtrace various example instrument updates by @farhi in
     *   #2033<https://github.com/mccode-dev/McCode/pull/2033>, #2034<https://github.com/mccode-dev/McCode/pull/2034>, #2045<https://github.com/mccode-dev/McCode/pull/2045>, #2048<https://github.com/mccode-dev/McCode/pull/2048>, #2051<https://github.com/mccode-dev/McCode/pull/2051>, #2056<https://github.com/mccode-dev/McCode/pull/2056>, #2057<https://github.com/mccode-dev/McCode/pull/2057>
  *   [Bugfix] cif2hkl: update to solve F^2 for Xrays using latest CrysFML by @farhi in #2021<https://github.com/mccode-dev/McCode/pull/2021>
  *   [Feature]McXtrace: add SWING BL at SOLEIL by @farhi in #2036<https://github.com/mccode-dev/McCode/pull/2036>

Full Changelog: https://github.com/mccode-dev/McCode/compare/v3.5.27...v3.5.32

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: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20250617/d84c633a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20250617/d84c633a/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcxtrace.org/pipermail/mcxtrace-users/attachments/20250617/d84c633a/attachment-0003.gif>


More information about the mcxtrace-users mailing list