INFO: No output directory specified (--dir) INFO: Using directory: "Test_SasView_guinier_20241206_100200" INFO: Regenerating c-file: Test_SasView_guinier.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./Test_SasView_guinier.c Test_SasView_guinier.instr Downloading file 'mcstas-comps/sasmodels/SasView_guinier.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/sasmodels/SasView_guinier.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. line 91:45 no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-12-06 10:02:02.816 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-12-06 10:02:02.817 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 10:02:02.817 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 10:02:02.817 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 10:02:02.817 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 10:02:02.817 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-12-06 10:02:02.817 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-12-06 10:02:02.818 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 10:02:02.818 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here line 91:45 mismatched input '&' expecting ')' 2024-12-06 10:02:02.826 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-12-06 10:02:02.826 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 10:02:02.826 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 10:02:02.827 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 10:02:02.827 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 10:02:02.827 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-12-06 10:02:02.827 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input '&' expecting ')' 2024-12-06 10:02:02.827 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 10:02:02.827 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here line 91:50 mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 10:02:02.828 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,50 2024-12-06 10:02:02.828 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 10:02:02.828 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 10:02:02.828 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 10:02:02.828 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 10:02:02.828 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-12-06 10:02:02.828 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 10:02:02.829 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 10:02:02.829 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here line 91:59 extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 10:02:02.829 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,59 2024-12-06 10:02:02.829 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 10:02:02.829 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 10:02:02.830 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 10:02:02.830 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 10:02:02.830 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-12-06 10:02:02.830 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 10:02:02.830 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 10:02:02.830 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here line 91:64 mismatched input ')' expecting ';' 2024-12-06 10:02:02.831 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,64 2024-12-06 10:02:02.831 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 10:02:02.831 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 10:02:02.831 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 10:02:02.831 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 10:02:02.831 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-12-06 10:02:02.831 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ')' expecting ';' 2024-12-06 10:02:02.831 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 10:02:02.831 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here No initialization present? ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component a1 -> GPU kernel from component arm -> GPU kernel from component source -> GPU kernel from component coll1 -> GPU kernel from component coll2 -> GPU kernel from component sample_arm -> SPLIT within buffer at component sample -> GPU kernel from component detector -> GPU kernel from component Ldetector -> GPU kernel from component PSDrad ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./Test_SasView_guinier.out DEBUG: CMD: mpicc -o ./Test_SasView_guinier.out ./Test_SasView_guinier.c -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm lto-wrapper: warning: using serial compilation of 2 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information DEBUG: CMD: mpicc finished INFO: ===