Skip to content

Commit 853d4f7

Browse files
authored
Merge pull request #2072 from mccode-dev/prep-for-3.5.30
PR for mostly CHANGELOG stuff 3.5.30
2 parents 3a76880 + 6bad544 commit 853d4f7

File tree

21 files changed

+192
-38
lines changed

21 files changed

+192
-38
lines changed

CHANGES_McStas

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,89 @@
5656
* Modified by: PW December 2024: version 3.5.16
5757
* Modified by: PW February 2025: version 3.5.24
5858
* Modified by: PW February 2025: version 3.5.24
59+
* Modified by: PW April 2025: version 3.5.27
60+
* Modified by: PW June 2025: version 3.5.30
5961
*
60-
* This file is part of McStas 3.5.27, released April 29th 2025.
62+
* This file is part of McStas 3.5.30, released April 29th 2025.
6163
* It gives a 'changes' list from the beginning of the project
6264
*
6365
*******************************************************************************/
66+
Changes in McStas/McXtrace 3.5.30, June 16th, 2025
67+
## What's Changed
68+
### Common changes to McStas and McXtrace
69+
* Deployment, platforms and CI
70+
* Important fix to ensure use of -c conda-forge -c nodefaults only by @willend in https://github.com/mccode-dev/McCode/pull/1976
71+
* MCPL is available for Windows on conda... by @willend in https://github.com/mccode-dev/McCode/pull/1978
72+
* Let "autobuild" CI scripts create arm64 debs for mccode.org by @willend in https://github.com/mccode-dev/McCode/pull/1981
73+
* Updated installation docs for Windows / conda by @willend in https://github.com/mccode-dev/McCode/pull/1984, https://github.com/mccode-dev/McCode/pull/1985, https://github.com/mccode-dev/McCode/pull/1986
74+
* Partial workaround for openmpi v5 crashes on macOS by @willend in https://github.com/mccode-dev/McCode/pull/1996
75+
* Install mcpl via pip in nightlies by @willend in https://github.com/mccode-dev/McCode/pull/1997
76+
* Update mcstas-testsuite.yml by @willend in https://github.com/mccode-dev/McCode/pull/1998
77+
* Suffix details by @willend in https://github.com/mccode-dev/McCode/pull/1999
78+
* Tools:
79+
* mcgui/mxgui: show current instrument name in dialogues by @farhi in https://github.com/mccode-dev/McCode/pull/1989
80+
* VSCode McStas/McXtrace grammar extension
81+
* Update vs code extension by @Lomholy in https://github.com/mccode-dev/McCode/pull/1975
82+
* Small updates to editor, as well as updated installation information by @Lomholy in https://github.com/mccode-dev/McCode/pull/1977
83+
* LaTeX math (formulae etc) for mcdoc %Description headers by @willend in https://github.com/mccode-dev/McCode/pull/2054
84+
* Code generator/Grammar: McStas/McXtrace, c and .py code generators defined from common set of files in mccode/src
85+
* Unify grammar take2 by @willend in https://github.com/mccode-dev/McCode/pull/2008
86+
* Unify instr y c py: unify our code generators for C and Python by @farhi in https://github.com/mccode-dev/McCode/pull/2009
87+
* Grammar multiple comp copy extend by @farhi in https://github.com/mccode-dev/McCode/pull/2012 (-> `INHERIT`)
88+
* NEW `INHERIT` keyword in the component grammar: Allows to mix and match component sections from multiple components to achieve new functionality. For an example, see
89+
* FluoPowder in McXtrace
90+
* https://github.com/mccode-dev/McCode/blob/main/doc/GRAMMAR/ADR-records/ADR_20250612_INHERIT_COMP.md
91+
* Edits by @farhi and @willend in https://github.com/mccode-dev/McCode/pull/2062
92+
* Add ADR (Architectural Design Record) doc folder for proposed, accepted, rejected, deprecated, superseded changes of McCode GRAMMAR by @willend in https://github.com/mccode-dev/McCode/pull/2064
93+
* Put in place folder for grammar documentation by @willend in https://github.com/mccode-dev/McCode/pull/2070
94+
95+
* New CLI default for mcstas / mcxtrace: --trace is on
96+
* This allows any compiled instrument to run with --trace=0 by @willend in https://github.com/mccode-dev/McCode/pull/2010 and https://github.com/mccode-dev/McCode/pull/2023
97+
* Libs and runtime
98+
* Add Open_File in header (used from e.g. PowderN) by @willend in https://github.com/mccode-dev/McCode/pull/2014
99+
* Wrap cabs in OpenACC settings by @willend in https://github.com/mccode-dev/McCode/pull/2016
100+
* Swap default trace behaviour to 'enabled' by @willend in https://github.com/mccode-dev/McCode/pull/2023
101+
* cif2hkl: update to solve F^2 for Xrays using latest CrysFML by @farhi in https://github.com/mccode-dev/McCode/pull/2021
102+
* Openacc minor rectifications by @willend in https://github.com/mccode-dev/McCode/pull/2027
103+
* Components
104+
* Sync MCPL components McStas <-> McXtrace for MCPL 2.2.0 support by @willend in https://github.com/mccode-dev/McCode/pull/2019
105+
* Update MCPL components for MCPL 2.2.0 features (including stat:sum). by @tkittel in https://github.com/mccode-dev/McCode/pull/2046
106+
107+
### McStas specific:
108+
* Source_custom
109+
* Fixed minor typo in docs by @pablogila in https://github.com/mccode-dev/McCode/pull/1980
110+
* Fixed pulse normalisation for all values of n by @pablogila in https://github.com/mccode-dev/McCode/pull/2024
111+
* Simplified redundant code for the peak integral calculation by @pablogila in https://github.com/mccode-dev/McCode/pull/2025
112+
* Single_crystal: comments by @tweber-ill in https://github.com/mccode-dev/McCode/pull/1991
113+
* Resolution sample/monitor
114+
* Reso: Updates by @tweber-ill in https://github.com/mccode-dev/McCode/pull/1992
115+
* Add infrastructure to save calculated resolution/covariance matrices … by @willend in https://github.com/mccode-dev/McCode/pull/1993
116+
* Sync Res_monitor <-> TOFRes_monitor by @willend in https://github.com/mccode-dev/McCode/pull/1995
117+
* Add mcresplot to debian metapackage by @willend in https://github.com/mccode-dev/McCode/pull/2022
118+
* Monitor_nD pixel id and buffer fix by @mads-bertelsen in https://github.com/mccode-dev/McCode/pull/2002
119+
* Add mcresplot to debian metapackage by @willend in https://github.com/mccode-dev/McCode/pull/2022
120+
* Add exit attenuation to Incoherent.comp for finite order scattering by @Lomholy in https://github.com/mccode-dev/McCode/pull/2042
121+
* Updates to Monochromator_bent from @Lomholy by @willend in https://github.com/mccode-dev/McCode/pull/2059 and https://github.com/mccode-dev/McCode/pull/2058
122+
123+
### McXtrace specific:
124+
* McXtrace fluorescence:
125+
* McXtrace: fix header doc in fluo sample (powder and SX) by @farhi in https://github.com/mccode-dev/McCode/pull/1974
126+
* McXtrace fluo fix pow 0 by @farhi in https://github.com/mccode-dev/McCode/pull/1979
127+
* McXtrace fluo fix 2 by @farhi in https://github.com/mccode-dev/McCode/pull/1988
128+
* McXtrace fluo fix : fix in powder select - use gaussian line shape by @farhi in https://github.com/mccode-dev/McCode/pull/1994
129+
* McXtrace: samples: fluo: add M-lines via XrayLib Kissel CSb calls by @farhi in https://github.com/mccode-dev/McCode/pull/2004
130+
* McXtrace: samples: fluo: fix again the Fluo share by @farhi in https://github.com/mccode-dev/McCode/pull/2005
131+
* McXtrace add fluo mcdisplay by @farhi in https://github.com/mccode-dev/McCode/pull/2015
132+
* McXtrace fluo add detector 0 by @farhi in https://github.com/mccode-dev/McCode/pull/2029
133+
* Fix compilation of McXtrace Test_PowderN instr by @willend in https://github.com/mccode-dev/McCode/pull/2000
134+
* McXtrace various example instrument updates by @farhi in
135+
* https://github.com/mccode-dev/McCode/pull/2033, https://github.com/mccode-dev/McCode/pull/2034, https://github.com/mccode-dev/McCode/pull/2045, https://github.com/mccode-dev/McCode/pull/2048, https://github.com/mccode-dev/McCode/pull/2051, https://github.com/mccode-dev/McCode/pull/2056, https://github.com/mccode-dev/McCode/pull/2057
136+
* cif2hkl: update to solve F^2 for Xrays using latest CrysFML by @farhi in https://github.com/mccode-dev/McCode/pull/2021
137+
* McXtrace: add SWING BL at SOLEIL by @farhi in https://github.com/mccode-dev/McCode/pull/2036
138+
139+
**Full Changelog**: https://github.com/mccode-dev/McCode/compare/v3.5.27...v3.5.30
140+
141+
64142
Changes in McStas/McXtrace 3.5.27, April 29th, 2025
65143
## What's Changed
66144

CHANGES_McXtrace

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,82 @@
1515
*
1616
* Documentation: CHANGES_McXtrace
1717
*************************************************************************/
18+
Changes in McStas/McXtrace 3.5.30, June 16th, 2025
19+
## What's Changed
20+
### Common changes to McStas and McXtrace
21+
* Deployment, platforms and CI
22+
* Important fix to ensure use of -c conda-forge -c nodefaults only by @willend in https://github.com/mccode-dev/McCode/pull/1976
23+
* MCPL is available for Windows on conda... by @willend in https://github.com/mccode-dev/McCode/pull/1978
24+
* Let "autobuild" CI scripts create arm64 debs for mccode.org by @willend in https://github.com/mccode-dev/McCode/pull/1981
25+
* Updated installation docs for Windows / conda by @willend in https://github.com/mccode-dev/McCode/pull/1984, https://github.com/mccode-dev/McCode/pull/1985, https://github.com/mccode-dev/McCode/pull/1986
26+
* Partial workaround for openmpi v5 crashes on macOS by @willend in https://github.com/mccode-dev/McCode/pull/1996
27+
* Install mcpl via pip in nightlies by @willend in https://github.com/mccode-dev/McCode/pull/1997
28+
* Update mcstas-testsuite.yml by @willend in https://github.com/mccode-dev/McCode/pull/1998
29+
* Suffix details by @willend in https://github.com/mccode-dev/McCode/pull/1999
30+
* Tools:
31+
* mcgui/mxgui: show current instrument name in dialogues by @farhi in https://github.com/mccode-dev/McCode/pull/1989
32+
* VSCode McStas/McXtrace grammar extension
33+
* Update vs code extension by @Lomholy in https://github.com/mccode-dev/McCode/pull/1975
34+
* Small updates to editor, as well as updated installation information by @Lomholy in https://github.com/mccode-dev/McCode/pull/1977
35+
* LaTeX math (formulae etc) for mcdoc %Description headers by @willend in https://github.com/mccode-dev/McCode/pull/2054
36+
* Code generator/Grammar: McStas/McXtrace, c and .py code generators defined from common set of files in mccode/src
37+
* Unify grammar take2 by @willend in https://github.com/mccode-dev/McCode/pull/2008
38+
* Unify instr y c py: unify our code generators for C and Python by @farhi in https://github.com/mccode-dev/McCode/pull/2009
39+
* Grammar multiple comp copy extend by @farhi in https://github.com/mccode-dev/McCode/pull/2012 (-> `INHERIT`)
40+
* NEW `INHERIT` keyword in the component grammar: Allows to mix and match component sections from multiple components to achieve new functionality. For an example, see
41+
* FluoPowder in McXtrace
42+
* https://github.com/mccode-dev/McCode/blob/main/doc/GRAMMAR/ADR-records/ADR_20250612_INHERIT_COMP.md
43+
* Edits by @farhi and @willend in https://github.com/mccode-dev/McCode/pull/2062
44+
* Add ADR (Architectural Design Record) doc folder for proposed, accepted, rejected, deprecated, superseded changes of McCode GRAMMAR by @willend in https://github.com/mccode-dev/McCode/pull/2064
45+
* Put in place folder for grammar documentation by @willend in https://github.com/mccode-dev/McCode/pull/2070
46+
47+
* New CLI default for mcstas / mcxtrace: --trace is on
48+
* This allows any compiled instrument to run with --trace=0 by @willend in https://github.com/mccode-dev/McCode/pull/2010 and https://github.com/mccode-dev/McCode/pull/2023
49+
* Libs and runtime
50+
* Add Open_File in header (used from e.g. PowderN) by @willend in https://github.com/mccode-dev/McCode/pull/2014
51+
* Wrap cabs in OpenACC settings by @willend in https://github.com/mccode-dev/McCode/pull/2016
52+
* Swap default trace behaviour to 'enabled' by @willend in https://github.com/mccode-dev/McCode/pull/2023
53+
* cif2hkl: update to solve F^2 for Xrays using latest CrysFML by @farhi in https://github.com/mccode-dev/McCode/pull/2021
54+
* Openacc minor rectifications by @willend in https://github.com/mccode-dev/McCode/pull/2027
55+
* Components
56+
* Sync MCPL components McStas <-> McXtrace for MCPL 2.2.0 support by @willend in https://github.com/mccode-dev/McCode/pull/2019
57+
* Update MCPL components for MCPL 2.2.0 features (including stat:sum). by @tkittel in https://github.com/mccode-dev/McCode/pull/2046
58+
59+
### McStas specific:
60+
* Source_custom
61+
* Fixed minor typo in docs by @pablogila in https://github.com/mccode-dev/McCode/pull/1980
62+
* Fixed pulse normalisation for all values of n by @pablogila in https://github.com/mccode-dev/McCode/pull/2024
63+
* Simplified redundant code for the peak integral calculation by @pablogila in https://github.com/mccode-dev/McCode/pull/2025
64+
* Single_crystal: comments by @tweber-ill in https://github.com/mccode-dev/McCode/pull/1991
65+
* Resolution sample/monitor
66+
* Reso: Updates by @tweber-ill in https://github.com/mccode-dev/McCode/pull/1992
67+
* Add infrastructure to save calculated resolution/covariance matrices … by @willend in https://github.com/mccode-dev/McCode/pull/1993
68+
* Sync Res_monitor <-> TOFRes_monitor by @willend in https://github.com/mccode-dev/McCode/pull/1995
69+
* Add mcresplot to debian metapackage by @willend in https://github.com/mccode-dev/McCode/pull/2022
70+
* Monitor_nD pixel id and buffer fix by @mads-bertelsen in https://github.com/mccode-dev/McCode/pull/2002
71+
* Add mcresplot to debian metapackage by @willend in https://github.com/mccode-dev/McCode/pull/2022
72+
* Add exit attenuation to Incoherent.comp for finite order scattering by @Lomholy in https://github.com/mccode-dev/McCode/pull/2042
73+
* Updates to Monochromator_bent from @Lomholy by @willend in https://github.com/mccode-dev/McCode/pull/2059 and https://github.com/mccode-dev/McCode/pull/2058
74+
75+
### McXtrace specific:
76+
* McXtrace fluorescence:
77+
* McXtrace: fix header doc in fluo sample (powder and SX) by @farhi in https://github.com/mccode-dev/McCode/pull/1974
78+
* McXtrace fluo fix pow 0 by @farhi in https://github.com/mccode-dev/McCode/pull/1979
79+
* McXtrace fluo fix 2 by @farhi in https://github.com/mccode-dev/McCode/pull/1988
80+
* McXtrace fluo fix : fix in powder select - use gaussian line shape by @farhi in https://github.com/mccode-dev/McCode/pull/1994
81+
* McXtrace: samples: fluo: add M-lines via XrayLib Kissel CSb calls by @farhi in https://github.com/mccode-dev/McCode/pull/2004
82+
* McXtrace: samples: fluo: fix again the Fluo share by @farhi in https://github.com/mccode-dev/McCode/pull/2005
83+
* McXtrace add fluo mcdisplay by @farhi in https://github.com/mccode-dev/McCode/pull/2015
84+
* McXtrace fluo add detector 0 by @farhi in https://github.com/mccode-dev/McCode/pull/2029
85+
* Fix compilation of McXtrace Test_PowderN instr by @willend in https://github.com/mccode-dev/McCode/pull/2000
86+
* McXtrace various example instrument updates by @farhi in
87+
* https://github.com/mccode-dev/McCode/pull/2033, https://github.com/mccode-dev/McCode/pull/2034, https://github.com/mccode-dev/McCode/pull/2045, https://github.com/mccode-dev/McCode/pull/2048, https://github.com/mccode-dev/McCode/pull/2051, https://github.com/mccode-dev/McCode/pull/2056, https://github.com/mccode-dev/McCode/pull/2057
88+
* cif2hkl: update to solve F^2 for Xrays using latest CrysFML by @farhi in https://github.com/mccode-dev/McCode/pull/2021
89+
* McXtrace: add SWING BL at SOLEIL by @farhi in https://github.com/mccode-dev/McCode/pull/2036
90+
91+
**Full Changelog**: https://github.com/mccode-dev/McCode/compare/v3.5.27...v3.5.30
92+
93+
1894
Changes in McStas/McXtrace 3.5.27, April 29th, 2025
1995
## What's Changed
2096

INSTALL-McStas/Docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Running McStas and McXtrace 3.5.27 in Docker / podman etc.
1+
# Running McStas and McXtrace 3.5.30 in Docker / podman etc.
22

33
The container definition is available at [here](https://github.com/willend/jupyter-remote-desktop-proxy/tree/mcstas-mcxtrace-3.5) and is further on dockerhub under docker.io/mccode/mcstas-mcxtrace
44

INSTALL-McStas/Linux/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Install McStas 3.5.27 on Linux and Unix.
1+
# Install McStas 3.5.30 on Linux and Unix.
22

33
* We provide Debian packages, RedHat packages, and tar.gz's of "preconfigured" source code.
44

INSTALL-McStas/Linux/debian/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Install McStas 3.5.27 On Debian class systems (including Ubuntu, mint etc.):
1+
## Install McStas 3.5.30 On Debian class systems (including Ubuntu, mint etc.):
22
The packages have been tested to work correctly on Ubuntu 24.04.
33

44
# Add the McCode repository
@@ -29,7 +29,7 @@ mcstas-tools-python-mcplot-pyqtgraph - python-tools-mcplot-pyqtgraph built using
2929
mcstas-tools-python-mcrun - python-tools-mcrun built using CMake
3030
```
3131
The meta-package mcstas-suite-python (or mcstas-suite-python-ng)
32-
allows you to install mcstas 3.5.27 with tools (mcrun/mcplot etc.) by
32+
allows you to install mcstas 3.5.30 with tools (mcrun/mcplot etc.) by
3333
the simple apt-get command
3434
```bash
3535
sudo apt-get install mcstas-suite-python

INSTALL-McStas/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation instructions for McStas 3.5.27
1+
# Installation instructions for McStas 3.5.30
22

33
Please consult the individual platform instructions:
44

INSTALL-McStas/Windows/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation of McStas 3.5.27 on Windows 64 bit Intel systems (some support for arm64)
1+
# Installation of McStas 3.5.30 on Windows 64 bit Intel systems (some support for arm64)
22
## *IMPORTANT: active internet connection required during installation*
33

44
* Please use either of:
@@ -8,7 +8,7 @@
88
* Once install has completed, please use the `mcstas-shell` shortcut on the desktop - issue terminal command `mcgui` to start the McStas GUI.
99
* Option 1 *may* function `arm64` Windows, but will require installation of Visual Studio including both arm64 and x64_64 build tools for c++.
1010
2. **Legacy:**
11-
* install the legacy-style MinGW based [McStas 3.5.27 metapackage](https://download.mcstas.org/mcstas-3.5.27/Windows/McStas-Metapackage-3.5.27-win64.exe) - now includes MCPL.
11+
* install the legacy-style MinGW based [McStas 3.5.30 metapackage](https://download.mcstas.org/mcstas-3.5.30/Windows/McStas-Metapackage-3.5.30-win64.exe) - now includes MCPL.
1212
* Option 2 should be fully functional on `arm64` processors.
1313
3. **WSL:**
1414
* Use the directions available in [WSL](WSL/README.md) to install the "Windows subsystem for Linux" and run the Linux Debian binaries there.

INSTALL-McStas/Windows/WSL/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation of McStas 3.5.27 on Windows 64 bit systems - using WSL
1+
# Installation of McStas 3.5.30 on Windows 64 bit systems - using WSL
22
*(WSL is the Windows Subsystem for Linux, aka. bash on Ubuntu on Windows)*
33

44

@@ -11,7 +11,7 @@ available, but we recommend Ubuntu)
1111
* To open it again later, simply issue bash in a terminal or through
1212
the start menu
1313

14-
## Install the McStas 3.5.27 Debian packages
14+
## Install the McStas 3.5.30 Debian packages
1515
* Follow the
1616
[normal Debian installation instructions](../../Linux/debian/README.md)
1717
- essentially a matter of sudo apt-get install mcstas-suite-python

INSTALL-McStas/conda/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Install McStas 3.5.27 through conda-forge (macOS, Linux or Windows host)
1+
# Install McStas 3.5.30 through conda-forge (macOS, Linux or Windows host)
22

3-
* We a set of conda-packages for installing McStas 3.5.27.x through conda
3+
* We a set of conda-packages for installing McStas 3.5.30.x through conda
44

55
## Get yourself a conda / mamba
66
Due to the complex [licensing situation](https://discuss.scientific-python.org/t/response-to-anaconda-switch-to-paid-plans/1395) with the commercial Anaconda ecosystem, we clearly recommend McStas users to start from an open-source entry-point such as

0 commit comments

Comments
 (0)