INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H5_new_20240617_100502" INFO: Regenerating c-file: ILL_H5_new.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./ILL_H5_new.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/ILL_H5_new/ILL_H5_new.instr --> Added COMPONENT H53_ThALES_Monochromator USERVAR ncol_25 with type int --> Added COMPONENT H53_ThALES_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 H521_D16_Monochromator USERVAR ncol_114 with type int --> Added COMPONENT H521_D16_Monochromator USERVAR nrow_114 with type int --> Added COMPONENT H521_SADAM_Monochromator USERVAR ncol_130 with type int --> Added COMPONENT H521_SADAM_Monochromator USERVAR nrow_130 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_ThALES_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 WASP_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 WASP_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 WASP_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 WASP_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 WASP_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 10, 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 11, 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 12, 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_ThALES_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 66, H523_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 67, H521_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 68, H522_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 115, H521_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 254, H51_split_2 --> JUMPS are not supported in FUNNEL mode and are CFLAGS= ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 255, 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_new.out DEBUG: CMD: mpicc -o ./ILL_H5_new.out ./ILL_H5_new.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_new.c:3623:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./ILL_H5_new.c:43492:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (pos=strtok(0,"=")) ~~~^~~~~~~~~~~~~~ ./ILL_H5_new.c:43492:16: note: place parentheses around the assignment to silence this warning while (pos=strtok(0,"=")) ^ ( ) ./ILL_H5_new.c:43492:16: note: use '==' to turn this assignment into an equality comparison while (pos=strtok(0,"=")) ^ == ./ILL_H5_new.c:43900: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_new.c:43901: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_new.c:44313:30: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rUpPar); ^~~~~~ ./ILL_H5_new.c:44296:18: note: expanded from macro 'rUpPar' #define rUpPar (_comp->_parameters.rUpPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:44323:30: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rDownPar); ^~~~~~~~ ./ILL_H5_new.c:44297:20: note: expanded from macro 'rDownPar' #define rDownPar (_comp->_parameters.rDownPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:44443: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_new.c:44378:16: note: expanded from macro 'rPar' #define rPar (_comp->_parameters.rPar) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:7065:41: note: passing argument to parameter 'File' here long Table_Read(t_Table *Table, char *File, long block_number) ^ ./ILL_H5_new.c:44445:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rPar); ^~~~ ./ILL_H5_new.c:44378:16: note: expanded from macro 'rPar' #define rPar (_comp->_parameters.rPar) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:44448: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_new.c:44379:18: note: expanded from macro 'rUpPar' #define rUpPar (_comp->_parameters.rUpPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:7065:41: note: passing argument to parameter 'File' here long Table_Read(t_Table *Table, char *File, long block_number) ^ ./ILL_H5_new.c:44450:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rUpPar); ^~~~~~ ./ILL_H5_new.c:44379:18: note: expanded from macro 'rUpPar' #define rUpPar (_comp->_parameters.rUpPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:44453: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_new.c:44380:20: note: expanded from macro 'rDownPar' #define rDownPar (_comp->_parameters.rDownPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:7065:41: note: passing argument to parameter 'File' here long Table_Read(t_Table *Table, char *File, long block_number) ^ ./ILL_H5_new.c:44455:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rDownPar); ^~~~~~~~ ./ILL_H5_new.c:44380:20: note: expanded from macro 'rDownPar' #define rDownPar (_comp->_parameters.rDownPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:44841:3: warning: '/*' within block comment [-Wcomment] /* compute H53 parameters: ThALES */ ^ ./ILL_H5_new.c:53965:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 1)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5_new.c:53965:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 1)) // conditional WHEN execution ~ ^ ~ ./ILL_H5_new.c:53965:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 1)) // conditional WHEN execution ^~ = ./ILL_H5_new.c:53987:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 2)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5_new.c:53987:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 2)) // conditional WHEN execution ~ ^ ~ ./ILL_H5_new.c:53987:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 2)) // conditional WHEN execution ^~ = ./ILL_H5_new.c:54009:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 1)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5_new.c:54009:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 1)) // conditional WHEN execution ~ ^ ~ ./ILL_H5_new.c:54009:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 1)) // conditional WHEN execution ^~ = ./ILL_H5_new.c:54904:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 1)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5_new.c:54904:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 1)) // conditional WHEN execution ~ ^ ~ ./ILL_H5_new.c:54904:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 1)) // conditional WHEN execution ^~ = ./ILL_H5_new.c:54926:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 2)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5_new.c:54926:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 2)) // conditional WHEN execution ~ ^ ~ ./ILL_H5_new.c:54926:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 2)) // conditional WHEN execution ^~ = ./ILL_H5_new.c:55396:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 1)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5_new.c:55396:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 1)) // conditional WHEN execution ~ ^ ~ ./ILL_H5_new.c:55396:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 1)) // conditional WHEN execution ^~ = ./ILL_H5_new.c:55418:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 2)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5_new.c:55418:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 2)) // conditional WHEN execution ~ ^ ~ ./ILL_H5_new.c:55418:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 2)) // conditional WHEN execution ^~ = ./ILL_H5_new.c:55440:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag == 1)) // conditional WHEN execution ~~~~~^~~~ ./ILL_H5_new.c:55440:17: note: remove extraneous parentheses around the comparison to silence this warning if ((flag == 1)) // conditional WHEN execution ~ ^ ~ ./ILL_H5_new.c:55440:17: note: use '=' to turn this equality comparison into an assignment if ((flag == 1)) // conditional WHEN execution ^~ = 21 warnings generated. DEBUG: CMD: mpicc finished INFO: ===