INFO: No output directory specified (--dir) INFO: Using directory: "JJ_SAXS_20251123_030253" INFO: Regenerating c-file: JJ_SAXS.c WARNING: Full-path code-generator "C:\Miniconda\envs\mcxtrace\bin\mcxtrace" not found!! WARNING: Attempting replacement by "mcxtrace" DEBUG: CMD: mcxtrace -t -o JJ_SAXS.c JJ_SAXS.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: JJ_SAXS.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" JJ_SAXS.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. JJ_SAXS.c JJ_SAXS.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' JJ_SAXS.c(1811): note: consider using '%zi' in the format string JJ_SAXS.c(8683): error C2146: syntax error: missing ';' before identifier 'R' JJ_SAXS.c(8683): error C2061: syntax error: identifier 'R' JJ_SAXS.c(8684): error C2059: syntax error: '}' JJ_SAXS.c(8731): error C2079: 'rconst' uses undefined struct 't_reflec_constant' JJ_SAXS.c(8746): error C2061: syntax error: identifier 'refleccq' JJ_SAXS.c(8746): error C2059: syntax error: ';' JJ_SAXS.c(8746): error C2059: syntax error: '' JJ_SAXS.c(8750): error C2061: syntax error: identifier 'reflecc' JJ_SAXS.c(8750): error C2059: syntax error: ';' JJ_SAXS.c(8750): error C2059: syntax error: '' JJ_SAXS.c(8753): error C2061: syntax error: identifier 'reflec_coating' JJ_SAXS.c(8753): error C2059: syntax error: ';' JJ_SAXS.c(8753): error C2059: syntax error: '' JJ_SAXS.c(8755): error C2061: syntax error: identifier 'reflec_bare' JJ_SAXS.c(8755): error C2059: syntax error: ';' JJ_SAXS.c(8755): error C2059: syntax error: '' JJ_SAXS.c(8757): error C2061: syntax error: identifier 'reflec_q_prmtc' JJ_SAXS.c(8757): error C2059: syntax error: ';' JJ_SAXS.c(8757): error C2059: syntax error: '' JJ_SAXS.c(8759): error C2061: syntax error: identifier 'reflec_parratt' JJ_SAXS.c(8759): error C2059: syntax error: ';' JJ_SAXS.c(8759): error C2059: syntax error: '' JJ_SAXS.c(8761): error C2061: syntax error: identifier 'reflec_kinematic' JJ_SAXS.c(8761): error C2059: syntax error: ';' JJ_SAXS.c(8761): error C2059: syntax error: '' JJ_SAXS.c(8763): error C2061: syntax error: identifier 'parrat_reflec_bulk' JJ_SAXS.c(8763): error C2059: syntax error: ';' JJ_SAXS.c(8763): error C2059: syntax error: '' JJ_SAXS.c(8765): error C2061: syntax error: identifier 'reflec_eth_prmtc' JJ_SAXS.c(8765): error C2059: syntax error: ';' JJ_SAXS.c(8765): error C2059: syntax error: '' JJ_SAXS.c(8810): warning C4311: 'type cast': pointer truncation from 'double *' to 'unsigned int' JJ_SAXS.c(8817): error C2224: left of '.R' must have struct/union type JJ_SAXS.c(8885): error C2224: left of '.R' must have struct/union type JJ_SAXS.c(8906): error C2224: left of '.R' must have struct/union type JJ_SAXS.c(8918): error C2224: left of '.R' must have struct/union type JJ_SAXS.c(9098): error C2061: syntax error: identifier 'reflec_coating' JJ_SAXS.c(9098): error C2059: syntax error: ';' JJ_SAXS.c(9098): error C2059: syntax error: '' JJ_SAXS.c(9130): error C2061: syntax error: identifier 'reflec_bare' JJ_SAXS.c(9130): error C2059: syntax error: ';' JJ_SAXS.c(9130): error C2059: syntax error: '' JJ_SAXS.c(9134): error C2061: syntax error: identifier 'reflec_kinematic' JJ_SAXS.c(9134): error C2059: syntax error: ';' JJ_SAXS.c(9134): error C2059: syntax error: '' JJ_SAXS.c(9144): error C2061: syntax error: identifier 'reflec_q_prmtc' JJ_SAXS.c(9144): error C2059: syntax error: ';' JJ_SAXS.c(9144): error C2059: syntax error: '' JJ_SAXS.c(9156): error C2061: syntax error: identifier 'reflec_eth_prmtc' JJ_SAXS.c(9156): error C2059: syntax error: ';' JJ_SAXS.c(9156): error C2059: syntax error: '' JJ_SAXS.c(9166): error C2061: syntax error: identifier 'reflec_parratt' JJ_SAXS.c(9166): error C2059: syntax error: ';' JJ_SAXS.c(9166): error C2059: syntax error: '' JJ_SAXS.c(9189): error C2061: syntax error: identifier 'parrat_reflec_bulk' JJ_SAXS.c(9189): error C2059: syntax error: ';' JJ_SAXS.c(9189): error C2059: syntax error: '' JJ_SAXS.c(9213): error C2061: syntax error: identifier 'refleccq' JJ_SAXS.c(9213): error C2059: syntax error: ';' JJ_SAXS.c(9213): error C2059: syntax error: '' JJ_SAXS.c(9271): error C2224: left of '.R' must have struct/union type JJ_SAXS.c(9271): error C2168: 'fabs': too few actual parameters for intrinsic function JJ_SAXS.c(9276): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' JJ_SAXS.c(9276): warning C4024: 'cabs': different types for formal and actual parameter 1 JJ_SAXS.c(9281): error C2146: syntax error: missing ';' before identifier 'rp' JJ_SAXS.c(9281): error C2065: 'rp': undeclared identifier JJ_SAXS.c(9282): error C2065: 'rp': undeclared identifier JJ_SAXS.c(9283): error C2065: 'rp': undeclared identifier JJ_SAXS.c(9283): error C2065: 'rp': undeclared identifier JJ_SAXS.c(9283): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' JJ_SAXS.c(9283): warning C4024: 'conj': different types for formal and actual parameter 1 JJ_SAXS.c(9283): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' JJ_SAXS.c(9283): error C2198: 'double creal(_Dcomplex)': too few arguments for call JJ_SAXS.c(9288): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' JJ_SAXS.c(9288): warning C4024: 'cabs': different types for formal and actual parameter 1 JJ_SAXS.c(9298): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' JJ_SAXS.c(9298): warning C4024: 'cabs': different types for formal and actual parameter 1 JJ_SAXS.c(9303): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' JJ_SAXS.c(9303): warning C4024: 'cabs': different types for formal and actual parameter 1 JJ_SAXS.c(9329): error C2061: syntax error: identifier 'reflecceth' JJ_SAXS.c(9329): error C2059: syntax error: ';' JJ_SAXS.c(9329): error C2059: syntax error: '' JJ_SAXS.c(11242): error C2146: syntax error: missing ';' before identifier 'R' JJ_SAXS.c(11242): error C2065: 'R': undeclared identifier JJ_SAXS.c(11243): error C2065: 'R': undeclared identifier JJ_SAXS.c(11243): error C2065: 'R': undeclared identifier JJ_SAXS.c(11243): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' JJ_SAXS.c(11243): warning C4024: 'conj': different types for formal and actual parameter 1 JJ_SAXS.c(11243): error C2088: built-in operator '*' cannot be applied to an operand of type '_Dcomplex' JJ_SAXS.c(11243): error C2198: 'double creal(_Dcomplex)': too few arguments for call JJ_SAXS.c(11244): error C2065: 'R': undeclared identifier JJ_SAXS.c(11244): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' JJ_SAXS.c(11244): warning C4024: 'cimag': different types for formal and actual parameter 1 JJ_SAXS.c(11244): error C2065: 'R': undeclared identifier JJ_SAXS.c(11244): error C2440: 'function': cannot convert from 'int' to '_Dcomplex' JJ_SAXS.c(11244): 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" JJ_SAXS.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 JJ_SAXS.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe