INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_SWING_20251123_030306" INFO: Regenerating c-file: SOLEIL_SWING.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_SWING.c SOLEIL_SWING.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT dcm_xtal1: EXTEND %{ if (!SCATTERED) ABSORB; %} is overwritten by: EXTEND %{ if (!SCATTERED) ABSORB; %} ----------------------------------------------------------- Info: 'SAXSPDBFast' is a contributed component. Info: 'SAXSQMonitor' is a contributed component. CFLAGS= @GSLFLAGS@ -DFUNNEL -std=c99 ----------------------------------------------------------- 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 Component sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component sample -> GPU kernel from component sample_out ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: SOLEIL_SWING.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" SOLEIL_SWING.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_SWING.c SOLEIL_SWING.c(1824): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' SOLEIL_SWING.c(1824): note: consider using '%zi' in the format string SOLEIL_SWING.c(8862): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' SOLEIL_SWING.c(8862): note: consider using '%zi' in the format string SOLEIL_SWING.c(12305): error C2143: syntax error: missing ')' before '*' SOLEIL_SWING.c(12305): error C2143: syntax error: missing '{' before '*' SOLEIL_SWING.c(12305): error C2059: syntax error: 'type' SOLEIL_SWING.c(12308): error C2059: syntax error: ')' SOLEIL_SWING.c(12311): error C2146: syntax error: missing ')' before identifier 'kqvals' SOLEIL_SWING.c(12311): error C2061: syntax error: identifier 'kqvals' SOLEIL_SWING.c(12311): error C2059: syntax error: ';' SOLEIL_SWING.c(12311): error C2059: syntax error: '[' SOLEIL_SWING.c(12314): error C2059: syntax error: ')' SOLEIL_SWING.c(12320): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_SWING.c(12320): error C2061: syntax error: identifier 'chi0' SOLEIL_SWING.c(12320): error C2059: syntax error: ';' SOLEIL_SWING.c(12320): error C2059: syntax error: ',' SOLEIL_SWING.c(12321): error C2059: syntax error: ')' SOLEIL_SWING.c(12329): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_SWING.c(12329): error C2061: syntax error: identifier 'chi0' SOLEIL_SWING.c(12329): error C2059: syntax error: ';' SOLEIL_SWING.c(12329): error C2059: syntax error: ',' SOLEIL_SWING.c(12330): error C2059: syntax error: ')' SOLEIL_SWING.c(12356): error C2143: syntax error: missing ')' before '*' SOLEIL_SWING.c(12356): error C2143: syntax error: missing '{' before '*' SOLEIL_SWING.c(12356): error C2059: syntax error: 'type' SOLEIL_SWING.c(12359): error C2059: syntax error: ')' SOLEIL_SWING.c(12446): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_SWING.c(12446): error C2061: syntax error: identifier 'chi0' SOLEIL_SWING.c(12446): error C2059: syntax error: ';' SOLEIL_SWING.c(12446): error C2059: syntax error: ',' SOLEIL_SWING.c(12448): error C2059: syntax error: ')' SOLEIL_SWING.c(12529): error C2146: syntax error: missing ')' before identifier 'kqvals' SOLEIL_SWING.c(12529): error C2061: syntax error: identifier 'kqvals' SOLEIL_SWING.c(12529): error C2059: syntax error: ';' SOLEIL_SWING.c(12529): error C2059: syntax error: '[' SOLEIL_SWING.c(12532): error C2059: syntax error: ')' SOLEIL_SWING.c(12663): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_SWING.c(12663): error C2061: syntax error: identifier 'chi0' SOLEIL_SWING.c(12663): error C2059: syntax error: ';' SOLEIL_SWING.c(12663): error C2059: syntax error: ',' SOLEIL_SWING.c(12664): error C2059: syntax error: ')' SOLEIL_SWING.c(12917): error C2146: syntax error: missing ';' before identifier 'R' SOLEIL_SWING.c(12917): error C2061: syntax error: identifier 'R' SOLEIL_SWING.c(12918): error C2059: syntax error: '}' SOLEIL_SWING.c(12965): error C2079: 'rconst' uses undefined struct 't_reflec_constant' SOLEIL_SWING.c(12980): error C2061: syntax error: identifier 'refleccq' SOLEIL_SWING.c(12980): error C2059: syntax error: ';' SOLEIL_SWING.c(12980): error C2059: syntax error: '' SOLEIL_SWING.c(12984): error C2061: syntax error: identifier 'reflecc' SOLEIL_SWING.c(12984): error C2059: syntax error: ';' SOLEIL_SWING.c(12984): error C2059: syntax error: '' SOLEIL_SWING.c(12987): error C2061: syntax error: identifier 'reflec_coating' SOLEIL_SWING.c(12987): error C2059: syntax error: ';' SOLEIL_SWING.c(12987): error C2059: syntax error: '' SOLEIL_SWING.c(12989): error C2061: syntax error: identifier 'reflec_bare' SOLEIL_SWING.c(12989): error C2059: syntax error: ';' SOLEIL_SWING.c(12989): error C2059: syntax error: '' SOLEIL_SWING.c(12991): error C2061: syntax error: identifier 'reflec_q_prmtc' SOLEIL_SWING.c(12991): error C2059: syntax error: ';' SOLEIL_SWING.c(12991): error C2059: syntax error: '' SOLEIL_SWING.c(12993): error C2061: syntax error: identifier 'reflec_parratt' SOLEIL_SWING.c(12993): error C2059: syntax error: ';' SOLEIL_SWING.c(12993): error C2059: syntax error: '' SOLEIL_SWING.c(12995): error C2061: syntax error: identifier 'reflec_kinematic' SOLEIL_SWING.c(12995): error C2059: syntax error: ';' SOLEIL_SWING.c(12995): error C2059: syntax error: '' SOLEIL_SWING.c(12997): error C2061: syntax error: identifier 'parrat_reflec_bulk' SOLEIL_SWING.c(12997): error C2059: syntax error: ';' SOLEIL_SWING.c(12997): error C2059: syntax error: '' SOLEIL_SWING.c(12999): error C2061: syntax error: identifier 'reflec_eth_prmtc' SOLEIL_SWING.c(12999): error C2059: syntax error: ';' SOLEIL_SWING.c(12999): error C2059: syntax error: '' SOLEIL_SWING.c(13044): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' SOLEIL_SWING.c(13051): error C2224: left of '.R' must have struct/union type SOLEIL_SWING.c(13119): error C2224: left of '.R' must have struct/union type SOLEIL_SWING.c(13140): error C2224: left of '.R' must have struct/union type SOLEIL_SWING.c(13152): error C2224: left of '.R' must have struct/union type SOLEIL_SWING.c(13332): error C2061: syntax error: identifier 'reflec_coating' SOLEIL_SWING.c(13332): error C2059: syntax error: ';' SOLEIL_SWING.c(13332): error C2059: syntax error: '' SOLEIL_SWING.c(13364): error C2061: syntax error: identifier 'reflec_bare' SOLEIL_SWING.c(13364): error C2059: syntax error: ';' SOLEIL_SWING.c(13364): error C2059: syntax error: '' SOLEIL_SWING.c(13368): error C2061: syntax error: identifier 'reflec_kinematic' SOLEIL_SWING.c(13368): error C2059: syntax error: ';' SOLEIL_SWING.c(13368): error C2059: syntax error: '' SOLEIL_SWING.c(13378): error C2061: syntax error: identifier 'reflec_q_prmtc' SOLEIL_SWING.c(13378): error C2059: syntax error: ';' SOLEIL_SWING.c(13378): error C2059: syntax error: '' SOLEIL_SWING.c(13390): error C2061: syntax error: identifier 'reflec_eth_prmtc' SOLEIL_SWING.c(13390): error C2059: syntax error: ';' SOLEIL_SWING.c(13390): error C2059: syntax error: '' SOLEIL_SWING.c(13400): error C2061: syntax error: identifier 'reflec_parratt' SOLEIL_SWING.c(13400): error C2059: syntax error: ';' SOLEIL_SWING.c(13400): error C2059: syntax error: '' SOLEIL_SWING.c(13423): error C2061: syntax error: identifier 'parrat_reflec_bulk' SOLEIL_SWING.c(13423): error C2059: syntax error: ';' SOLEIL_SWING.c(13423): error C2059: syntax error: '' SOLEIL_SWING.c(13447): error C2061: syntax error: identifier 'refleccq' SOLEIL_SWING.c(13447): error C2059: syntax error: ';' SOLEIL_SWING.c(13447): error C2059: syntax error: '' SOLEIL_SWING.c(13505): error C2224: left of '.R' must have struct/union type SOLEIL_SWING.c(13505): error C2168: 'fabs': too few actual parameters for intrinsic function SOLEIL_SWING.c(13510): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_SWING.c(13510): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_SWING.c(13515): error C2146: syntax error: missing ';' before identifier 'rp' SOLEIL_SWING.c(13515): 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_SWING.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_SWING.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe