INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_DIFFABS_20251123_030258" INFO: Regenerating c-file: SOLEIL_DIFFABS.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_DIFFABS.c SOLEIL_DIFFABS.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT bragg_crystal_two: EXTEND %{ if (!SCATTERED) ABSORB; %} is overwritten by: EXTEND %{ if (!SCATTERED) ABSORB; %} ----------------------------------------------------------- Warning: Component powder=PowderN() at line SOLEIL_DIFFABS.instr:262 is 1st in GROUP samples and has a SPLIT. Best practice is to move the SPLIT to an earlier component. CFLAGS= -std=c99 @XRLFLAGS@ -DUSE_OFF -DFUNNEL WARNING: The parameter format of powder 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 mat_format of powder 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 powder ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component powder Component fluo is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component fluo -> GPU kernel from component fluo_monitor ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: SOLEIL_DIFFABS.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" SOLEIL_DIFFABS.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcxtrace/Library/include -DNDEBUG -D_POSIX_SOURCE -std=c99 /IC:\Miniconda\envs\mcxtrace/Library/include -DUSE_OFF -DFUNNEL /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/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_DIFFABS.c SOLEIL_DIFFABS.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' SOLEIL_DIFFABS.c(1811): note: consider using '%zi' in the format string SOLEIL_DIFFABS.c(8726): error C2146: syntax error: missing ';' before identifier 'R' SOLEIL_DIFFABS.c(8726): error C2061: syntax error: identifier 'R' SOLEIL_DIFFABS.c(8727): error C2059: syntax error: '}' SOLEIL_DIFFABS.c(8774): error C2079: 'rconst' uses undefined struct 't_reflec_constant' SOLEIL_DIFFABS.c(8789): error C2061: syntax error: identifier 'refleccq' SOLEIL_DIFFABS.c(8789): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8789): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8793): error C2061: syntax error: identifier 'reflecc' SOLEIL_DIFFABS.c(8793): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8793): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8796): error C2061: syntax error: identifier 'reflec_coating' SOLEIL_DIFFABS.c(8796): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8796): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8798): error C2061: syntax error: identifier 'reflec_bare' SOLEIL_DIFFABS.c(8798): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8798): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8800): error C2061: syntax error: identifier 'reflec_q_prmtc' SOLEIL_DIFFABS.c(8800): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8800): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8802): error C2061: syntax error: identifier 'reflec_parratt' SOLEIL_DIFFABS.c(8802): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8802): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8804): error C2061: syntax error: identifier 'reflec_kinematic' SOLEIL_DIFFABS.c(8804): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8804): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8806): error C2061: syntax error: identifier 'parrat_reflec_bulk' SOLEIL_DIFFABS.c(8806): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8806): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8808): error C2061: syntax error: identifier 'reflec_eth_prmtc' SOLEIL_DIFFABS.c(8808): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(8808): error C2059: syntax error: '' SOLEIL_DIFFABS.c(8853): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' SOLEIL_DIFFABS.c(8860): error C2224: left of '.R' must have struct/union type SOLEIL_DIFFABS.c(8928): error C2224: left of '.R' must have struct/union type SOLEIL_DIFFABS.c(8949): error C2224: left of '.R' must have struct/union type SOLEIL_DIFFABS.c(8961): error C2224: left of '.R' must have struct/union type SOLEIL_DIFFABS.c(9141): error C2061: syntax error: identifier 'reflec_coating' SOLEIL_DIFFABS.c(9141): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9141): error C2059: syntax error: '' SOLEIL_DIFFABS.c(9173): error C2061: syntax error: identifier 'reflec_bare' SOLEIL_DIFFABS.c(9173): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9173): error C2059: syntax error: '' SOLEIL_DIFFABS.c(9177): error C2061: syntax error: identifier 'reflec_kinematic' SOLEIL_DIFFABS.c(9177): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9177): error C2059: syntax error: '' SOLEIL_DIFFABS.c(9187): error C2061: syntax error: identifier 'reflec_q_prmtc' SOLEIL_DIFFABS.c(9187): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9187): error C2059: syntax error: '' SOLEIL_DIFFABS.c(9199): error C2061: syntax error: identifier 'reflec_eth_prmtc' SOLEIL_DIFFABS.c(9199): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9199): error C2059: syntax error: '' SOLEIL_DIFFABS.c(9209): error C2061: syntax error: identifier 'reflec_parratt' SOLEIL_DIFFABS.c(9209): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9209): error C2059: syntax error: '' SOLEIL_DIFFABS.c(9232): error C2061: syntax error: identifier 'parrat_reflec_bulk' SOLEIL_DIFFABS.c(9232): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9232): error C2059: syntax error: '' SOLEIL_DIFFABS.c(9256): error C2061: syntax error: identifier 'refleccq' SOLEIL_DIFFABS.c(9256): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9256): error C2059: syntax error: '' SOLEIL_DIFFABS.c(9314): error C2224: left of '.R' must have struct/union type SOLEIL_DIFFABS.c(9314): error C2168: 'fabs': too few actual parameters for intrinsic function SOLEIL_DIFFABS.c(9319): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DIFFABS.c(9319): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_DIFFABS.c(9324): error C2146: syntax error: missing ';' before identifier 'rp' SOLEIL_DIFFABS.c(9324): error C2065: 'rp': undeclared identifier SOLEIL_DIFFABS.c(9325): error C2065: 'rp': undeclared identifier SOLEIL_DIFFABS.c(9326): error C2065: 'rp': undeclared identifier SOLEIL_DIFFABS.c(9326): error C2065: 'rp': undeclared identifier SOLEIL_DIFFABS.c(9326): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DIFFABS.c(9326): warning C4024: 'conj': different types for formal and actual parameter 1 SOLEIL_DIFFABS.c(9326): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' SOLEIL_DIFFABS.c(9326): error C2198: 'double creal(_Dcomplex)': too few arguments for call SOLEIL_DIFFABS.c(9331): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DIFFABS.c(9331): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_DIFFABS.c(9341): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DIFFABS.c(9341): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_DIFFABS.c(9346): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DIFFABS.c(9346): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_DIFFABS.c(9372): error C2061: syntax error: identifier 'reflecceth' SOLEIL_DIFFABS.c(9372): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(9372): error C2059: syntax error: '' SOLEIL_DIFFABS.c(11107): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' SOLEIL_DIFFABS.c(11107): note: consider using '%zi' in the format string SOLEIL_DIFFABS.c(12964): error C2143: syntax error: missing ')' before '*' SOLEIL_DIFFABS.c(12964): error C2143: syntax error: missing '{' before '*' SOLEIL_DIFFABS.c(12964): error C2059: syntax error: 'type' SOLEIL_DIFFABS.c(12967): error C2059: syntax error: ')' SOLEIL_DIFFABS.c(12970): error C2146: syntax error: missing ')' before identifier 'kqvals' SOLEIL_DIFFABS.c(12970): error C2061: syntax error: identifier 'kqvals' SOLEIL_DIFFABS.c(12970): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(12970): error C2059: syntax error: '[' SOLEIL_DIFFABS.c(12973): error C2059: syntax error: ')' SOLEIL_DIFFABS.c(12979): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_DIFFABS.c(12979): error C2061: syntax error: identifier 'chi0' SOLEIL_DIFFABS.c(12979): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(12979): error C2059: syntax error: ',' SOLEIL_DIFFABS.c(12980): error C2059: syntax error: ')' SOLEIL_DIFFABS.c(12988): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_DIFFABS.c(12988): error C2061: syntax error: identifier 'chi0' SOLEIL_DIFFABS.c(12988): error C2059: syntax error: ';' SOLEIL_DIFFABS.c(12988): error C2059: syntax error: ',' SOLEIL_DIFFABS.c(12989): error C2059: syntax error: ')' SOLEIL_DIFFABS.c(13015): error C2143: syntax error: missing ')' before '*' SOLEIL_DIFFABS.c(13015): error C2143: syntax error: missing '{' before '*' SOLEIL_DIFFABS.c(13015): error C2059: syntax error: 'type' SOLEIL_DIFFABS.c(13018): error C2059: syntax error: ')' SOLEIL_DIFFABS.c(13105): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_DIFFABS.c(13105): error C2061: syntax error: identifier 'chi0' SOLEIL_DIFFABS.c(13105): 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_DIFFABS.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcxtrace/Library/include -DNDEBUG -D_POSIX_SOURCE -std=c99 /IC:\Miniconda\envs\mcxtrace/Library/include -DUSE_OFF -DFUNNEL /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/lib /LIBPATH:C:\Miniconda\envs\mcxtrace/Library/lib xrl.lib' returned non-zero exit status 2. ERROR: Compilation failed for SOLEIL_DIFFABS.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe