INFO: No output directory specified (--dir) INFO: Using directory: "templateTOF_20251212_034857" INFO: Regenerating c-file: templateTOF.c WARNING: Full-path code-generator "C:\Miniconda\envs\mcstas\bin\mcstas" not found!! WARNING: Attempting replacement by "mcstas" DEBUG: CMD: mcstas -t -o templateTOF.c templateTOF.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Container_out: EXTEND %{ if (SCATTERED) flag_container=1; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_container=1; %} ----------------------------------------------------------- ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Environment_out: EXTEND %{ if (SCATTERED) flag_env=1; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_env=1; %} ----------------------------------------------------------- CFLAGS= WARNING: --> USERVAR flag_single is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_multi is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_env is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_container is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: The parameter powder_format of Environment_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. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: mcstas finished INFO: Recompiling: templateTOF.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" templateTOF.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. templateTOF.c templateTOF.c(11594): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' templateTOF.c(11594): note: consider using '%zi' in the format string templateTOF.c(11667): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' templateTOF.c(11667): note: consider using '%zi' in the format string templateTOF.c(11719): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' templateTOF.c(11719): note: consider using '%zi' in the format string templateTOF.c(11731): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 3 has type 'size_t' templateTOF.c(11731): note: consider using '%zi' in the format string templateTOF.c(11766): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' templateTOF.c(11766): note: consider using '%zi' in the format string templateTOF.c(11780): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' templateTOF.c(11780): note: consider using '%zi' in the format string templateTOF.c(11788): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 3 has type 'size_t' templateTOF.c(11788): note: consider using '%zi' in the format string templateTOF.c(16738): 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' templateTOF.c(16739): 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:templateTOF.exe /debug msmpi.lib /LIBPATH:C:/Miniconda/envs/mcstas/Library/lib templateTOF.obj DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" finished INFO: ===