INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_SIXS_20251123_030305" INFO: Regenerating c-file: SOLEIL_SIXS.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_SIXS.c SOLEIL_SIXS.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 WARNING: The parameter mosaic_AB of sx_layer 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 surf_dir of sx_layer 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 sample_stage ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Source_U20 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Source_U20 -> GPU kernel from component mon_src_xy -> SPLIT within buffer at component sample_stage ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: SOLEIL_SIXS.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" SOLEIL_SIXS.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 /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/lib /LIBPATH:C:\Miniconda\envs\mcxtrace/Library/lib gsl.lib gslcblas.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_SIXS.c SOLEIL_SIXS.c(1818): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' SOLEIL_SIXS.c(1818): note: consider using '%zi' in the format string SOLEIL_SIXS.c(8860): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' SOLEIL_SIXS.c(8860): note: consider using '%zi' in the format string SOLEIL_SIXS.c(12303): error C2143: syntax error: missing ')' before '*' SOLEIL_SIXS.c(12303): error C2143: syntax error: missing '{' before '*' SOLEIL_SIXS.c(12303): error C2059: syntax error: 'type' SOLEIL_SIXS.c(12306): error C2059: syntax error: ')' SOLEIL_SIXS.c(12309): error C2146: syntax error: missing ')' before identifier 'kqvals' SOLEIL_SIXS.c(12309): error C2061: syntax error: identifier 'kqvals' SOLEIL_SIXS.c(12309): error C2059: syntax error: ';' SOLEIL_SIXS.c(12309): error C2059: syntax error: '[' SOLEIL_SIXS.c(12312): error C2059: syntax error: ')' SOLEIL_SIXS.c(12318): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_SIXS.c(12318): error C2061: syntax error: identifier 'chi0' SOLEIL_SIXS.c(12318): error C2059: syntax error: ';' SOLEIL_SIXS.c(12318): error C2059: syntax error: ',' SOLEIL_SIXS.c(12319): error C2059: syntax error: ')' SOLEIL_SIXS.c(12327): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_SIXS.c(12327): error C2061: syntax error: identifier 'chi0' SOLEIL_SIXS.c(12327): error C2059: syntax error: ';' SOLEIL_SIXS.c(12327): error C2059: syntax error: ',' SOLEIL_SIXS.c(12328): error C2059: syntax error: ')' SOLEIL_SIXS.c(12354): error C2143: syntax error: missing ')' before '*' SOLEIL_SIXS.c(12354): error C2143: syntax error: missing '{' before '*' SOLEIL_SIXS.c(12354): error C2059: syntax error: 'type' SOLEIL_SIXS.c(12357): error C2059: syntax error: ')' SOLEIL_SIXS.c(12444): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_SIXS.c(12444): error C2061: syntax error: identifier 'chi0' SOLEIL_SIXS.c(12444): error C2059: syntax error: ';' SOLEIL_SIXS.c(12444): error C2059: syntax error: ',' SOLEIL_SIXS.c(12446): error C2059: syntax error: ')' SOLEIL_SIXS.c(12527): error C2146: syntax error: missing ')' before identifier 'kqvals' SOLEIL_SIXS.c(12527): error C2061: syntax error: identifier 'kqvals' SOLEIL_SIXS.c(12527): error C2059: syntax error: ';' SOLEIL_SIXS.c(12527): error C2059: syntax error: '[' SOLEIL_SIXS.c(12530): error C2059: syntax error: ')' SOLEIL_SIXS.c(12661): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_SIXS.c(12661): error C2061: syntax error: identifier 'chi0' SOLEIL_SIXS.c(12661): error C2059: syntax error: ';' SOLEIL_SIXS.c(12661): error C2059: syntax error: ',' SOLEIL_SIXS.c(12662): error C2059: syntax error: ')' SOLEIL_SIXS.c(12915): error C2146: syntax error: missing ';' before identifier 'R' SOLEIL_SIXS.c(12915): error C2061: syntax error: identifier 'R' SOLEIL_SIXS.c(12916): error C2059: syntax error: '}' SOLEIL_SIXS.c(12963): error C2079: 'rconst' uses undefined struct 't_reflec_constant' SOLEIL_SIXS.c(12978): error C2061: syntax error: identifier 'refleccq' SOLEIL_SIXS.c(12978): error C2059: syntax error: ';' SOLEIL_SIXS.c(12978): error C2059: syntax error: '' SOLEIL_SIXS.c(12982): error C2061: syntax error: identifier 'reflecc' SOLEIL_SIXS.c(12982): error C2059: syntax error: ';' SOLEIL_SIXS.c(12982): error C2059: syntax error: '' SOLEIL_SIXS.c(12985): error C2061: syntax error: identifier 'reflec_coating' SOLEIL_SIXS.c(12985): error C2059: syntax error: ';' SOLEIL_SIXS.c(12985): error C2059: syntax error: '' SOLEIL_SIXS.c(12987): error C2061: syntax error: identifier 'reflec_bare' SOLEIL_SIXS.c(12987): error C2059: syntax error: ';' SOLEIL_SIXS.c(12987): error C2059: syntax error: '' SOLEIL_SIXS.c(12989): error C2061: syntax error: identifier 'reflec_q_prmtc' SOLEIL_SIXS.c(12989): error C2059: syntax error: ';' SOLEIL_SIXS.c(12989): error C2059: syntax error: '' SOLEIL_SIXS.c(12991): error C2061: syntax error: identifier 'reflec_parratt' SOLEIL_SIXS.c(12991): error C2059: syntax error: ';' SOLEIL_SIXS.c(12991): error C2059: syntax error: '' SOLEIL_SIXS.c(12993): error C2061: syntax error: identifier 'reflec_kinematic' SOLEIL_SIXS.c(12993): error C2059: syntax error: ';' SOLEIL_SIXS.c(12993): error C2059: syntax error: '' SOLEIL_SIXS.c(12995): error C2061: syntax error: identifier 'parrat_reflec_bulk' SOLEIL_SIXS.c(12995): error C2059: syntax error: ';' SOLEIL_SIXS.c(12995): error C2059: syntax error: '' SOLEIL_SIXS.c(12997): error C2061: syntax error: identifier 'reflec_eth_prmtc' SOLEIL_SIXS.c(12997): error C2059: syntax error: ';' SOLEIL_SIXS.c(12997): error C2059: syntax error: '' SOLEIL_SIXS.c(13042): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' SOLEIL_SIXS.c(13049): error C2224: left of '.R' must have struct/union type SOLEIL_SIXS.c(13117): error C2224: left of '.R' must have struct/union type SOLEIL_SIXS.c(13138): error C2224: left of '.R' must have struct/union type SOLEIL_SIXS.c(13150): error C2224: left of '.R' must have struct/union type SOLEIL_SIXS.c(13330): error C2061: syntax error: identifier 'reflec_coating' SOLEIL_SIXS.c(13330): error C2059: syntax error: ';' SOLEIL_SIXS.c(13330): error C2059: syntax error: '' SOLEIL_SIXS.c(13362): error C2061: syntax error: identifier 'reflec_bare' SOLEIL_SIXS.c(13362): error C2059: syntax error: ';' SOLEIL_SIXS.c(13362): error C2059: syntax error: '' SOLEIL_SIXS.c(13366): error C2061: syntax error: identifier 'reflec_kinematic' SOLEIL_SIXS.c(13366): error C2059: syntax error: ';' SOLEIL_SIXS.c(13366): error C2059: syntax error: '' SOLEIL_SIXS.c(13376): error C2061: syntax error: identifier 'reflec_q_prmtc' SOLEIL_SIXS.c(13376): error C2059: syntax error: ';' SOLEIL_SIXS.c(13376): error C2059: syntax error: '' SOLEIL_SIXS.c(13388): error C2061: syntax error: identifier 'reflec_eth_prmtc' SOLEIL_SIXS.c(13388): error C2059: syntax error: ';' SOLEIL_SIXS.c(13388): error C2059: syntax error: '' SOLEIL_SIXS.c(13398): error C2061: syntax error: identifier 'reflec_parratt' SOLEIL_SIXS.c(13398): error C2059: syntax error: ';' SOLEIL_SIXS.c(13398): error C2059: syntax error: '' SOLEIL_SIXS.c(13421): error C2061: syntax error: identifier 'parrat_reflec_bulk' SOLEIL_SIXS.c(13421): error C2059: syntax error: ';' SOLEIL_SIXS.c(13421): error C2059: syntax error: '' SOLEIL_SIXS.c(13445): error C2061: syntax error: identifier 'refleccq' SOLEIL_SIXS.c(13445): error C2059: syntax error: ';' SOLEIL_SIXS.c(13445): error C2059: syntax error: '' SOLEIL_SIXS.c(13503): error C2224: left of '.R' must have struct/union type SOLEIL_SIXS.c(13503): error C2168: 'fabs': too few actual parameters for intrinsic function SOLEIL_SIXS.c(13508): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_SIXS.c(13508): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_SIXS.c(13513): error C2146: syntax error: missing ';' before identifier 'rp' SOLEIL_SIXS.c(13513): fatal error C1003: error count exceeds 100; stopping compilation 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_SIXS.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 /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/lib /LIBPATH:C:\Miniconda\envs\mcxtrace/Library/lib gsl.lib gslcblas.lib' returned non-zero exit status 2. ERROR: Compilation failed for SOLEIL_SIXS.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe