INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_LUCIA_20251123_030300" INFO: Regenerating c-file: SOLEIL_LUCIA.c WARNING: Full-path code-generator "C:\Miniconda\envs\mcxtrace\bin\mcxtrace" not found!! WARNING: Attempting replacement by "mcxtrace" DEBUG: CMD: mcxtrace -t -o SOLEIL_LUCIA.c SOLEIL_LUCIA.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT dcm_xtal1: EXTEND %{ if (!SCATTERED) ABSORB; %} is overwritten by: EXTEND %{ if (!SCATTERED) ABSORB; %} ----------------------------------------------------------- CFLAGS= @GSLFLAGS@ -DFUNNEL -std=c99 @XRLFLAGS@ -DUSE_OFF ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component source is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component source -> GPU kernel from component mon_src_xy Component sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component sample -> GPU kernel from component transmission ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: SOLEIL_LUCIA.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" SOLEIL_LUCIA.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcxtrace/Library/include -DNDEBUG -D_POSIX_SOURCE /IC:\Miniconda\envs\mcxtrace/Library/include -DFUNNEL -std=c99 /IC:\Miniconda\envs\mcxtrace/Library/include -DUSE_OFF /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/lib /LIBPATH:C:\Miniconda\envs\mcxtrace/Library/lib gsl.lib gslcblas.lib /LIBPATH:C:\Miniconda\envs\mcxtrace/Library/lib xrl.lib Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35219 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9002 : ignoring unknown option '-std=c99' SOLEIL_LUCIA.c SOLEIL_LUCIA.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' SOLEIL_LUCIA.c(1811): note: consider using '%zi' in the format string SOLEIL_LUCIA.c(8836): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' SOLEIL_LUCIA.c(8836): note: consider using '%zi' in the format string SOLEIL_LUCIA.c(12279): error C2143: syntax error: missing ')' before '*' SOLEIL_LUCIA.c(12279): error C2143: syntax error: missing '{' before '*' SOLEIL_LUCIA.c(12279): error C2059: syntax error: 'type' SOLEIL_LUCIA.c(12282): error C2059: syntax error: ')' SOLEIL_LUCIA.c(12285): error C2146: syntax error: missing ')' before identifier 'kqvals' SOLEIL_LUCIA.c(12285): error C2061: syntax error: identifier 'kqvals' SOLEIL_LUCIA.c(12285): error C2059: syntax error: ';' SOLEIL_LUCIA.c(12285): error C2059: syntax error: '[' SOLEIL_LUCIA.c(12288): error C2059: syntax error: ')' SOLEIL_LUCIA.c(12294): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_LUCIA.c(12294): error C2061: syntax error: identifier 'chi0' SOLEIL_LUCIA.c(12294): error C2059: syntax error: ';' SOLEIL_LUCIA.c(12294): error C2059: syntax error: ',' SOLEIL_LUCIA.c(12295): error C2059: syntax error: ')' SOLEIL_LUCIA.c(12303): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_LUCIA.c(12303): error C2061: syntax error: identifier 'chi0' SOLEIL_LUCIA.c(12303): error C2059: syntax error: ';' SOLEIL_LUCIA.c(12303): error C2059: syntax error: ',' SOLEIL_LUCIA.c(12304): error C2059: syntax error: ')' SOLEIL_LUCIA.c(12330): error C2143: syntax error: missing ')' before '*' SOLEIL_LUCIA.c(12330): error C2143: syntax error: missing '{' before '*' SOLEIL_LUCIA.c(12330): error C2059: syntax error: 'type' SOLEIL_LUCIA.c(12333): error C2059: syntax error: ')' SOLEIL_LUCIA.c(12420): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_LUCIA.c(12420): error C2061: syntax error: identifier 'chi0' SOLEIL_LUCIA.c(12420): error C2059: syntax error: ';' SOLEIL_LUCIA.c(12420): error C2059: syntax error: ',' SOLEIL_LUCIA.c(12422): error C2059: syntax error: ')' SOLEIL_LUCIA.c(12503): error C2146: syntax error: missing ')' before identifier 'kqvals' SOLEIL_LUCIA.c(12503): error C2061: syntax error: identifier 'kqvals' SOLEIL_LUCIA.c(12503): error C2059: syntax error: ';' SOLEIL_LUCIA.c(12503): error C2059: syntax error: '[' SOLEIL_LUCIA.c(12506): error C2059: syntax error: ')' SOLEIL_LUCIA.c(12637): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_LUCIA.c(12637): error C2061: syntax error: identifier 'chi0' SOLEIL_LUCIA.c(12637): error C2059: syntax error: ';' SOLEIL_LUCIA.c(12637): error C2059: syntax error: ',' SOLEIL_LUCIA.c(12638): error C2059: syntax error: ')' SOLEIL_LUCIA.c(15803): 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' SOLEIL_LUCIA.c(15804): 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' INFO: call to "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" failed with Command '"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" SOLEIL_LUCIA.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcxtrace/Library/include -DNDEBUG -D_POSIX_SOURCE /IC:\Miniconda\envs\mcxtrace/Library/include -DFUNNEL -std=c99 /IC:\Miniconda\envs\mcxtrace/Library/include -DUSE_OFF /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/lib /LIBPATH:C:\Miniconda\envs\mcxtrace/Library/lib gsl.lib gslcblas.lib /LIBPATH:C:\Miniconda\envs\mcxtrace/Library/lib xrl.lib' returned non-zero exit status 2. ERROR: Compilation failed for SOLEIL_LUCIA.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe