McCode icon indicating copy to clipboard operation
McCode copied to clipboard

The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.

Results 223 McCode issues
Sort by recently updated
recently updated
newest added

TOFRes_sample should use component-injected `USERVARS` as in `Res_sample`, see e.g. https://github.com/McStasMcXtrace/McCode/commit/0561e40d3cde6098cb32f659d990d8a713860582 Issue reported by Ryoichi Kajimoto via `mcstas-users` (https://mailman2.mcstas.org/pipermail/mcstas-users/2023q4/001508.html) and quoted below. Also, a test/unit-test instrument should be defined for...

ready for release
mcstas-3.4

Example: ``` ... cut ... ``` [PG3_polarised.instr.xml.txt](https://github.com/McStasMcXtrace/McCode/files/12868860/PG3_polarised.instr.xml.txt)

mcstas-3.4

## Background ### `MCPL_output` By default the `MCPL_output` component uses its own component name as its output file name. https://github.com/McStasMcXtrace/McCode/blob/e56b1e3557d5ca3b3eded624a49e1ef9a22ebfff/mcstas-comps/misc/MCPL_output.comp#L93-L97 Which seems reasonable. It then specifies (in single processor mode)...

https://github.com/McStasMcXtrace/McCode/blob/2f807a909b79f3105a770c986cf1a622b9afc212/mcstas/CMakeLists.txt#L1C1-L2C1 Causes warnings in conda builds (where CMake is brand new) like: ``` CMake Deprecation Warning at mcstas/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future...

Plus check if the string buffer limit is near.... https://new-nightly.mcxtrace.org/2023-09-26/McXtrace_CPU_MPICC_KISS_5e7/Test_SAXS/compile_stdout.txt

ready for release
mcxtrace-3.2
mcstas-3.4

Due to a new application of "particle identification" in Union, @mads-bertelsen needs unique particle identification, also across MPI nodes. For this purpose and still having access to a "simple particle...

It seems the McStas .desktop shortcut is not included with installation of 3.4 on e.g. Ubuntu. As a workaround, please run the command ```mcgui``` from within a terminal.

annonyance
mcstas-3.4

It works to add a small patch at the top of `sas_kernel_header.c` like this and attached: ``` #ifdef OPENACC # define USE_CUDA #endif ``` [sas_kernel_header.c.txt](https://github.com/McStasMcXtrace/McCode/files/12697960/sas_kernel_header.c.txt) But perhaps we should do...

mcxtrace-3.2
mcstas-3.4

Uses Conics_EH_fixed and Conics_PH_fixed-> should be Conics_EH, Conics_PH. Fixed on main in 1f1ab6dc0, download corrected instr here: https://github.com/McStasMcXtrace/McCode/blob/main/mcstas-comps/examples/WOFSANS.instr

ready for release
mcstas-3.4

Needs updated "metapackage" that refers to generic-name mcpl / ncrystal pkgs