INFO: No output directory specified (--dir) INFO: Using directory: "Test_KB_20251123_030346" INFO: Regenerating c-file: Test_KB.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_KB.c Test_KB.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: Test_KB.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" Test_KB.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcxtrace/Library/include -DNDEBUG -D_POSIX_SOURCE /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. Test_KB.c Test_KB.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_KB.c(1811): note: consider using '%zi' in the format string Test_KB.c(8679): error C2146: syntax error: missing ';' before identifier 'R' Test_KB.c(8679): error C2061: syntax error: identifier 'R' Test_KB.c(8680): error C2059: syntax error: '}' Test_KB.c(8727): error C2079: 'rconst' uses undefined struct 't_reflec_constant' Test_KB.c(8742): error C2061: syntax error: identifier 'refleccq' Test_KB.c(8742): error C2059: syntax error: ';' Test_KB.c(8742): error C2059: syntax error: '' Test_KB.c(8746): error C2061: syntax error: identifier 'reflecc' Test_KB.c(8746): error C2059: syntax error: ';' Test_KB.c(8746): error C2059: syntax error: '' Test_KB.c(8749): error C2061: syntax error: identifier 'reflec_coating' Test_KB.c(8749): error C2059: syntax error: ';' Test_KB.c(8749): error C2059: syntax error: '' Test_KB.c(8751): error C2061: syntax error: identifier 'reflec_bare' Test_KB.c(8751): error C2059: syntax error: ';' Test_KB.c(8751): error C2059: syntax error: '' Test_KB.c(8753): error C2061: syntax error: identifier 'reflec_q_prmtc' Test_KB.c(8753): error C2059: syntax error: ';' Test_KB.c(8753): error C2059: syntax error: '' Test_KB.c(8755): error C2061: syntax error: identifier 'reflec_parratt' Test_KB.c(8755): error C2059: syntax error: ';' Test_KB.c(8755): error C2059: syntax error: '' Test_KB.c(8757): error C2061: syntax error: identifier 'reflec_kinematic' Test_KB.c(8757): error C2059: syntax error: ';' Test_KB.c(8757): error C2059: syntax error: '' Test_KB.c(8759): error C2061: syntax error: identifier 'parrat_reflec_bulk' Test_KB.c(8759): error C2059: syntax error: ';' Test_KB.c(8759): error C2059: syntax error: '' Test_KB.c(8761): error C2061: syntax error: identifier 'reflec_eth_prmtc' Test_KB.c(8761): error C2059: syntax error: ';' Test_KB.c(8761): error C2059: syntax error: '' Test_KB.c(8806): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' Test_KB.c(8813): error C2224: left of '.R' must have struct/union type Test_KB.c(8881): error C2224: left of '.R' must have struct/union type Test_KB.c(8902): error C2224: left of '.R' must have struct/union type Test_KB.c(8914): error C2224: left of '.R' must have struct/union type Test_KB.c(9094): error C2061: syntax error: identifier 'reflec_coating' Test_KB.c(9094): error C2059: syntax error: ';' Test_KB.c(9094): error C2059: syntax error: '' Test_KB.c(9126): error C2061: syntax error: identifier 'reflec_bare' Test_KB.c(9126): error C2059: syntax error: ';' Test_KB.c(9126): error C2059: syntax error: '' Test_KB.c(9130): error C2061: syntax error: identifier 'reflec_kinematic' Test_KB.c(9130): error C2059: syntax error: ';' Test_KB.c(9130): error C2059: syntax error: '' Test_KB.c(9140): error C2061: syntax error: identifier 'reflec_q_prmtc' Test_KB.c(9140): error C2059: syntax error: ';' Test_KB.c(9140): error C2059: syntax error: '' Test_KB.c(9152): error C2061: syntax error: identifier 'reflec_eth_prmtc' Test_KB.c(9152): error C2059: syntax error: ';' Test_KB.c(9152): error C2059: syntax error: '' Test_KB.c(9162): error C2061: syntax error: identifier 'reflec_parratt' Test_KB.c(9162): error C2059: syntax error: ';' Test_KB.c(9162): error C2059: syntax error: '' Test_KB.c(9185): error C2061: syntax error: identifier 'parrat_reflec_bulk' Test_KB.c(9185): error C2059: syntax error: ';' Test_KB.c(9185): error C2059: syntax error: '' Test_KB.c(9209): error C2061: syntax error: identifier 'refleccq' Test_KB.c(9209): error C2059: syntax error: ';' Test_KB.c(9209): error C2059: syntax error: '' Test_KB.c(9267): error C2224: left of '.R' must have struct/union type Test_KB.c(9267): error C2168: 'fabs': too few actual parameters for intrinsic function Test_KB.c(9272): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_KB.c(9272): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_KB.c(9277): error C2146: syntax error: missing ';' before identifier 'rp' Test_KB.c(9277): error C2065: 'rp': undeclared identifier Test_KB.c(9278): error C2065: 'rp': undeclared identifier Test_KB.c(9279): error C2065: 'rp': undeclared identifier Test_KB.c(9279): error C2065: 'rp': undeclared identifier Test_KB.c(9279): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_KB.c(9279): warning C4024: 'conj': different types for formal and actual parameter 1 Test_KB.c(9279): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' Test_KB.c(9279): error C2198: 'double creal(_Dcomplex)': too few arguments for call Test_KB.c(9284): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_KB.c(9284): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_KB.c(9294): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_KB.c(9294): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_KB.c(9299): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_KB.c(9299): warning C4024: 'cabs': different types for formal and actual parameter 1 Test_KB.c(9325): error C2061: syntax error: identifier 'reflecceth' Test_KB.c(9325): error C2059: syntax error: ';' Test_KB.c(9325): error C2059: syntax error: '' Test_KB.c(11139): error C2146: syntax error: missing ';' before identifier 'R' Test_KB.c(11139): error C2065: 'R': undeclared identifier Test_KB.c(11140): error C2065: 'R': undeclared identifier Test_KB.c(11140): error C2065: 'R': undeclared identifier Test_KB.c(11140): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_KB.c(11140): warning C4024: 'conj': different types for formal and actual parameter 1 Test_KB.c(11140): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' Test_KB.c(11140): error C2198: 'double creal(_Dcomplex)': too few arguments for call Test_KB.c(11141): error C2065: 'R': undeclared identifier Test_KB.c(11141): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_KB.c(11141): warning C4024: 'cimag': different types for formal and actual parameter 1 Test_KB.c(11141): error C2065: 'R': undeclared identifier Test_KB.c(11141): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' Test_KB.c(11141): warning C4024: 'creal': different types for formal and actual parameter 1 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_KB.c /DUSE_MPI /DYNAMICBASE /DWIN32 /D_WINDOWS /Zi /O2 /Ob1 /DNDEBUG /IC:/Miniconda/envs/mcxtrace/Library/include -DNDEBUG -D_POSIX_SOURCE /link msmpi.lib /LIBPATH:C:/Miniconda/envs/mcxtrace/Library/lib' returned non-zero exit status 2. ERROR: Compilation failed for Test_KB.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe