Skip to content

Releases: mccode-dev/McCode

Release 3.5.39 ISIS 2025 McStas school + plus pre-school fixes

03 Nov 07:38
c1bfd3e

Choose a tag to compare

What's Changed

  • Run the 'autobuild' workflows for McStas and McXtrace on any new tag by @willend in #2079
  • Merge newest commit to phonon branch by @Lomholy in #2082
  • Update SANS_Spheres to align with analytical validations. by @Lomholy in #2083
  • Add in support for splitting a scan into many cpu processes by @Lomholy in #2081
  • Fix for ppc64 Linux (via conda) by @willend in #2085
  • Implement env var to override mpirun setting by @willend in #2087
  • Debugging fixes, removal of warnings by @willend in #2088
  • Implement 'cppcheck' linting support on Unix, can be utilised via mcrun or mctest by @willend in #2090
  • Missing patch required for use from Jupyter... by @willend in #2091
  • Let mcdisplay-webgl and -classic honour -d directory by @willend in #2093
  • Bump actions/checkout from 4 to 5 by @willend in #2095
  • Allow Phonon_simple to accept more than 1 solution by @Lomholy in #2094
  • Adapt test target value to new normalisation from PR #2094 by @willend in #2097
  • Fix to OFF parsing: Parser always used z=0, not actual OFF data... by @willend in #2099
  • Add in order parameter to make it possibly to use no multiple scattering by @Lomholy in #2098
  • Prototype "automated testing of modified instrs/comps" by @willend in #2100
  • Automatic CI test trigger with -1 return code in case of errors by @willend in #2101
  • Enable 'change-triggered' instrument/comp CI test also on Windows by @willend in #2102
  • Mono_bent_updates by @Lomholy in #2103
  • Adding script for flexible+convenient creation of .yml files by @tkittel in #2105
  • Nightly tests based on conda, new test/devel tool and more by @willend in #2106
  • Remove workaround for NVHPC issue, now fixed by NVIDIA by @willend in #2107
  • Minor fixes for recent contributions from Daniel Lomholt by @willend in #2108
  • Fix header typo by @willend in #2109
  • GPU-related edits for V Transmission_V_polarisator.comp and Test_StatisticalChopper.instr by @willend in #2110
  • Update note.js/vite dependency by request of dependabot by @willend in #2111
  • Minimal config change for DTU gpu box by @willend in #2113
  • Minor docstring fixes McStas samples sources by @willend in #2117
  • Docstring fixes related to McStas Monochromator_bent by @willend in #2118
  • Minor fixes, retire comps and instruments by @willend in #2116
  • Minor docstring fixes for McStas union comps by @willend in #2120
  • Minor docstring fixes in McStas misc by @willend in #2119
  • Minor fixes - deprecation of components and doc header repairs by @willend in #2115
  • Mcdoc more tolerant by @willend in #2121
  • Loads of comp header edits to populate mcdoc page properly by @willend in #2122
  • Sync from main by @willend in #2124
  • Automatically fill in "short description" if not found by mcdoc parsing by @willend in #2123
  • More instrument header fixes for McStas by @willend in #2125
  • CI: Run "full test" in case 10 or more comps/instrs have been changed. by @willend in #2126
  • Update pull_request_template.md by @willend in #2129
  • Update pull_request_template.md by @willend in #2130
  • Edits to PR template by @willend in #2131
  • Fix typos (thanks for spotting them Erik ;-) ) by @willend in #2132
  • Links to GRAMMAR and NOMENCLATURE records by @willend in #2133
  • Add tickmark for data/input file by @willend in #2134
  • Win32 "define-massage" to ensure proper execution with recent MinGW releases by @willend in #2135
  • Linter-oritented fixes in various components by @willend in #2136
  • Revise PR template for clearer checklist instructions by @willend in #2138
  • Rectification after discussion with Jan Saroun, j-loop was lost by @willend in #2137
  • Improved error-handling in mccode.py by @willend in #2139
  • Issue warning for mcdisplay 1st run + Remove duplicate rpaths on macOS by @willend in #2140
  • Increase user understanding of Generate buttion and clipboard by @willend in #2141
  • If running under conda, add env prefix when saving/loading user config by @willend in #2142
  • Fix problematic chars in component header by @willend in #2144
  • Temporarily, avoid deploying xraylib via brew on macOS 15 by @willend in #2145
  • Skip only xraylib install on macOS 15 McXtrace by @willend in #2146
  • Allow mcdoc to work with --dir . by @willend in #2147
  • Safety valve for search with filter (returned bad list in search mcdoc powder) by @willend in #2148
  • Fix NCrystal_sample 3D visualisation. by @tkittel in #2150
  • Fixes for parameter quoting issues by @tkittel in #2151
  • Add grep in "monolithic" windows builds by @willend in #2152
  • Minor doc header fixes for optics comps by @willend in #2153
  • Header fixes for McStas samples by @willend in #2154
  • Make ./devel/bin/mccode-build-conda script work with no args or bld dir by @tkittel in #2155
  • Union surface and fix of focus system by @mads-bertelsen in #2149
  • Fix SDKROOT assignment for macOS configuration by @willend in #2157
  • mcdoc header fixes for McStas contrib, misc, monitors by @willend in #2156
  • Edits for install docs, release 3.5.38 by @willend in #2158
  • Fixes condabuild script for use on macOS and potentially also Windows by @willend in #2160
  • Update NCrystal_example.instr to account for, and test, cmdline arg parsing by @tkittel in #2159
  • Update mctest with log of attained test value if test ran by @willend in #2161
  • Make beamstop components SCATTER for nicer visualisation by @tkittel in #2163
  • Qt message box for error message by @willend in #2164
  • Include all %{%} section in Arm comp(s) as we propose these as "template" comps by @willend in #2165
  • Fix mcdoc for single-file search (e.g. BNL_H8.instr) by @willend in #2166
  • -DUSE_NEXUS defines were missing for Windows / NeXus by @willend in #2167

Full Changelog: v3.5.32...v3.5.39

Release 3.5.38 for use in ISIS 2025 McStas school

28 Oct 19:04
44e5f49

Choose a tag to compare

What's Changed

  • Run the 'autobuild' workflows for McStas and McXtrace on any new tag by @willend in #2079
  • Merge newest commit to phonon branch by @Lomholy in #2082
  • Update SANS_Spheres to align with analytical validations. by @Lomholy in #2083
  • Add in support for splitting a scan into many cpu processes by @Lomholy in #2081
  • Fix for ppc64 Linux (via conda) by @willend in #2085
  • Implement env var to override mpirun setting by @willend in #2087
  • Debugging fixes, removal of warnings by @willend in #2088
  • Implement 'cppcheck' linting support on Unix, can be utilised via mcrun or mctest by @willend in #2090
  • Missing patch required for use from Jupyter... by @willend in #2091
  • Let mcdisplay-webgl and -classic honour -d directory by @willend in #2093
  • Bump actions/checkout from 4 to 5 by @willend in #2095
  • Allow Phonon_simple to accept more than 1 solution by @Lomholy in #2094
  • Adapt test target value to new normalisation from PR #2094 by @willend in #2097
  • Fix to OFF parsing: Parser always used z=0, not actual OFF data... by @willend in #2099
  • Add in order parameter to make it possibly to use no multiple scattering by @Lomholy in #2098
  • Prototype "automated testing of modified instrs/comps" by @willend in #2100
  • Automatic CI test trigger with -1 return code in case of errors by @willend in #2101
  • Enable 'change-triggered' instrument/comp CI test also on Windows by @willend in #2102
  • Mono_bent_updates by @Lomholy in #2103
  • Adding script for flexible+convenient creation of .yml files by @tkittel in #2105
  • Nightly tests based on conda, new test/devel tool and more by @willend in #2106
  • Remove workaround for NVHPC issue, now fixed by NVIDIA by @willend in #2107
  • Minor fixes for recent contributions from Daniel Lomholt by @willend in #2108
  • Fix header typo by @willend in #2109
  • GPU-related edits for V Transmission_V_polarisator.comp and Test_StatisticalChopper.instr by @willend in #2110
  • Update note.js/vite dependency by request of dependabot by @willend in #2111
  • Minimal config change for DTU gpu box by @willend in #2113
  • Minor docstring fixes McStas samples sources by @willend in #2117
  • Docstring fixes related to McStas Monochromator_bent by @willend in #2118
  • Minor fixes, retire comps and instruments by @willend in #2116
  • Minor docstring fixes for McStas union comps by @willend in #2120
  • Minor docstring fixes in McStas misc by @willend in #2119
  • Minor fixes - deprecation of components and doc header repairs by @willend in #2115
  • Mcdoc more tolerant by @willend in #2121
  • Loads of comp header edits to populate mcdoc page properly by @willend in #2122
  • Sync from main by @willend in #2124
  • Automatically fill in "short description" if not found by mcdoc parsing by @willend in #2123
  • More instrument header fixes for McStas by @willend in #2125
  • CI: Run "full test" in case 10 or more comps/instrs have been changed. by @willend in #2126
  • Update pull_request_template.md by @willend in #2129
  • Update pull_request_template.md by @willend in #2130
  • Edits to PR template by @willend in #2131
  • Fix typos (thanks for spotting them Erik ;-) ) by @willend in #2132
  • Links to GRAMMAR and NOMENCLATURE records by @willend in #2133
  • Add tickmark for data/input file by @willend in #2134
  • Win32 "define-massage" to ensure proper execution with recent MinGW releases by @willend in #2135
  • Linter-oritented fixes in various components by @willend in #2136
  • Revise PR template for clearer checklist instructions by @willend in #2138
  • Rectification after discussion with Jan Saroun, j-loop was lost by @willend in #2137
  • Improved error-handling in mccode.py by @willend in #2139
  • Issue warning for mcdisplay 1st run + Remove duplicate rpaths on macOS by @willend in #2140
  • Increase user understanding of Generate buttion and clipboard by @willend in #2141
  • If running under conda, add env prefix when saving/loading user config by @willend in #2142
  • Fix problematic chars in component header by @willend in #2144
  • Temporarily, avoid deploying xraylib via brew on macOS 15 by @willend in #2145
  • Skip only xraylib install on macOS 15 McXtrace by @willend in #2146
  • Allow mcdoc to work with --dir . by @willend in #2147
  • Safety valve for search with filter (returned bad list in search mcdoc powder) by @willend in #2148
  • Fix NCrystal_sample 3D visualisation. by @tkittel in #2150
  • Fixes for parameter quoting issues by @tkittel in #2151
  • Add grep in "monolithic" windows builds by @willend in #2152
  • Minor doc header fixes for optics comps by @willend in #2153
  • Header fixes for McStas samples by @willend in #2154
  • Make ./devel/bin/mccode-build-conda script work with no args or bld dir by @tkittel in #2155
  • Union surface and fix of focus system by @mads-bertelsen in #2149
  • Fix SDKROOT assignment for macOS configuration by @willend in #2157
  • mcdoc header fixes for McStas contrib, misc, monitors by @willend in #2156

