INFO: No output directory specified (--dir) INFO: Using directory: "Test_Mono_20251123_030352" INFO: Regenerating c-file: Test_Mono.c WARNING: Full-path code-generator "C:\Miniconda\envs\mcxtrace\bin\mcxtrace" not found!! WARNING: Attempting replacement by "mcxtrace" DEBUG: CMD: mcxtrace -t -o Test_Mono.c Test_Mono.instr Warning: 'Perfect_crystal' is an obsolete component (not maintained). Info: 'Bragg_crystal_BC' is a contributed component. Info: 'Bragg_crystal_bent_BC' is a contributed component. Info: 'Bragg_crystal_simple' is a contributed component. CFLAGS= -std=c99 WARNING: The parameter mosaic_AB of MonoBCsx 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 MonoBCsx 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: Test_Mono.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" Test_Mono.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' Test_Mono.c Test_Mono.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_Mono.c(1811): note: consider using '%zi' in the format string Test_Mono.c(8728): error C2065: '_complex': undeclared identifier Test_Mono.c(8728): error C2143: syntax error: missing ';' before 'type' Test_Mono.c(8728): error C2088: built-in operator '*' cannot be applied to an operand of type '_Fcomplex' Test_Mono.c(8728): error C2198: '_Dcomplex cexp(_Dcomplex)': too few arguments for call Test_Mono.c(8728): error C2088: built-in operator '+' cannot be applied to an operand of type '_Dcomplex' Test_Mono.c(8728): error C2088: built-in operator '*' cannot be applied to an operand of type '_Fcomplex' Test_Mono.c(8728): error C2198: '_Dcomplex cexp(_Dcomplex)': too few arguments for call Test_Mono.c(8728): error C2088: built-in operator '*' cannot be applied to an operand of type '_Fcomplex' Test_Mono.c(8728): error C2198: '_Dcomplex cexp(_Dcomplex)': too few arguments for call Test_Mono.c(8728): error C2088: built-in operator '*' cannot be applied to an operand of type '_Fcomplex' Test_Mono.c(8728): error C2198: '_Dcomplex cexp(_Dcomplex)': too few arguments for call Test_Mono.c(8728): error C2088: built-in operator '+' cannot be applied to an operand of type '_Dcomplex' Test_Mono.c(8729): error C2440: 'function': cannot convert from 'double' to '_Dcomplex' Test_Mono.c(8729): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_Mono.c(8730): error C2440: 'function': cannot convert from 'double' to '_Dcomplex' Test_Mono.c(8730): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_Mono.c(8731): error C2440: 'function': cannot convert from 'double' to '_Dcomplex' Test_Mono.c(8731): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_Mono.c(8732): error C2440: 'function': cannot convert from 'double' to '_Dcomplex' Test_Mono.c(8732): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_Mono.c(8778): error C2143: syntax error: missing ')' before '*' Test_Mono.c(8778): error C2143: syntax error: missing '{' before '*' Test_Mono.c(8778): error C2059: syntax error: 'type' Test_Mono.c(8781): error C2059: syntax error: ')' Test_Mono.c(8784): error C2146: syntax error: missing ')' before identifier 'kqvals' Test_Mono.c(8784): error C2061: syntax error: identifier 'kqvals' Test_Mono.c(8784): error C2059: syntax error: ';' Test_Mono.c(8784): error C2059: syntax error: '[' Test_Mono.c(8787): error C2059: syntax error: ')' Test_Mono.c(8793): error C2146: syntax error: missing ')' before identifier 'chi0' Test_Mono.c(8793): error C2061: syntax error: identifier 'chi0' Test_Mono.c(8793): error C2059: syntax error: ';' Test_Mono.c(8793): error C2059: syntax error: ',' Test_Mono.c(8794): error C2059: syntax error: ')' Test_Mono.c(8802): error C2146: syntax error: missing ')' before identifier 'chi0' Test_Mono.c(8802): error C2061: syntax error: identifier 'chi0' Test_Mono.c(8802): error C2059: syntax error: ';' Test_Mono.c(8802): error C2059: syntax error: ',' Test_Mono.c(8803): error C2059: syntax error: ')' Test_Mono.c(8829): error C2143: syntax error: missing ')' before '*' Test_Mono.c(8829): error C2143: syntax error: missing '{' before '*' Test_Mono.c(8829): error C2059: syntax error: 'type' Test_Mono.c(8832): error C2059: syntax error: ')' Test_Mono.c(8919): error C2146: syntax error: missing ')' before identifier 'chi0' Test_Mono.c(8919): error C2061: syntax error: identifier 'chi0' Test_Mono.c(8919): error C2059: syntax error: ';' Test_Mono.c(8919): error C2059: syntax error: ',' Test_Mono.c(8921): error C2059: syntax error: ')' Test_Mono.c(9002): error C2146: syntax error: missing ')' before identifier 'kqvals' Test_Mono.c(9002): error C2061: syntax error: identifier 'kqvals' Test_Mono.c(9002): error C2059: syntax error: ';' Test_Mono.c(9002): error C2059: syntax error: '[' Test_Mono.c(9005): error C2059: syntax error: ')' Test_Mono.c(9136): error C2146: syntax error: missing ')' before identifier 'chi0' Test_Mono.c(9136): error C2061: syntax error: identifier 'chi0' Test_Mono.c(9136): error C2059: syntax error: ';' Test_Mono.c(9136): error C2059: syntax error: ',' Test_Mono.c(9137): error C2059: syntax error: ')' Test_Mono.c(14658): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int' Test_Mono.c(14658): warning C4313: 'printf': '%s' in format string conflicts with argument 1 of type 'int' Test_Mono.c(14667): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int' Test_Mono.c(14667): warning C4313: 'printf': '%s' in format string conflicts with argument 1 of type 'int' Test_Mono.c(14667): warning C4477: 'printf' : format string '%i' requires an argument of type 'int', but variadic argument 2 has type 'char *' Test_Mono.c(14667): warning C4313: 'printf': '%i' in format string conflicts with argument 2 of type 'char *' Test_Mono.c(14678): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'double' Test_Mono.c(14678): warning C4477: 'printf' : format string '%g' requires an argument of type 'double', but variadic argument 3 has type 'char *' Test_Mono.c(14684): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'double' Test_Mono.c(16041): error C2146: syntax error: missing ';' before identifier 'chi0' Test_Mono.c(16041): error C2065: 'chih': undeclared identifier Test_Mono.c(16044): error C2065: 'chih': undeclared identifier Test_Mono.c(16055): error C2065: 'chih': undeclared identifier Test_Mono.c(16055): error C2065: 'chih': undeclared identifier Test_Mono.c(16288): error C2146: syntax error: missing ';' before identifier 'chi0' Test_Mono.c(16288): error C2065: 'chih': undeclared identifier Test_Mono.c(16291): error C2065: 'chih': undeclared identifier Test_Mono.c(16303): error C2065: 'chih': undeclared identifier Test_Mono.c(16303): error C2065: 'chih': undeclared identifier 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" Test_Mono.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 Test_Mono.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe