INFO: No output directory specified (--dir) INFO: Using directory: "templateSasView_Mantid_20241206_095300" INFO: Regenerating c-file: templateSasView_Mantid.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./templateSasView_Mantid.c templateSasView_Mantid.instr Downloading file 'mcstas-comps/sasmodels/SasView_barbell.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/sasmodels/SasView_barbell.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/sasmodels/SasView_bcc_paracrystal.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/sasmodels/SasView_bcc_paracrystal.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/sasmodels/SasView_parallelepiped.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/sasmodels/SasView_parallelepiped.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/sasmodels/sas_kernel_header.c' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/sasmodels/sas_kernel_header.c' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. 2024-12-06 09:53:04.382 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2024-12-06 09:53:04.383 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to monitor_nd-lib read_table-lib interoff-lib line 439:0 token recognition error at: ' ' line 91:45 no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-12-06 09:53:05.677 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-12-06 09:53:05.677 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:05.677 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:05.677 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:05.677 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:05.677 | 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 09:53:05.678 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-12-06 09:53:05.678 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:05.678 | 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 09:53:05.686 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-12-06 09:53:05.686 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:05.686 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:05.686 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:05.686 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:05.686 | 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 09:53:05.686 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input '&' expecting ')' 2024-12-06 09:53:05.687 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:05.687 | 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 09:53:05.687 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,50 2024-12-06 09:53:05.687 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:05.687 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:05.687 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:05.688 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:05.688 | 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 09:53:05.688 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 09:53:05.688 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:05.688 | 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 09:53:05.689 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,59 2024-12-06 09:53:05.689 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:05.689 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:05.689 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:05.689 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:05.689 | 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 09:53:05.689 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 09:53:05.689 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:05.689 | 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 09:53:05.690 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,64 2024-12-06 09:53:05.690 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:05.690 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:05.690 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:05.690 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:05.690 | 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 09:53:05.691 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ')' expecting ';' 2024-12-06 09:53:05.691 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:05.691 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here line 91:45 no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-12-06 09:53:06.560 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-12-06 09:53:06.560 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:06.560 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:06.560 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:06.560 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:06.560 | 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 09:53:06.561 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-12-06 09:53:06.561 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:06.561 | 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 09:53:06.565 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-12-06 09:53:06.565 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:06.565 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:06.565 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:06.565 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:06.565 | 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 09:53:06.566 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input '&' expecting ')' 2024-12-06 09:53:06.566 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:06.566 | 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 09:53:06.566 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,50 2024-12-06 09:53:06.566 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:06.566 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:06.566 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:06.567 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:06.567 | 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 09:53:06.567 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 09:53:06.567 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:06.567 | 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 09:53:06.567 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,59 2024-12-06 09:53:06.567 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:06.568 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:06.568 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:06.568 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:06.568 | 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 09:53:06.568 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 09:53:06.568 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:06.568 | 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 09:53:06.569 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,64 2024-12-06 09:53:06.569 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:06.569 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:06.569 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:06.569 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:06.569 | 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 09:53:06.569 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ')' expecting ';' 2024-12-06 09:53:06.569 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:06.569 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here line 91:45 no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-12-06 09:53:07.111 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-12-06 09:53:07.111 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:07.112 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:07.112 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:07.112 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:07.112 | 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 09:53:07.112 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-12-06 09:53:07.112 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:07.112 | 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 09:53:07.116 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-12-06 09:53:07.117 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:07.117 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:07.117 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:07.117 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:07.117 | 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 09:53:07.117 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input '&' expecting ')' 2024-12-06 09:53:07.117 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:07.117 | 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 09:53:07.118 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,50 2024-12-06 09:53:07.118 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:07.118 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:07.118 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:07.118 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:07.118 | 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 09:53:07.118 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 09:53:07.118 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:07.118 | 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 09:53:07.119 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,59 2024-12-06 09:53:07.119 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:07.119 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:07.119 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:07.119 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:07.119 | 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 09:53:07.119 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-12-06 09:53:07.119 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:07.120 | 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 09:53:07.120 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,64 2024-12-06 09:53:07.120 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-12-06 09:53:07.120 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-12-06 09:53:07.120 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-12-06 09:53:07.121 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-12-06 09:53:07.121 | 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 09:53:07.121 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ')' expecting ';' 2024-12-06 09:53:07.121 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-12-06 09:53:07.121 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #include // C99 guarantees that int32_t types is here The instrument has 12 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component sampleMantid ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component a1 -> GPU kernel from component arm -> GPU kernel from component sourceMantid -> GPU kernel from component coll1 -> GPU kernel from component coll2 -> GPU kernel from component LdetectorPRE -> SPLIT within buffer at component sampleMantid -> GPU kernel from component sample1 -> GPU kernel from component sample3 -> GPU kernel from component sample47 -> GPU kernel from component detector -> GPU kernel from component Ldetector -> GPU kernel from component PSDrad -> GPU kernel from component nD_Mantid_1 ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./templateSasView_Mantid.out DEBUG: CMD: mpicc -o ./templateSasView_Mantid.out ./templateSasView_Mantid.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 3 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information DEBUG: CMD: mpicc finished INFO: ===