Full Changelog: v3.5.32...v3.5.38

v3.5.37 intermediate release

03 Oct 09:28
eb1e06b

Choose a tag to compare

Main reasoning to push this release is issues with gcc-14 on Linux / conda and the previous release(s)

What's Changed

  • Run the 'autobuild' workflows for McStas and McXtrace on any new tag by @willend in #2079
  • Merge newest commit to phonon branch by @Lomholy in #2082
  • Update SANS_Spheres to align with analytical validations. by @Lomholy in #2083
  • Add in support for splitting a scan into many cpu processes by @Lomholy in #2081
  • Fix for ppc64 Linux (via conda) by @willend in #2085
  • Implement env var to override mpirun setting by @willend in #2087
  • Debugging fixes, removal of warnings by @willend in #2088
  • Implement 'cppcheck' linting support on Unix, can be utilised via mcrun or mctest by @willend in #2090
  • Missing patch required for use from Jupyter... by @willend in #2091
  • Let mcdisplay-webgl and -classic honour -d directory by @willend in #2093
  • Bump actions/checkout from 4 to 5 by @willend in #2095
  • Allow Phonon_simple to accept more than 1 solution by @Lomholy in #2094
  • Adapt test target value to new normalisation from PR #2094 by @willend in #2097
  • Fix to OFF parsing: Parser always used z=0, not actual OFF data... by @willend in #2099
  • Add in order parameter to make it possibly to use no multiple scattering by @Lomholy in #2098
  • Prototype "automated testing of modified instrs/comps" by @willend in #2100
  • Automatic CI test trigger with -1 return code in case of errors by @willend in #2101
  • Enable 'change-triggered' instrument/comp CI test also on Windows by @willend in #2102
  • Mono_bent_updates by @Lomholy in #2103
  • Adding script for flexible+convenient creation of .yml files by @tkittel in #2105
  • Nightly tests based on conda, new test/devel tool and more by @willend in #2106
  • Remove workaround for NVHPC issue, now fixed by NVIDIA by @willend in #2107
  • Minor fixes for recent contributions from Daniel Lomholt by @willend in #2108
  • Fix header typo by @willend in #2109
  • GPU-related edits for V Transmission_V_polarisator.comp and Test_StatisticalChopper.instr by @willend in #2110
  • Update note.js/vite dependency by request of dependabot by @willend in #2111
  • Minimal config change for DTU gpu box by @willend in #2113

