INFO: No output directory specified (--dir) INFO: Using directory: "templateSasView_Mantid_20241123_032919" 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.12/mcstas-comps/sasmodels/SasView_barbell.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.12'. Downloading file 'mcstas-comps/sasmodels/SasView_bcc_paracrystal.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.12/mcstas-comps/sasmodels/SasView_bcc_paracrystal.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.12'. Downloading file 'mcstas-comps/sasmodels/SasView_parallelepiped.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.12/mcstas-comps/sasmodels/SasView_parallelepiped.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.12'. Downloading file 'mcstas-comps/sasmodels/sas_kernel_header.c' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.12/mcstas-comps/sasmodels/sas_kernel_header.c' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.12'. 2024-11-23 03:29:23.441 | 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-11-23 03:29:23.442 | 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-11-23 03:29:24.745 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-11-23 03:29:24.745 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:24.745 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:24.746 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:24.746 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:24.746 | 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-23 03:29:24.746 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-11-23 03:29:24.746 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:24.746 | 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-23 03:29:24.754 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-11-23 03:29:24.754 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:24.754 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:24.755 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:24.755 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:24.755 | 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-23 03:29:24.755 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input '&' expecting ')' 2024-11-23 03:29:24.755 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:24.755 | 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-23 03:29:24.756 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,50 2024-11-23 03:29:24.756 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:24.756 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:24.756 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:24.756 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:24.756 | 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-23 03:29:24.756 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-11-23 03:29:24.756 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:24.756 | 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-23 03:29:24.757 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,59 2024-11-23 03:29:24.757 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:24.757 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:24.757 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:24.757 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:24.758 | 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-23 03:29:24.758 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-11-23 03:29:24.758 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:24.758 | 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-23 03:29:24.758 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,64 2024-11-23 03:29:24.758 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:24.759 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:24.759 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:24.759 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:24.759 | 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-23 03:29:24.759 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ')' expecting ';' 2024-11-23 03:29:24.759 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:24.759 | 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-11-23 03:29:25.629 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-11-23 03:29:25.629 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:25.629 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:25.629 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:25.629 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:25.629 | 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-23 03:29:25.629 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-11-23 03:29:25.629 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:25.630 | 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-23 03:29:25.634 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-11-23 03:29:25.634 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:25.634 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:25.634 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:25.634 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:25.634 | 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-23 03:29:25.634 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input '&' expecting ')' 2024-11-23 03:29:25.635 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:25.635 | 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-23 03:29:25.635 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,50 2024-11-23 03:29:25.635 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:25.635 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:25.635 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:25.635 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:25.636 | 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-23 03:29:25.636 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-11-23 03:29:25.636 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:25.636 | 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-23 03:29:25.636 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,59 2024-11-23 03:29:25.636 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:25.636 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:25.637 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:25.637 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:25.637 | 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-23 03:29:25.637 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-11-23 03:29:25.637 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:25.637 | 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-23 03:29:25.637 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,64 2024-11-23 03:29:25.638 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:25.638 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:25.638 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:25.638 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:25.638 | 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-23 03:29:25.638 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ')' expecting ';' 2024-11-23 03:29:25.638 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:25.638 | 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-11-23 03:29:26.177 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-11-23 03:29:26.178 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:26.178 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:26.178 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:26.178 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:26.178 | 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-23 03:29:26.178 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ no viable alternative at input 'inline void SINCOS(double angle, double &' 2024-11-23 03:29:26.178 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:26.178 | 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-23 03:29:26.183 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,45 2024-11-23 03:29:26.183 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:26.183 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:26.183 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:26.183 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:26.183 | 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-23 03:29:26.183 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input '&' expecting ')' 2024-11-23 03:29:26.183 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:26.183 | 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-23 03:29:26.184 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,50 2024-11-23 03:29:26.184 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:26.184 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:26.184 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:26.184 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:26.184 | 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-23 03:29:26.184 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ',' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-11-23 03:29:26.184 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:26.185 | 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-23 03:29:26.185 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,59 2024-11-23 03:29:26.185 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:26.185 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:26.185 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:26.185 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:26.185 | 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-23 03:29:26.186 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ extraneous input '&' expecting {'__stdcall', '__cdecl', '__clrcall', '__fastcall', '__thiscall', '__vectorcall', '(', '*', '^', ';', Identifier} 2024-11-23 03:29:26.186 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:26.186 | 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-23 03:29:26.186 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 91,64 2024-11-23 03:29:26.186 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #else 2024-11-23 03:29:26.186 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #define kernel extern "C" 2024-11-23 03:29:26.187 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #include 2024-11-23 03:29:26.187 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - #endif 2024-11-23 03:29:26.187 | 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-23 03:29:26.187 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mismatched input ')' expecting ';' 2024-11-23 03:29:26.187 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - #else // !__cplusplus 2024-11-23 03:29:26.187 | 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: ===