INFO: No output directory specified (--dir) INFO: Using directory: "ILL_Lagrange_20251212_034330" INFO: Regenerating c-file: ILL_Lagrange.c WARNING: Full-path code-generator "C:\Miniconda\envs\mcstas\bin\mcstas" not found!! WARNING: Attempting replacement by "mcstas" DEBUG: CMD: mcstas -t -o ILL_Lagrange.c ILL_Lagrange.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT cryostat_out: EXTEND %{ if (SCATTERED) flag_env++; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_env++; RotateNeutron = RAD2DEG*atan2(vx,vz); %} ----------------------------------------------------------- Warning: Component Analyser=Monochromator_curved() at line ILL_Lagrange.instr:257 is 1st in GROUP POSTsample and has a SPLIT. Best practice is to move the SPLIT to an earlier component. CFLAGS= --> Added COMPONENT Monok USERVAR ncol_6 with type int --> Added COMPONENT Monok USERVAR nrow_6 with type int --> Added COMPONENT Analyser USERVAR ncol_19 with type int --> Added COMPONENT Analyser USERVAR nrow_19 with type int WARNING: The parameter format of cryostat_in is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter powder_format of Sample is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component Monok -> SPLIT N at component SamplePosition -> SPLIT N at component Analyser ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Monok -> SPLIT within buffer at component SamplePosition -> SPLIT within buffer at component Analyser ----------------------------------------------------------- DEBUG: CMD: mcstas finished INFO: Recompiling: ILL_Lagrange.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" ILL_Lagrange.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcstas/Library/include -DNDEBUG -D_POSIX_SOURCE /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcstas/Library/lib Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35221 for x64 Copyright (C) Microsoft Corporation. All rights reserved. ILL_Lagrange.c ILL_Lagrange.c(14425): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' ILL_Lagrange.c(14425): note: consider using '%zi' in the format string ILL_Lagrange.c(14498): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' ILL_Lagrange.c(14498): note: consider using '%zi' in the format string ILL_Lagrange.c(14550): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' ILL_Lagrange.c(14550): note: consider using '%zi' in the format string ILL_Lagrange.c(14562): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 3 has type 'size_t' ILL_Lagrange.c(14562): note: consider using '%zi' in the format string ILL_Lagrange.c(14597): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' ILL_Lagrange.c(14597): note: consider using '%zi' in the format string ILL_Lagrange.c(14611): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' ILL_Lagrange.c(14611): note: consider using '%zi' in the format string ILL_Lagrange.c(14619): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 3 has type 'size_t' ILL_Lagrange.c(14619): note: consider using '%zi' in the format string ILL_Lagrange.c(18094): warning C4005: 'min': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\stdlib.h(1283): note: see previous definition of 'min' ILL_Lagrange.c(18095): warning C4005: 'max': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\stdlib.h(1282): note: see previous definition of 'max' Microsoft (R) Incremental Linker Version 14.44.35221.0 Copyright (C) Microsoft Corporation. All rights reserved. /out:ILL_Lagrange.exe /debug msmpi.lib /LIBPATH:C:/Miniconda/envs/mcstas/Library/lib ILL_Lagrange.obj DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" finished INFO: ===