INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_DISCO_20251123_030259" INFO: Regenerating c-file: SOLEIL_DISCO.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_DISCO.c SOLEIL_DISCO.instr Info: 'Mirror_toroid_pothole' is a contributed component. CFLAGS= -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component reflective_grating ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component reflective_grating ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: SOLEIL_DISCO.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" SOLEIL_DISCO.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcxtrace/Library/include -DNDEBUG -D_POSIX_SOURCE -std=c99 /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/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_DISCO.c SOLEIL_DISCO.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' SOLEIL_DISCO.c(1811): note: consider using '%zi' in the format string SOLEIL_DISCO.c(8730): error C2146: syntax error: missing ';' before identifier 'R' SOLEIL_DISCO.c(8730): error C2061: syntax error: identifier 'R' SOLEIL_DISCO.c(8731): error C2059: syntax error: '}' SOLEIL_DISCO.c(8778): error C2079: 'rconst' uses undefined struct 't_reflec_constant' SOLEIL_DISCO.c(8793): error C2061: syntax error: identifier 'refleccq' SOLEIL_DISCO.c(8793): error C2059: syntax error: ';' SOLEIL_DISCO.c(8793): error C2059: syntax error: '' SOLEIL_DISCO.c(8797): error C2061: syntax error: identifier 'reflecc' SOLEIL_DISCO.c(8797): error C2059: syntax error: ';' SOLEIL_DISCO.c(8797): error C2059: syntax error: '' SOLEIL_DISCO.c(8800): error C2061: syntax error: identifier 'reflec_coating' SOLEIL_DISCO.c(8800): error C2059: syntax error: ';' SOLEIL_DISCO.c(8800): error C2059: syntax error: '' SOLEIL_DISCO.c(8802): error C2061: syntax error: identifier 'reflec_bare' SOLEIL_DISCO.c(8802): error C2059: syntax error: ';' SOLEIL_DISCO.c(8802): error C2059: syntax error: '' SOLEIL_DISCO.c(8804): error C2061: syntax error: identifier 'reflec_q_prmtc' SOLEIL_DISCO.c(8804): error C2059: syntax error: ';' SOLEIL_DISCO.c(8804): error C2059: syntax error: '' SOLEIL_DISCO.c(8806): error C2061: syntax error: identifier 'reflec_parratt' SOLEIL_DISCO.c(8806): error C2059: syntax error: ';' SOLEIL_DISCO.c(8806): error C2059: syntax error: '' SOLEIL_DISCO.c(8808): error C2061: syntax error: identifier 'reflec_kinematic' SOLEIL_DISCO.c(8808): error C2059: syntax error: ';' SOLEIL_DISCO.c(8808): error C2059: syntax error: '' SOLEIL_DISCO.c(8810): error C2061: syntax error: identifier 'parrat_reflec_bulk' SOLEIL_DISCO.c(8810): error C2059: syntax error: ';' SOLEIL_DISCO.c(8810): error C2059: syntax error: '' SOLEIL_DISCO.c(8812): error C2061: syntax error: identifier 'reflec_eth_prmtc' SOLEIL_DISCO.c(8812): error C2059: syntax error: ';' SOLEIL_DISCO.c(8812): error C2059: syntax error: '' SOLEIL_DISCO.c(8857): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' SOLEIL_DISCO.c(8864): error C2224: left of '.R' must have struct/union type SOLEIL_DISCO.c(8932): error C2224: left of '.R' must have struct/union type SOLEIL_DISCO.c(8953): error C2224: left of '.R' must have struct/union type SOLEIL_DISCO.c(8965): error C2224: left of '.R' must have struct/union type SOLEIL_DISCO.c(9145): error C2061: syntax error: identifier 'reflec_coating' SOLEIL_DISCO.c(9145): error C2059: syntax error: ';' SOLEIL_DISCO.c(9145): error C2059: syntax error: '' SOLEIL_DISCO.c(9177): error C2061: syntax error: identifier 'reflec_bare' SOLEIL_DISCO.c(9177): error C2059: syntax error: ';' SOLEIL_DISCO.c(9177): error C2059: syntax error: '' SOLEIL_DISCO.c(9181): error C2061: syntax error: identifier 'reflec_kinematic' SOLEIL_DISCO.c(9181): error C2059: syntax error: ';' SOLEIL_DISCO.c(9181): error C2059: syntax error: '' SOLEIL_DISCO.c(9191): error C2061: syntax error: identifier 'reflec_q_prmtc' SOLEIL_DISCO.c(9191): error C2059: syntax error: ';' SOLEIL_DISCO.c(9191): error C2059: syntax error: '' SOLEIL_DISCO.c(9203): error C2061: syntax error: identifier 'reflec_eth_prmtc' SOLEIL_DISCO.c(9203): error C2059: syntax error: ';' SOLEIL_DISCO.c(9203): error C2059: syntax error: '' SOLEIL_DISCO.c(9213): error C2061: syntax error: identifier 'reflec_parratt' SOLEIL_DISCO.c(9213): error C2059: syntax error: ';' SOLEIL_DISCO.c(9213): error C2059: syntax error: '' SOLEIL_DISCO.c(9236): error C2061: syntax error: identifier 'parrat_reflec_bulk' SOLEIL_DISCO.c(9236): error C2059: syntax error: ';' SOLEIL_DISCO.c(9236): error C2059: syntax error: '' SOLEIL_DISCO.c(9260): error C2061: syntax error: identifier 'refleccq' SOLEIL_DISCO.c(9260): error C2059: syntax error: ';' SOLEIL_DISCO.c(9260): error C2059: syntax error: '' SOLEIL_DISCO.c(9318): error C2224: left of '.R' must have struct/union type SOLEIL_DISCO.c(9318): error C2168: 'fabs': too few actual parameters for intrinsic function SOLEIL_DISCO.c(9323): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DISCO.c(9323): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_DISCO.c(9328): error C2146: syntax error: missing ';' before identifier 'rp' SOLEIL_DISCO.c(9328): error C2065: 'rp': undeclared identifier SOLEIL_DISCO.c(9329): error C2065: 'rp': undeclared identifier SOLEIL_DISCO.c(9330): error C2065: 'rp': undeclared identifier SOLEIL_DISCO.c(9330): error C2065: 'rp': undeclared identifier SOLEIL_DISCO.c(9330): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DISCO.c(9330): warning C4024: 'conj': different types for formal and actual parameter 1 SOLEIL_DISCO.c(9330): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' SOLEIL_DISCO.c(9330): error C2198: 'double creal(_Dcomplex)': too few arguments for call SOLEIL_DISCO.c(9335): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DISCO.c(9335): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_DISCO.c(9345): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DISCO.c(9345): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_DISCO.c(9350): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' SOLEIL_DISCO.c(9350): warning C4024: 'cabs': different types for formal and actual parameter 1 SOLEIL_DISCO.c(9376): error C2061: syntax error: identifier 'reflecceth' SOLEIL_DISCO.c(9376): error C2059: syntax error: ';' SOLEIL_DISCO.c(9376): error C2059: syntax error: '' SOLEIL_DISCO.c(10927): error C2143: syntax error: missing ')' before '*' SOLEIL_DISCO.c(10927): error C2143: syntax error: missing '{' before '*' SOLEIL_DISCO.c(10927): error C2059: syntax error: 'type' SOLEIL_DISCO.c(10930): error C2059: syntax error: ')' SOLEIL_DISCO.c(10933): error C2146: syntax error: missing ')' before identifier 'kqvals' SOLEIL_DISCO.c(10933): error C2061: syntax error: identifier 'kqvals' SOLEIL_DISCO.c(10933): error C2059: syntax error: ';' SOLEIL_DISCO.c(10933): error C2059: syntax error: '[' SOLEIL_DISCO.c(10936): error C2059: syntax error: ')' SOLEIL_DISCO.c(10942): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_DISCO.c(10942): error C2061: syntax error: identifier 'chi0' SOLEIL_DISCO.c(10942): error C2059: syntax error: ';' SOLEIL_DISCO.c(10942): error C2059: syntax error: ',' SOLEIL_DISCO.c(10943): error C2059: syntax error: ')' SOLEIL_DISCO.c(10951): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_DISCO.c(10951): error C2061: syntax error: identifier 'chi0' SOLEIL_DISCO.c(10951): error C2059: syntax error: ';' SOLEIL_DISCO.c(10951): error C2059: syntax error: ',' SOLEIL_DISCO.c(10952): error C2059: syntax error: ')' SOLEIL_DISCO.c(10978): error C2143: syntax error: missing ')' before '*' SOLEIL_DISCO.c(10978): error C2143: syntax error: missing '{' before '*' SOLEIL_DISCO.c(10978): error C2059: syntax error: 'type' SOLEIL_DISCO.c(10981): error C2059: syntax error: ')' SOLEIL_DISCO.c(11068): error C2146: syntax error: missing ')' before identifier 'chi0' SOLEIL_DISCO.c(11068): error C2061: syntax error: identifier 'chi0' SOLEIL_DISCO.c(11068): 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_DISCO.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcxtrace/Library/include -DNDEBUG -D_POSIX_SOURCE -std=c99 /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/lib' returned non-zero exit status 2. ERROR: Compilation failed for SOLEIL_DISCO.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe