INFO: No output directory specified (--dir) INFO: Using directory: "Test_SasView_guinier_20241118_145301" 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 line 91:45 no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-11-18 14:53:03.489 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-11-18 14:53:03.490 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-18 14:53:03.490 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-18 14:53:03.490 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-18 14:53:03.490 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-18 14:53:03.490 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-11-18 14:53:03.490 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-11-18 14:53:03.491 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-18 14:53:03.491 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here line 91:45 mismatched input '&' expecting ')' 2024-11-18 14:53:03.499 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-11-18 14:53:03.499 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-18 14:53:03.500 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-18 14:53:03.500 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-18 14:53:03.500 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-18 14:53:03.500 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-11-18 14:53:03.500 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input '&' expecting ')' 2024-11-18 14:53:03.500 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-18 14:53:03.500 | 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-11-18 14:53:03.501 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,50 2024-11-18 14:53:03.501 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-18 14:53:03.501 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-18 14:53:03.501 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-18 14:53:03.501 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-18 14:53:03.501 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-11-18 14:53:03.501 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-11-18 14:53:03.502 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-18 14:53:03.502 | 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-11-18 14:53:03.502 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,59 2024-11-18 14:53:03.502 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-18 14:53:03.502 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-18 14:53:03.503 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-18 14:53:03.503 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-18 14:53:03.503 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-11-18 14:53:03.503 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-11-18 14:53:03.503 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-18 14:53:03.503 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here line 91:64 mismatched input ')' expecting ';' 2024-11-18 14:53:03.504 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,64 2024-11-18 14:53:03.504 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-18 14:53:03.504 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-18 14:53:03.504 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-18 14:53:03.504 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-18 14:53:03.504 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - inline void SINCOS(double angle, double &svar, double &cvar) { svar=sin(angle); cvar=cos(angle); } 2024-11-18 14:53:03.504 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ')' expecting ';' 2024-11-18 14:53:03.504 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-18 14:53:03.505 | 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: ===