INFO: No output directory specified (--dir) INFO: Using directory: "MAXII_711_20251123_030238" INFO: Regenerating c-file: MAXII_711.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_711.c MAXII_711.instr Warning: 'Perfect_crystal' is an obsolete component (not maintained). CFLAGS= WARNING: The parameter format of 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 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: MAXII_711.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" MAXII_711.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. MAXII_711.c MAXII_711.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' MAXII_711.c(1811): note: consider using '%zi' in the format string MAXII_711.c(8689): error C2146: syntax error: missing ';' before identifier 'R' MAXII_711.c(8689): error C2061: syntax error: identifier 'R' MAXII_711.c(8690): error C2059: syntax error: '}' MAXII_711.c(8737): error C2079: 'rconst' uses undefined struct 't_reflec_constant' MAXII_711.c(8752): error C2061: syntax error: identifier 'refleccq' MAXII_711.c(8752): error C2059: syntax error: ';' MAXII_711.c(8752): error C2059: syntax error: '' MAXII_711.c(8756): error C2061: syntax error: identifier 'reflecc' MAXII_711.c(8756): error C2059: syntax error: ';' MAXII_711.c(8756): error C2059: syntax error: '' MAXII_711.c(8759): error C2061: syntax error: identifier 'reflec_coating' MAXII_711.c(8759): error C2059: syntax error: ';' MAXII_711.c(8759): error C2059: syntax error: '' MAXII_711.c(8761): error C2061: syntax error: identifier 'reflec_bare' MAXII_711.c(8761): error C2059: syntax error: ';' MAXII_711.c(8761): error C2059: syntax error: '' MAXII_711.c(8763): error C2061: syntax error: identifier 'reflec_q_prmtc' MAXII_711.c(8763): error C2059: syntax error: ';' MAXII_711.c(8763): error C2059: syntax error: '' MAXII_711.c(8765): error C2061: syntax error: identifier 'reflec_parratt' MAXII_711.c(8765): error C2059: syntax error: ';' MAXII_711.c(8765): error C2059: syntax error: '' MAXII_711.c(8767): error C2061: syntax error: identifier 'reflec_kinematic' MAXII_711.c(8767): error C2059: syntax error: ';' MAXII_711.c(8767): error C2059: syntax error: '' MAXII_711.c(8769): error C2061: syntax error: identifier 'parrat_reflec_bulk' MAXII_711.c(8769): error C2059: syntax error: ';' MAXII_711.c(8769): error C2059: syntax error: '' MAXII_711.c(8771): error C2061: syntax error: identifier 'reflec_eth_prmtc' MAXII_711.c(8771): error C2059: syntax error: ';' MAXII_711.c(8771): error C2059: syntax error: '' MAXII_711.c(8816): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' MAXII_711.c(8823): error C2224: left of '.R' must have struct/union type MAXII_711.c(8891): error C2224: left of '.R' must have struct/union type MAXII_711.c(8912): error C2224: left of '.R' must have struct/union type MAXII_711.c(8924): error C2224: left of '.R' must have struct/union type MAXII_711.c(9104): error C2061: syntax error: identifier 'reflec_coating' MAXII_711.c(9104): error C2059: syntax error: ';' MAXII_711.c(9104): error C2059: syntax error: '' MAXII_711.c(9136): error C2061: syntax error: identifier 'reflec_bare' MAXII_711.c(9136): error C2059: syntax error: ';' MAXII_711.c(9136): error C2059: syntax error: '' MAXII_711.c(9140): error C2061: syntax error: identifier 'reflec_kinematic' MAXII_711.c(9140): error C2059: syntax error: ';' MAXII_711.c(9140): error C2059: syntax error: '' MAXII_711.c(9150): error C2061: syntax error: identifier 'reflec_q_prmtc' MAXII_711.c(9150): error C2059: syntax error: ';' MAXII_711.c(9150): error C2059: syntax error: '' MAXII_711.c(9162): error C2061: syntax error: identifier 'reflec_eth_prmtc' MAXII_711.c(9162): error C2059: syntax error: ';' MAXII_711.c(9162): error C2059: syntax error: '' MAXII_711.c(9172): error C2061: syntax error: identifier 'reflec_parratt' MAXII_711.c(9172): error C2059: syntax error: ';' MAXII_711.c(9172): error C2059: syntax error: '' MAXII_711.c(9195): error C2061: syntax error: identifier 'parrat_reflec_bulk' MAXII_711.c(9195): error C2059: syntax error: ';' MAXII_711.c(9195): error C2059: syntax error: '' MAXII_711.c(9219): error C2061: syntax error: identifier 'refleccq' MAXII_711.c(9219): error C2059: syntax error: ';' MAXII_711.c(9219): error C2059: syntax error: '' MAXII_711.c(9277): error C2224: left of '.R' must have struct/union type MAXII_711.c(9277): error C2168: 'fabs': too few actual parameters for intrinsic function MAXII_711.c(9282): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_711.c(9282): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_711.c(9287): error C2146: syntax error: missing ';' before identifier 'rp' MAXII_711.c(9287): error C2065: 'rp': undeclared identifier MAXII_711.c(9288): error C2065: 'rp': undeclared identifier MAXII_711.c(9289): error C2065: 'rp': undeclared identifier MAXII_711.c(9289): error C2065: 'rp': undeclared identifier MAXII_711.c(9289): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_711.c(9289): warning C4024: 'conj': different types for formal and actual parameter 1 MAXII_711.c(9289): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' MAXII_711.c(9289): error C2198: 'double creal(_Dcomplex)': too few arguments for call MAXII_711.c(9294): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_711.c(9294): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_711.c(9304): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_711.c(9304): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_711.c(9309): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_711.c(9309): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_711.c(9335): error C2061: syntax error: identifier 'reflecceth' MAXII_711.c(9335): error C2059: syntax error: ';' MAXII_711.c(9335): error C2059: syntax error: '' MAXII_711.c(9407): error C2065: '_complex': undeclared identifier MAXII_711.c(9407): error C2143: syntax error: missing ';' before 'type' MAXII_711.c(9407): error C2088: built-in operator '*' cannot be applied to an operand of type '_Fcomplex' MAXII_711.c(9407): error C2198: '_Dcomplex cexp(_Dcomplex)': too few arguments for call MAXII_711.c(9407): error C2088: built-in operator '+' cannot be applied to an operand of type '_Dcomplex' MAXII_711.c(9407): error C2088: built-in operator '*' cannot be applied to an operand of type '_Fcomplex' MAXII_711.c(9407): error C2198: '_Dcomplex cexp(_Dcomplex)': too few arguments for call MAXII_711.c(9407): error C2088: built-in operator '*' cannot be applied to an operand of type '_Fcomplex' MAXII_711.c(9407): error C2198: '_Dcomplex cexp(_Dcomplex)': too few arguments for call MAXII_711.c(9407): error C2088: built-in operator '*' cannot be applied to an operand of type '_Fcomplex' MAXII_711.c(9407): error C2198: '_Dcomplex cexp(_Dcomplex)': too few arguments for call MAXII_711.c(9407): error C2088: built-in operator '+' cannot be applied to an operand of type '_Dcomplex' MAXII_711.c(9408): error C2440: 'function': cannot convert from 'double' to '_Dcomplex' MAXII_711.c(9408): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_711.c(9409): error C2440: 'function': cannot convert from 'double' to '_Dcomplex' MAXII_711.c(9409): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_711.c(9410): error C2440: 'function': cannot convert from 'double' to '_Dcomplex' MAXII_711.c(9410): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_711.c(9411): error C2440: 'function': cannot convert from 'double' to '_Dcomplex' MAXII_711.c(9411): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXII_711.c(15290): error C2146: syntax error: missing ';' before identifier 'R' MAXII_711.c(15290): error C2065: 'R': undeclared identifier MAXII_711.c(15291): error C2065: 'R': undeclared identifier MAXII_711.c(15291): error C2065: 'R': undeclared identifier MAXII_711.c(15291): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_711.c(15291): warning C4024: 'conj': different types for formal and actual parameter 1 MAXII_711.c(15291): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' MAXII_711.c(15291): error C2198: 'double creal(_Dcomplex)': too few arguments for call MAXII_711.c(15292): error C2065: 'R': undeclared identifier MAXII_711.c(15292): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXII_711.c(15292): 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_711.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 MAXII_711.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe