Skip to content

Fix for compilation failure ESS/MCPL instrument, openacc - #2597

Merged
willend merged 1 commit into
mccode-dev:mainfrom
willend:main
Aug 13, 2026
Merged

Fix for compilation failure ESS/MCPL instrument, openacc#2597
willend merged 1 commit into
mccode-dev:mainfrom
willend:main

Conversation

@willend

Copy link
Copy Markdown
Contributor

Free-form text area

Please describe what your PR is adding in terms of features or bugfixes:

Divisons must be USERVAR to function with openacc
(fix for compilation failure, https://new-nightly.mcstas.org/todays-datafiles/McStas_8GPU_openacc_mpi_x_8_1e7_Linux_20260813_0001_07_1e7/ESS_butterfly_MCPL_test/compile_stdout.txt)


Declaration of use of AI-tools

  • Please add a checkmark here if you used AI-tools during the work for this contribution
  • Furter, please describe how / where and for what the tools were used:

Development OS / boundary conditions

Please describe what OS you developed and tested your additions on, and if any special dependencies are required:


PR Checklist for contributing to McStas/McXtrace

For a coherent and useful contribution to McStas/McXtrace, please fill in relevant parts of the checklist:

  • My contribution includes patches to an existing instrument file

    • I have used the mcdoc utility and rendered a reasonable documentation page for the instrument (please attach as screenshot in comments!)
    • I have used the mctest utility to test the instrument (please attach mcviewtest report as screenshot in comments)
    • I have used the mcrun --c-lint "linter" and followed advice to remove most / all warnings that are raised
  • My contribution contains something else

    • Explanation is added in free form text above or below the checklist

@willend
willend merged commit 71b78fa into mccode-dev:mainAug 13, 2026
12 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@willend