[mcxtrace-users] (Experimental) Previews of forthcoming 3.5-release

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Thu May 16 15:50:49 CEST 2024


Dear all,

If you want a sneak preview at the forthcoming McXtrace 3.5-release (see below for explanation of version-"jump"), we recommend you to try either

  *   Our conda-forge packages<https://github.com/conda-forge/mcxtrace-suite-feedstock/>
(NB: The Windows version of the package does not include MCPL and NCrystal yet)
  *   A new set of conda-based macOS app bundles<https://tmp.mcxtrace.org/macOS-conda-apps/>
(Based on conda-forge and should auto-download the newest conda-package plus dependencies)
  *   Corresponding Debian packages, Windows/MinGW package and macOS/Intel package are built on a nightly basis via GitHub action "mcxtrace-autobuild") see e.g. this latest one<https://github.com/McStasMcXtrace/McCode/actions/runs/9113129442>
(The packages are available in the "artifacts", download may require being logged in on GitHub. Somewhat confusingly, the Windows build is enclosed in the "ubuntu" artifact.)

Among the hightlights are:

  1.  New default-CFLAGS
(Gives improved simulation performance of ~ 30-40% when using gcc and/or clang on Unix platforms at the cost of 5-10% longer compile time. -
Thanks to Thomas Kittelmann for help debugging a slowdown found when using the built-in compilers on conda :-) )
  2.  Tighter integration with McStasScript<https://github.com/PaNOSC-ViNYL/McStasScript>
(mcxtrace-pygen-driven button in mcgui directly spawns JupyterLab with a generated notebook)
  3.  McStasScript<https://github.com/PaNOSC-ViNYL/McStasScript> is automatically included and configured on mac and Windows builds
  4.  We have started organising the instrument-examples<https://github.com/McStasMcXtrace/McCode/tree/main/mcxtrace-comps/examples> in a folder-structure, allowing to distribute "more than just the instrument-file" as an example.
(Case-specific datafiles or geometry-files, c-code snippets, python scripts or McStasScript notebooks welcome - we still want new comps to arrive in contrib)
  5.  New File.comp contribution from Greg Tucker, allows to use metadata blocks to store input-files for components
(e.g. for a small OFF file or other datafile - then visible alongside instr in your editor.)
  6.  ... and we are working on freshening up certain aspects of the 3D-visualisation... ;-)
(New visualisation is not yet included in the above-mentioned packages...)

Do you have new component- or instrument-developments you would like included in next release?
- Then NOW is a good time to send them. :-) We prefer of you open a PR on GitHub<https://github.com/McStasMcXtrace/McCode/pulls> but of course email-based contributions are also welcome. :-)

Finally, if you know anyone running McStas<https://www.mcstas.org/> all of the above should also work for them. And going forward, releases of McStas and McXtrace should come in pairs with the same versioning.

Greetings on behalf of the McXtrace team,

Peter


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/20240516/2601f709/attachment-0001.html>
-------------- 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/20240516/2601f709/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/20240516/2601f709/attachment-0003.gif>


More information about the mcxtrace-users mailing list