INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H5_20240617_100423" INFO: Regenerating c-file: ILL_H5.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./ILL_H5.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/ILL_H5/ILL_H5.instr --> Added COMPONENT H53_IN14_Monochromator USERVAR ncol_25 with type int --> Added COMPONENT H53_IN14_Monochromator USERVAR nrow_25 with type int --> Added COMPONENT PG2Xtal USERVAR ncol_37 with type int --> Added COMPONENT PG2Xtal USERVAR nrow_37 with type int --> Added COMPONENT H53_IN16_Monochromator USERVAR ncol_78 with type int --> Added COMPONENT H53_IN16_Monochromator USERVAR nrow_78 with type int --> Added COMPONENT H53_D16_Monochromator USERVAR ncol_93 with type int --> Added COMPONENT H53_D16_Monochromator USERVAR nrow_93 with type int --> Added COMPONENT H53_SADAM_Monochromator USERVAR ncol_109 with type int --> Added COMPONENT H53_SADAM_Monochromator USERVAR nrow_109 with type int WARNING: The parameter format of HCS_Al is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter powder_format of H53_IN14_Sample is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rUpPar of H53_CryoEDM_polariser is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rDownPar of H53_CryoEDM_polariser is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rPar of IN15_Vpolariser is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rUpPar of IN15_Vpolariser is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rDownPar of IN15_Vpolariser is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: WARNING: --> JUMP found at COMPONENT 9, H53_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 10, H52_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 11, H51_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 26, H53_IN14_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 79, H53_IN16_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 94, H53_D16_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 110, H53_SADAM_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 154, H51_split_2 --> JUMPS are not supported in FUNNEL modCFLAGS= e and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 155, H51_split_1 --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL ----------------------------------------------------------- DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas finished INFO: Recompiling: ./ILL_H5.out DEBUG: CMD: mpicc -o ./ILL_H5.out ./ILL_H5.c -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/mcstas-suite_1718556543798/work=/usr/local/src/conda/mcstas-core-3.4.49 -fdebug-prefix-map=/Users/peterwillendrup/miniforge3=/usr/local/src/conda-prefix -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Users/peterwillendrup/miniforge3/include -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -fno-PIC -fPIE -flto -O3 -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./ILL_H5.c:3635:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./ILL_H5.c:35130:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(ncol_var,"ncol_%i",_comp->_index); ~~ ^~~~~~~~~~~~~ %li /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ./ILL_H5.c:35131:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(nrow_var,"nrow_%i",_comp->_index); ~~ ^~~~~~~~~~~~~ %li /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ./ILL_H5.c:35511:30: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rUpPar); ^~~~~~ ./ILL_H5.c:35494:18: note: expanded from macro 'rUpPar' #define rUpPar (_comp->_parameters.rUpPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5.c:35521:30: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rDownPar); ^~~~~~~~ ./ILL_H5.c:35495:20: note: expanded from macro 'rDownPar' #define rDownPar (_comp->_parameters.rDownPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5.c:35673:28: warning: incompatible pointer types passing 'MCNUM[7]' (aka 'double[7]') to parameter of type 'char *' [-Wincompatible-pointer-types] if (Table_Read(&rParPtr, rPar, 1) <= 0) { ^~~~ ./ILL_H5.c:35608:16: note: expanded from macro 'rPar' #define rPar (_comp->_parameters.rPar) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5.c:7077:41: note: passing argument to parameter 'File' here long Table_Read(t_Table *Table, char *File, long block_number) ^ ./ILL_H5.c:35675:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rPar); ^~~~ ./ILL_H5.c:35608:16: note: expanded from macro 'rPar' #define rPar (_comp->_parameters.rPar) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5.c:35678:30: warning: incompatible pointer types passing 'MCNUM[7]' (aka 'double[7]') to parameter of type 'char *' [-Wincompatible-pointer-types] if (Table_Read(&rUpParPtr, rUpPar, 1) <= 0) { ^~~~~~ ./ILL_H5.c:35609:18: note: expanded from macro 'rUpPar' #define rUpPar (_comp->_parameters.rUpPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5.c:7077:41: note: passing argument to parameter 'File' here long Table_Read(t_Table *Table, char *File, long block_number) ^ ./ILL_H5.c:35680:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rUpPar); ^~~~~~ ./ILL_H5.c:35609:18: note: expanded from macro 'rUpPar' #define rUpPar (_comp->_parameters.rUpPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5.c:35683:32: warning: incompatible pointer types passing 'MCNUM[7]' (aka 'double[7]') to parameter of type 'char *' [-Wincompatible-pointer-types] if (Table_Read(&rDownParPtr, rDownPar, 1) <= 0) { ^~~~~~~~ ./ILL_H5.c:35610:20: note: expanded from macro 'rDownPar' #define rDownPar (_comp->_parameters.rDownPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5.c:7077:41: note: passing argument to parameter 'File' here long Table_Read(t_Table *Table, char *File, long block_number) ^ ./ILL_H5.c:35685:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rDownPar); ^~~~~~~~ ./ILL_H5.c:35610:20: note: expanded from macro 'rDownPar' #define rDownPar (_comp->_parameters.rDownPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5.c:36071:3: warning: '/*' within block comment [-Wcomment] /* compute H53 parameters: IN14 */ ^ ./ILL_H5.c:43176:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 1)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5.c:43176:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 1)) // conditional WHEN execution ~ ^ ~ ./ILL_H5.c:43176:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 1)) // conditional WHEN execution ^~ = ./ILL_H5.c:43198:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 2)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5.c:43198:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 2)) // conditional WHEN execution ~ ^ ~ ./ILL_H5.c:43198:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 2)) // conditional WHEN execution ^~ = ./ILL_H5.c:43812:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 1)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5.c:43812:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 1)) // conditional WHEN execution ~ ^ ~ ./ILL_H5.c:43812:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 1)) // conditional WHEN execution ^~ = ./ILL_H5.c:43834:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 2)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5.c:43834:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 2)) // conditional WHEN execution ~ ^ ~ ./ILL_H5.c:43834:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 2)) // conditional WHEN execution ^~ = ./ILL_H5.c:43856:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 1)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5.c:43856:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 1)) // conditional WHEN execution ~ ^ ~ ./ILL_H5.c:43856:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 1)) // conditional WHEN execution ^~ = 17 warnings generated. DEBUG: CMD: mpicc finished INFO: ===