Full Changelog: v3.5.32...v3.5.37

v3.5.36

27 Aug 12:53
3e365f4

Choose a tag to compare

What's Changed

  • Run the 'autobuild' workflows for McStas and McXtrace on any new tag by @willend in #2079
  • Merge newest commit to phonon branch by @Lomholy in #2082
  • Update SANS_Spheres to align with analytical validations. by @Lomholy in #2083
  • Add in support for splitting a scan into many cpu processes by @Lomholy in #2081
  • Fix for ppc64 Linux (via conda) by @willend in #2085
  • Implement env var to override mpirun setting by @willend in #2087
  • Debugging fixes, removal of warnings by @willend in #2088
  • Implement 'cppcheck' linting support on Unix, can be utilised via mcrun or mctest by @willend in #2090
  • Missing patch required for use from Jupyter... by @willend in #2091
  • Let mcdisplay-webgl and -classic honour -d directory by @willend in #2093
  • Bump actions/checkout from 4 to 5 by @willend in #2095
  • Allow Phonon_simple to accept more than 1 solution by @Lomholy in #2094
  • Adapt test target value to new normalisation from PR #2094 by @willend in #2097
  • Fix to OFF parsing: Parser always used z=0, not actual OFF data... by @willend in #2099
  • Add in order parameter to make it possibly to use no multiple scattering by @Lomholy in #2098
  • Prototype "automated testing of modified instrs/comps" by @willend in #2100

Full Changelog: v3.5.32...v3.5.36

Release 3.5.35

12 Aug 10:28
6084a4c

Choose a tag to compare

What's Changed

  • Run the 'autobuild' workflows for McStas and McXtrace on any new tag by @willend in #2079
  • Update SANS_Spheres to align with analytical validations. by @Lomholy in #2083
  • Add in support for splitting a scan into many cpu processes by @Lomholy in #2081
  • Fix for ppc64 Linux (via conda) by @willend in #2085
  • Implement env var to override mpirun setting by @willend in #2087
  • Debugging fixes, removal of warnings by @willend in #2088
  • Implement 'cppcheck' linting support on Unix, can be utilised via mcrun or mctest by @willend in #2090
  • Missing patch required for use from Jupyter... by @willend in #2091

Full Changelog: v3.5.32...v3.5.35

Release 3.5.34 maintenance release

06 Aug 11:13
ee6fca8

Choose a tag to compare

What's Changed

  • Run the 'autobuild' workflows for McStas and McXtrace on any new tag by @willend in #2079
  • Update SANS_Spheres to align with analytical validations. by @Lomholy in #2083
  • Add in support for splitting a scan into many cpu processes by @Lomholy in #2081
  • Fix for ppc64 Linux (via conda) by @willend in #2085
  • Implement env var to override mpirun setting by @willend in #2087
    • The above may allow us to run mpi tests in the conda CI...

Full Changelog: v3.5.32...v3.5.34

Release 3.5.33 - initial post vacation scoop-up

04 Aug 13:07
14368cd

Choose a tag to compare

What's Changed

  • Run the 'autobuild' workflows for McStas and McXtrace on any new tag by @willend in #2079
  • Update SANS_Spheres to align with analytical validations. by @Lomholy in #2083
  • Add in support for splitting a scan into many cpu processes by @Lomholy in #2081
  • Fix for ppc64 Linux (via conda) by @willend in #2085

Full Changelog: v3.5.32...v3.5.33

Release 3.5.32

17 Jun 11:54
e91475c

Choose a tag to compare

What's Changed

Common changes to McStas and McXtrace

  • Deployment, platforms and CI

  • Tools:

    • mcgui/mxgui: show current instrument name in dialogues by @farhi in #1989
    • VSCode McStas/McXtrace grammar extension
      • Update vs code extension by @Lomholy in #1975
      • Small updates to editor, as well as updated installation information by @Lomholy in #1977
      • LaTeX math (formulae etc) for mcdoc %Description headers by @willend in #2054
  • Code generator/Grammar: McStas/McXtrace, c and .py code generators defined from common set of files in mccode/src

  • New CLI default for mcstas / mcxtrace: --trace is on

    • This allows any compiled instrument to run with --trace=0 by @willend in #2010 and #2023
  • Libs and runtime

  • Components

    • Sync MCPL components McStas <-> McXtrace for MCPL 2.2.0 support by @willend in #2019
    • Update MCPL components for MCPL 2.2.0 features (including stat:sum). by @tkittel in #2046

McStas specific:

McXtrace specific:

  • McXtrace fluorescence:
    • McXtrace: fix header doc in fluo sample (powder and SX) by @farhi in #1974
    • McXtrace fluo fix pow 0 by @farhi in #1979
    • McXtrace fluo fix 2 by @farhi in #1988
    • McXtrace fluo fix : fix in powder select - use gaussian line shape by @farhi in #1994
    • McXtrace: samples: fluo: add M-lines via XrayLib Kissel CSb calls by @farhi in #2004
    • McXtrace: samples: fluo: fix again the Fluo share by @farhi in #2005
    • McXtrace add fluo mcdisplay by @farhi in #2015
    • McXtrace fluo add detector 0 by @farhi in #2029
  • Fix compilation of McXtrace Test_PowderN instr by @willend in #2000
  • McXtrace various example instrument updates by @farhi in
  • cif2hkl: update to solve F^2 for Xrays using latest CrysFML by @farhi in #2021
  • McXtrace: add SWING BL at SOLEIL by @farhi in #2036

Full Changelog: v3.5.27...v3.5.32

Release v3.5.31

16 Jun 11:10
29895c3

Choose a tag to compare

What's Changed

Common changes to McStas and McXtrace

  • Deployment, platforms and CI

  • Tools:

    • mcgui/mxgui: show current instrument name in dialogues by @farhi in #1989
    • VSCode McStas/McXtrace grammar extension
      • Update vs code extension by @Lomholy in #1975
      • Small updates to editor, as well as updated installation information by @Lomholy in #1977
      • LaTeX math (formulae etc) for mcdoc %Description headers by @willend in #2054
  • Code generator/Grammar: McStas/McXtrace, c and .py code generators defined from common set of files in mccode/src

  • New CLI default for mcstas / mcxtrace: --trace is on

    • This allows any compiled instrument to run with --trace=0 by @willend in #2010 and #2023
  • Libs and runtime

  • Components

    • Sync MCPL components McStas <-> McXtrace for MCPL 2.2.0 support by @willend in #2019
    • Update MCPL components for MCPL 2.2.0 features (including stat:sum). by @tkittel in #2046

McStas specific:

McXtrace specific:

  • McXtrace fluorescence:
    • McXtrace: fix header doc in fluo sample (powder and SX) by @farhi in #1974
    • McXtrace fluo fix pow 0 by @farhi in #1979
    • McXtrace fluo fix 2 by @farhi in #1988
    • McXtrace fluo fix : fix in powder select - use gaussian line shape by @farhi in #1994
    • McXtrace: samples: fluo: add M-lines via XrayLib Kissel CSb calls by @farhi in #2004
    • McXtrace: samples: fluo: fix again the Fluo share by @farhi in #2005
    • McXtrace add fluo mcdisplay by @farhi in #2015
    • McXtrace fluo add detector 0 by @farhi in #2029
  • Fix compilation of McXtrace Test_PowderN instr by @willend in #2000
  • McXtrace various example instrument updates by @farhi in
  • cif2hkl: update to solve F^2 for Xrays using latest CrysFML by @farhi in #2021
  • McXtrace: add SWING BL at SOLEIL by @farhi in #2036

Full Changelog: v3.5.27...v3.5.31

v3.5.29 scoop up release - various changes

13 May 13:31
54e7c52

Choose a tag to compare

What's Changed

Full Changelog: v3.5.27...v3.5.29