INFO: No output directory specified (--dir) INFO: Using directory: "MAXIV_FemtoMAX_20251123_030244" INFO: Regenerating c-file: MAXIV_FemtoMAX.c WARNING: Full-path code-generator "C:\Miniconda\envs\mcxtrace\bin\mcxtrace" not found!! WARNING: Attempting replacement by "mcxtrace" DEBUG: CMD: mcxtrace -t -o MAXIV_FemtoMAX.c MAXIV_FemtoMAX.instr CFLAGS= -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: MAXIV_FemtoMAX.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" MAXIV_FemtoMAX.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' MAXIV_FemtoMAX.c MAXIV_FemtoMAX.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' MAXIV_FemtoMAX.c(1811): note: consider using '%zi' in the format string MAXIV_FemtoMAX.c(8689): error C2146: syntax error: missing ';' before identifier 'R' MAXIV_FemtoMAX.c(8689): error C2061: syntax error: identifier 'R' MAXIV_FemtoMAX.c(8690): error C2059: syntax error: '}' MAXIV_FemtoMAX.c(8737): error C2079: 'rconst' uses undefined struct 't_reflec_constant' MAXIV_FemtoMAX.c(8752): error C2061: syntax error: identifier 'refleccq' MAXIV_FemtoMAX.c(8752): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8752): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8756): error C2061: syntax error: identifier 'reflecc' MAXIV_FemtoMAX.c(8756): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8756): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8759): error C2061: syntax error: identifier 'reflec_coating' MAXIV_FemtoMAX.c(8759): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8759): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8761): error C2061: syntax error: identifier 'reflec_bare' MAXIV_FemtoMAX.c(8761): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8761): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8763): error C2061: syntax error: identifier 'reflec_q_prmtc' MAXIV_FemtoMAX.c(8763): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8763): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8765): error C2061: syntax error: identifier 'reflec_parratt' MAXIV_FemtoMAX.c(8765): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8765): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8767): error C2061: syntax error: identifier 'reflec_kinematic' MAXIV_FemtoMAX.c(8767): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8767): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8769): error C2061: syntax error: identifier 'parrat_reflec_bulk' MAXIV_FemtoMAX.c(8769): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8769): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8771): error C2061: syntax error: identifier 'reflec_eth_prmtc' MAXIV_FemtoMAX.c(8771): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(8771): error C2059: syntax error: '' MAXIV_FemtoMAX.c(8816): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' MAXIV_FemtoMAX.c(8823): error C2224: left of '.R' must have struct/union type MAXIV_FemtoMAX.c(8891): error C2224: left of '.R' must have struct/union type MAXIV_FemtoMAX.c(8912): error C2224: left of '.R' must have struct/union type MAXIV_FemtoMAX.c(8924): error C2224: left of '.R' must have struct/union type MAXIV_FemtoMAX.c(9104): error C2061: syntax error: identifier 'reflec_coating' MAXIV_FemtoMAX.c(9104): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9104): error C2059: syntax error: '' MAXIV_FemtoMAX.c(9136): error C2061: syntax error: identifier 'reflec_bare' MAXIV_FemtoMAX.c(9136): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9136): error C2059: syntax error: '' MAXIV_FemtoMAX.c(9140): error C2061: syntax error: identifier 'reflec_kinematic' MAXIV_FemtoMAX.c(9140): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9140): error C2059: syntax error: '' MAXIV_FemtoMAX.c(9150): error C2061: syntax error: identifier 'reflec_q_prmtc' MAXIV_FemtoMAX.c(9150): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9150): error C2059: syntax error: '' MAXIV_FemtoMAX.c(9162): error C2061: syntax error: identifier 'reflec_eth_prmtc' MAXIV_FemtoMAX.c(9162): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9162): error C2059: syntax error: '' MAXIV_FemtoMAX.c(9172): error C2061: syntax error: identifier 'reflec_parratt' MAXIV_FemtoMAX.c(9172): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9172): error C2059: syntax error: '' MAXIV_FemtoMAX.c(9195): error C2061: syntax error: identifier 'parrat_reflec_bulk' MAXIV_FemtoMAX.c(9195): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9195): error C2059: syntax error: '' MAXIV_FemtoMAX.c(9219): error C2061: syntax error: identifier 'refleccq' MAXIV_FemtoMAX.c(9219): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9219): error C2059: syntax error: '' MAXIV_FemtoMAX.c(9277): error C2224: left of '.R' must have struct/union type MAXIV_FemtoMAX.c(9277): error C2168: 'fabs': too few actual parameters for intrinsic function MAXIV_FemtoMAX.c(9282): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_FemtoMAX.c(9282): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXIV_FemtoMAX.c(9287): error C2146: syntax error: missing ';' before identifier 'rp' MAXIV_FemtoMAX.c(9287): error C2065: 'rp': undeclared identifier MAXIV_FemtoMAX.c(9288): error C2065: 'rp': undeclared identifier MAXIV_FemtoMAX.c(9289): error C2065: 'rp': undeclared identifier MAXIV_FemtoMAX.c(9289): error C2065: 'rp': undeclared identifier MAXIV_FemtoMAX.c(9289): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_FemtoMAX.c(9289): warning C4024: 'conj': different types for formal and actual parameter 1 MAXIV_FemtoMAX.c(9289): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' MAXIV_FemtoMAX.c(9289): error C2198: 'double creal(_Dcomplex)': too few arguments for call MAXIV_FemtoMAX.c(9294): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_FemtoMAX.c(9294): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXIV_FemtoMAX.c(9304): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_FemtoMAX.c(9304): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXIV_FemtoMAX.c(9309): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_FemtoMAX.c(9309): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXIV_FemtoMAX.c(9335): error C2061: syntax error: identifier 'reflecceth' MAXIV_FemtoMAX.c(9335): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(9335): error C2059: syntax error: '' MAXIV_FemtoMAX.c(11070): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' MAXIV_FemtoMAX.c(11070): note: consider using '%zi' in the format string MAXIV_FemtoMAX.c(12927): error C2143: syntax error: missing ')' before '*' MAXIV_FemtoMAX.c(12927): error C2143: syntax error: missing '{' before '*' MAXIV_FemtoMAX.c(12927): error C2059: syntax error: 'type' MAXIV_FemtoMAX.c(12930): error C2059: syntax error: ')' MAXIV_FemtoMAX.c(12933): error C2146: syntax error: missing ')' before identifier 'kqvals' MAXIV_FemtoMAX.c(12933): error C2061: syntax error: identifier 'kqvals' MAXIV_FemtoMAX.c(12933): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(12933): error C2059: syntax error: '[' MAXIV_FemtoMAX.c(12936): error C2059: syntax error: ')' MAXIV_FemtoMAX.c(12942): error C2146: syntax error: missing ')' before identifier 'chi0' MAXIV_FemtoMAX.c(12942): error C2061: syntax error: identifier 'chi0' MAXIV_FemtoMAX.c(12942): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(12942): error C2059: syntax error: ',' MAXIV_FemtoMAX.c(12943): error C2059: syntax error: ')' MAXIV_FemtoMAX.c(12951): error C2146: syntax error: missing ')' before identifier 'chi0' MAXIV_FemtoMAX.c(12951): error C2061: syntax error: identifier 'chi0' MAXIV_FemtoMAX.c(12951): error C2059: syntax error: ';' MAXIV_FemtoMAX.c(12951): error C2059: syntax error: ',' MAXIV_FemtoMAX.c(12952): error C2059: syntax error: ')' MAXIV_FemtoMAX.c(12978): error C2143: syntax error: missing ')' before '*' MAXIV_FemtoMAX.c(12978): error C2143: syntax error: missing '{' before '*' MAXIV_FemtoMAX.c(12978): error C2059: syntax error: 'type' MAXIV_FemtoMAX.c(12981): error C2059: syntax error: ')' MAXIV_FemtoMAX.c(13068): error C2146: syntax error: missing ')' before identifier 'chi0' MAXIV_FemtoMAX.c(13068): error C2061: syntax error: identifier 'chi0' MAXIV_FemtoMAX.c(13068): 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" MAXIV_FemtoMAX.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 MAXIV_FemtoMAX.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe