INFO: No output directory specified (--dir) INFO: Using directory: "MAXIV_Bloch_20251123_030240" INFO: Regenerating c-file: MAXIV_Bloch.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_Bloch.c MAXIV_Bloch.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: MAXIV_Bloch.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" MAXIV_Bloch.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. MAXIV_Bloch.c MAXIV_Bloch.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' MAXIV_Bloch.c(1811): note: consider using '%zi' in the format string MAXIV_Bloch.c(8732): error C2146: syntax error: missing ';' before identifier 'R' MAXIV_Bloch.c(8732): error C2061: syntax error: identifier 'R' MAXIV_Bloch.c(8733): error C2059: syntax error: '}' MAXIV_Bloch.c(8780): error C2079: 'rconst' uses undefined struct 't_reflec_constant' MAXIV_Bloch.c(8795): error C2061: syntax error: identifier 'refleccq' MAXIV_Bloch.c(8795): error C2059: syntax error: ';' MAXIV_Bloch.c(8795): error C2059: syntax error: '' MAXIV_Bloch.c(8799): error C2061: syntax error: identifier 'reflecc' MAXIV_Bloch.c(8799): error C2059: syntax error: ';' MAXIV_Bloch.c(8799): error C2059: syntax error: '' MAXIV_Bloch.c(8802): error C2061: syntax error: identifier 'reflec_coating' MAXIV_Bloch.c(8802): error C2059: syntax error: ';' MAXIV_Bloch.c(8802): error C2059: syntax error: '' MAXIV_Bloch.c(8804): error C2061: syntax error: identifier 'reflec_bare' MAXIV_Bloch.c(8804): error C2059: syntax error: ';' MAXIV_Bloch.c(8804): error C2059: syntax error: '' MAXIV_Bloch.c(8806): error C2061: syntax error: identifier 'reflec_q_prmtc' MAXIV_Bloch.c(8806): error C2059: syntax error: ';' MAXIV_Bloch.c(8806): error C2059: syntax error: '' MAXIV_Bloch.c(8808): error C2061: syntax error: identifier 'reflec_parratt' MAXIV_Bloch.c(8808): error C2059: syntax error: ';' MAXIV_Bloch.c(8808): error C2059: syntax error: '' MAXIV_Bloch.c(8810): error C2061: syntax error: identifier 'reflec_kinematic' MAXIV_Bloch.c(8810): error C2059: syntax error: ';' MAXIV_Bloch.c(8810): error C2059: syntax error: '' MAXIV_Bloch.c(8812): error C2061: syntax error: identifier 'parrat_reflec_bulk' MAXIV_Bloch.c(8812): error C2059: syntax error: ';' MAXIV_Bloch.c(8812): error C2059: syntax error: '' MAXIV_Bloch.c(8814): error C2061: syntax error: identifier 'reflec_eth_prmtc' MAXIV_Bloch.c(8814): error C2059: syntax error: ';' MAXIV_Bloch.c(8814): error C2059: syntax error: '' MAXIV_Bloch.c(8859): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' MAXIV_Bloch.c(8866): error C2224: left of '.R' must have struct/union type MAXIV_Bloch.c(8934): error C2224: left of '.R' must have struct/union type MAXIV_Bloch.c(8955): error C2224: left of '.R' must have struct/union type MAXIV_Bloch.c(8967): error C2224: left of '.R' must have struct/union type MAXIV_Bloch.c(9147): error C2061: syntax error: identifier 'reflec_coating' MAXIV_Bloch.c(9147): error C2059: syntax error: ';' MAXIV_Bloch.c(9147): error C2059: syntax error: '' MAXIV_Bloch.c(9179): error C2061: syntax error: identifier 'reflec_bare' MAXIV_Bloch.c(9179): error C2059: syntax error: ';' MAXIV_Bloch.c(9179): error C2059: syntax error: '' MAXIV_Bloch.c(9183): error C2061: syntax error: identifier 'reflec_kinematic' MAXIV_Bloch.c(9183): error C2059: syntax error: ';' MAXIV_Bloch.c(9183): error C2059: syntax error: '' MAXIV_Bloch.c(9193): error C2061: syntax error: identifier 'reflec_q_prmtc' MAXIV_Bloch.c(9193): error C2059: syntax error: ';' MAXIV_Bloch.c(9193): error C2059: syntax error: '' MAXIV_Bloch.c(9205): error C2061: syntax error: identifier 'reflec_eth_prmtc' MAXIV_Bloch.c(9205): error C2059: syntax error: ';' MAXIV_Bloch.c(9205): error C2059: syntax error: '' MAXIV_Bloch.c(9215): error C2061: syntax error: identifier 'reflec_parratt' MAXIV_Bloch.c(9215): error C2059: syntax error: ';' MAXIV_Bloch.c(9215): error C2059: syntax error: '' MAXIV_Bloch.c(9238): error C2061: syntax error: identifier 'parrat_reflec_bulk' MAXIV_Bloch.c(9238): error C2059: syntax error: ';' MAXIV_Bloch.c(9238): error C2059: syntax error: '' MAXIV_Bloch.c(9262): error C2061: syntax error: identifier 'refleccq' MAXIV_Bloch.c(9262): error C2059: syntax error: ';' MAXIV_Bloch.c(9262): error C2059: syntax error: '' MAXIV_Bloch.c(9320): error C2224: left of '.R' must have struct/union type MAXIV_Bloch.c(9320): error C2168: 'fabs': too few actual parameters for intrinsic function MAXIV_Bloch.c(9325): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_Bloch.c(9325): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXIV_Bloch.c(9330): error C2146: syntax error: missing ';' before identifier 'rp' MAXIV_Bloch.c(9330): error C2065: 'rp': undeclared identifier MAXIV_Bloch.c(9331): error C2065: 'rp': undeclared identifier MAXIV_Bloch.c(9332): error C2065: 'rp': undeclared identifier MAXIV_Bloch.c(9332): error C2065: 'rp': undeclared identifier MAXIV_Bloch.c(9332): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_Bloch.c(9332): warning C4024: 'conj': different types for formal and actual parameter 1 MAXIV_Bloch.c(9332): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' MAXIV_Bloch.c(9332): error C2198: 'double creal(_Dcomplex)': too few arguments for call MAXIV_Bloch.c(9337): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_Bloch.c(9337): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXIV_Bloch.c(9347): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_Bloch.c(9347): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXIV_Bloch.c(9352): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_Bloch.c(9352): warning C4024: 'cabs': different types for formal and actual parameter 1 MAXIV_Bloch.c(9378): error C2061: syntax error: identifier 'reflecceth' MAXIV_Bloch.c(9378): error C2059: syntax error: ';' MAXIV_Bloch.c(9378): error C2059: syntax error: '' MAXIV_Bloch.c(12637): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' MAXIV_Bloch.c(12637): note: consider using '%zi' in the format string MAXIV_Bloch.c(16782): warning C4477: 'printf' : format string '%f' requires an argument of type 'double', but variadic argument 3 has type 'int' MAXIV_Bloch.c(16842): warning C4005: 'min': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\stdlib.h(1283): note: see previous definition of 'min' MAXIV_Bloch.c(16843): warning C4005: 'max': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\stdlib.h(1282): note: see previous definition of 'max' MAXIV_Bloch.c(18653): error C2146: syntax error: missing ';' before identifier 'R' MAXIV_Bloch.c(18653): error C2065: 'R': undeclared identifier MAXIV_Bloch.c(18654): error C2065: 'R': undeclared identifier MAXIV_Bloch.c(18654): error C2065: 'R': undeclared identifier MAXIV_Bloch.c(18654): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_Bloch.c(18654): warning C4024: 'conj': different types for formal and actual parameter 1 MAXIV_Bloch.c(18654): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' MAXIV_Bloch.c(18654): error C2198: 'double creal(_Dcomplex)': too few arguments for call MAXIV_Bloch.c(18655): error C2065: 'R': undeclared identifier MAXIV_Bloch.c(18655): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_Bloch.c(18655): warning C4024: 'cimag': different types for formal and actual parameter 1 MAXIV_Bloch.c(18655): error C2065: 'R': undeclared identifier MAXIV_Bloch.c(18655): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' MAXIV_Bloch.c(18655): 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" MAXIV_Bloch.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 MAXIV_Bloch.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe