INFO: No output directory specified (--dir) INFO: Using directory: "PBD_BT_20251123_030250" INFO: Regenerating c-file: PBD_BT.c WARNING: Full-path code-generator "C:\Miniconda\envs\mcxtrace\bin\mcxtrace" not found!! WARNING: Attempting replacement by "mcxtrace" DEBUG: CMD: mcxtrace -t -o PBD_BT.c PBD_BT.instr Info: 'Bragg_crystal_BC' is a contributed component. CFLAGS= -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: mcxtrace finished INFO: Recompiling: PBD_BT.exe DEBUG: CMD: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe" PBD_BT.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' PBD_BT.c PBD_BT.c(1811): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' PBD_BT.c(1811): note: consider using '%zi' in the format string PBD_BT.c(8756): error C2143: syntax error: missing ')' before '*' PBD_BT.c(8756): error C2143: syntax error: missing '{' before '*' PBD_BT.c(8756): error C2059: syntax error: 'type' PBD_BT.c(8759): error C2059: syntax error: ')' PBD_BT.c(8762): error C2146: syntax error: missing ')' before identifier 'kqvals' PBD_BT.c(8762): error C2061: syntax error: identifier 'kqvals' PBD_BT.c(8762): error C2059: syntax error: ';' PBD_BT.c(8762): error C2059: syntax error: '[' PBD_BT.c(8765): error C2059: syntax error: ')' PBD_BT.c(8771): error C2146: syntax error: missing ')' before identifier 'chi0' PBD_BT.c(8771): error C2061: syntax error: identifier 'chi0' PBD_BT.c(8771): error C2059: syntax error: ';' PBD_BT.c(8771): error C2059: syntax error: ',' PBD_BT.c(8772): error C2059: syntax error: ')' PBD_BT.c(8780): error C2146: syntax error: missing ')' before identifier 'chi0' PBD_BT.c(8780): error C2061: syntax error: identifier 'chi0' PBD_BT.c(8780): error C2059: syntax error: ';' PBD_BT.c(8780): error C2059: syntax error: ',' PBD_BT.c(8781): error C2059: syntax error: ')' PBD_BT.c(8807): error C2143: syntax error: missing ')' before '*' PBD_BT.c(8807): error C2143: syntax error: missing '{' before '*' PBD_BT.c(8807): error C2059: syntax error: 'type' PBD_BT.c(8810): error C2059: syntax error: ')' PBD_BT.c(8897): error C2146: syntax error: missing ')' before identifier 'chi0' PBD_BT.c(8897): error C2061: syntax error: identifier 'chi0' PBD_BT.c(8897): error C2059: syntax error: ';' PBD_BT.c(8897): error C2059: syntax error: ',' PBD_BT.c(8899): error C2059: syntax error: ')' PBD_BT.c(8980): error C2146: syntax error: missing ')' before identifier 'kqvals' PBD_BT.c(8980): error C2061: syntax error: identifier 'kqvals' PBD_BT.c(8980): error C2059: syntax error: ';' PBD_BT.c(8980): error C2059: syntax error: '[' PBD_BT.c(8983): error C2059: syntax error: ')' PBD_BT.c(9114): error C2146: syntax error: missing ')' before identifier 'chi0' PBD_BT.c(9114): error C2061: syntax error: identifier 'chi0' PBD_BT.c(9114): error C2059: syntax error: ';' PBD_BT.c(9114): error C2059: syntax error: ',' PBD_BT.c(9115): error C2059: syntax error: ')' PBD_BT.c(13516): error C2146: syntax error: missing ';' before identifier 'chi0' PBD_BT.c(13516): error C2065: 'chih': undeclared identifier PBD_BT.c(13519): error C2065: 'chih': undeclared identifier PBD_BT.c(13530): error C2065: 'chih': undeclared identifier PBD_BT.c(13530): error C2065: 'chih': undeclared identifier 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" PBD_BT.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 PBD_BT.c using compiler C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe