INFO: No output directory specified (--dir) INFO: Using directory: "MAXII_811_20251123_030239" INFO: Regenerating c-file: MAXII_811.c WARNING: Full-path code-generator "C:\Miniconda\envs\mcxtrace\bin\mcxtrace" not found!! WARNING: Attempting replacement by "mcxtrace" DEBUG: CMD: mcxtrace -t -o MAXII_811.c MAXII_811.instr CFLAGS= -std=c99 WARNING: The parameter format of si_sample 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 si_sample 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 si_sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component si_sample ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: MAXII_811.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" MAXII_811.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' MAXII_811.c MAXII_811.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' MAXII_811.c(1811): note: consider using '%zi' in the format string MAXII_811.c(10271): error C2146: syntax error: missing ';' before identifier 'R' MAXII_811.c(10271): error C2061: syntax error: identifier 'R' MAXII_811.c(10272): error C2059: syntax error: '}' MAXII_811.c(10319): error C2079: 'rconst' uses undefined struct 't_reflec_constant' MAXII_811.c(10334): error C2061: syntax error: identifier 'refleccq' MAXII_811.c(10334): error C2059: syntax error: ';' MAXII_811.c(10334): error C2059: syntax error: '' MAXII_811.c(10338): error C2061: syntax error: identifier 'reflecc' MAXII_811.c(10338): error C2059: syntax error: ';' MAXII_811.c(10338): error C2059: syntax error: '' MAXII_811.c(10341): error C2061: syntax error: identifier 'reflec_coating' MAXII_811.c(10341): error C2059: syntax error: ';' MAXII_811.c(10341): error C2059: syntax error: '' MAXII_811.c(10343): error C2061: syntax error: identifier 'reflec_bare' MAXII_811.c(10343): error C2059: syntax error: ';' MAXII_811.c(10343): error C2059: syntax error: '' MAXII_811.c(10345): error C2061: syntax error: identifier 'reflec_q_prmtc' MAXII_811.c(10345): error C2059: syntax error: ';' MAXII_811.c(10345): error C2059: syntax error: '' MAXII_811.c(10347): error C2061: syntax error: identifier 'reflec_parratt' MAXII_811.c(10347): error C2059: syntax error: ';' MAXII_811.c(10347): error C2059: syntax error: '' MAXII_811.c(10349): error C2061: syntax error: identifier 'reflec_kinematic' MAXII_811.c(10349): error C2059: syntax error: ';' MAXII_811.c(10349): error C2059: syntax error: '' MAXII_811.c(10351): error C2061: syntax error: identifier 'parrat_reflec_bulk' MAXII_811.c(10351): error C2059: syntax error: ';' MAXII_811.c(10351): error C2059: syntax error: '' MAXII_811.c(10353): error C2061: syntax error: identifier 'reflec_eth_prmtc' MAXII_811.c(10353): error C2059: syntax error: ';' MAXII_811.c(10353): error C2059: syntax error: '' MAXII_811.c(10398): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' MAXII_811.c(10405): error C2224: left of '.R' must have struct/union type MAXII_811.c(10473): error C2224: left of '.R' must have struct/union type MAXII_811.c(10494): error C2224: left of '.R' must have struct/union type MAXII_811.c(10506): error C2224: left of '.R' must have struct/union type MAXII_811.c(10686): error C2061: syntax error: identifier 'reflec_coating' MAXII_811.c(10686): error C2059: syntax error: ';' MAXII_811.c(10686): error C2059: syntax error: '' MAXII_811.c(10718): error C2061: syntax error: identifier 'reflec_bare' MAXII_811.c(10718): error C2059: syntax error: ';' MAXII_811.c(10718): error C2059: syntax error: '' MAXII_811.c(10722): error C2061: syntax error: identifier 'reflec_kinematic' MAXII_811.c(10722): error C2059: syntax error: ';' MAXII_811.c(10722): error C2059: syntax error: '' MAXII_811.c(10732): error C2061: syntax error: identifier 'reflec_q_prmtc' MAXII_811.c(10732): error C2059: syntax error: ';' MAXII_811.c(10732): error C2059: syntax error: '' MAXII_811.c(10744): error C2061: syntax error: identifier 'reflec_eth_prmtc' MAXII_811.c(10744): error C2059: syntax error: ';' MAXII_811.c(10744): error C2059: syntax error: '' MAXII_811.c(10754): error C2061: syntax error: identifier 'reflec_parratt' MAXII_811.c(10754): error C2059: syntax error: ';' MAXII_811.c(10754): error C2059: syntax error: '' MAXII_811.c(10777): error C2061: syntax error: identifier 'parrat_reflec_bulk' MAXII_811.c(10777): error C2059: syntax error: ';' MAXII_811.c(10777): error C2059: syntax error: '' MAXII_811.c(10801): error C2061: syntax error: identifier 'refleccq' MAXII_811.c(10801): error C2059: syntax error: ';' MAXII_811.c(10801): error C2059: syntax error: '' MAXII_811.c(10859): error C2224: left of '.R' must have struct/union type MAXII_811.c(10859): error C2168: 'fabs': too few actual parameters for intrinsic function MAXII_811.c(10864): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_811.c(10864): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_811.c(10869): error C2146: syntax error: missing ';' before identifier 'rp' MAXII_811.c(10869): error C2065: 'rp': undeclared identifier MAXII_811.c(10870): error C2065: 'rp': undeclared identifier MAXII_811.c(10871): error C2065: 'rp': undeclared identifier MAXII_811.c(10871): error C2065: 'rp': undeclared identifier MAXII_811.c(10871): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_811.c(10871): warning C4024: 'conj': different types for formal and actual parameter 1 MAXII_811.c(10871): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' MAXII_811.c(10871): error C2198: 'double creal(_Dcomplex)': too few arguments for call MAXII_811.c(10876): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_811.c(10876): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_811.c(10886): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_811.c(10886): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_811.c(10891): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_811.c(10891): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_811.c(10917): error C2061: syntax error: identifier 'reflecceth' MAXII_811.c(10917): error C2059: syntax error: ';' MAXII_811.c(10917): error C2059: syntax error: '' MAXII_811.c(10939): error C2143: syntax error: missing ')' before '*' MAXII_811.c(10939): error C2143: syntax error: missing '{' before '*' MAXII_811.c(10939): error C2059: syntax error: 'type' MAXII_811.c(10942): error C2059: syntax error: ')' MAXII_811.c(10945): error C2146: syntax error: missing ')' before identifier 'kqvals' MAXII_811.c(10945): error C2061: syntax error: identifier 'kqvals' MAXII_811.c(10945): error C2059: syntax error: ';' MAXII_811.c(10945): error C2059: syntax error: '[' MAXII_811.c(10948): error C2059: syntax error: ')' MAXII_811.c(10954): error C2146: syntax error: missing ')' before identifier 'chi0' MAXII_811.c(10954): error C2061: syntax error: identifier 'chi0' MAXII_811.c(10954): error C2059: syntax error: ';' MAXII_811.c(10954): error C2059: syntax error: ',' MAXII_811.c(10955): error C2059: syntax error: ')' MAXII_811.c(10963): error C2146: syntax error: missing ')' before identifier 'chi0' MAXII_811.c(10963): error C2061: syntax error: identifier 'chi0' MAXII_811.c(10963): error C2059: syntax error: ';' MAXII_811.c(10963): error C2059: syntax error: ',' MAXII_811.c(10964): error C2059: syntax error: ')' MAXII_811.c(10990): error C2143: syntax error: missing ')' before '*' MAXII_811.c(10990): error C2143: syntax error: missing '{' before '*' MAXII_811.c(10990): error C2059: syntax error: 'type' MAXII_811.c(10993): error C2059: syntax error: ')' MAXII_811.c(11080): error C2146: syntax error: missing ')' before identifier 'chi0' MAXII_811.c(11080): error C2061: syntax error: identifier 'chi0' MAXII_811.c(11080): 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" MAXII_811.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 MAXII_811.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe