INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H5_new_20251212_033805" INFO: Regenerating c-file: ILL_H5_new.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./ILL_H5_new.c 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/runner/miniconda3/envs/mcstas/bin/mcstas finished INFO: Recompiling: ./ILL_H5_new.out DEBUG: CMD: mpicc -o ./ILL_H5_new.out ./ILL_H5_new.c -lm -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/runner/miniconda3/envs/mcstas/lib -L/Users/runner/miniconda3/envs/mcstas/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniconda3/envs/mcstas/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniconda3/envs/mcstas/include -O2 -g -DNDEBUG -isysroot /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk -D_DARWIN_C_SOURCE -I/Users/runner/miniconda3/envs/mcstas/include -Wl,-rpath,/Users/runner/miniconda3/envs/mcstas/lib -L/Users/runner/miniconda3/envs/mcstas/lib -fno-PIC -fPIE -flto -O3 -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./ILL_H5_new.c:57520:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] 57519 | fprintf(stderr,"Pol_guide_vmirror: %s: can not read file %s\n", | ~~ 57520 | NAME_CURRENT_COMP, rPar); | ^~~~ ./ILL_H5_new.c:57453:16: note: expanded from macro 'rPar' 57453 | #define rPar (_comp->_parameters.rPar) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:57525:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] 57524 | fprintf(stderr,"Pol_guide_vmirror: %s: can not read file %s\n", | ~~ 57525 | NAME_CURRENT_COMP, rUpPar); | ^~~~~~ ./ILL_H5_new.c:57454:18: note: expanded from macro 'rUpPar' 57454 | #define rUpPar (_comp->_parameters.rUpPar) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:57530:25: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] 57529 | fprintf(stderr,"Pol_guide_vmirror: %s: can not read file %s\n", | ~~ 57530 | NAME_CURRENT_COMP, rDownPar); | ^~~~~~~~ ./ILL_H5_new.c:57455:20: note: expanded from macro 'rDownPar' 57455 | #define rDownPar (_comp->_parameters.rDownPar) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c:57917:3: warning: '/*' within block comment [-Wcomment] 57917 | /* compute H53 parameters: ThALES */ | ^ ./ILL_H5_new.c:67076:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 67076 | if ((flag == 1)) // conditional WHEN execution | ~~~~~^~~~ ./ILL_H5_new.c:67076:17: note: remove extraneous parentheses around the comparison to silence this warning 67076 | if ((flag == 1)) // conditional WHEN execution | ~ ^ ~ ./ILL_H5_new.c:67076:17: note: use '=' to turn this equality comparison into an assignment 67076 | if ((flag == 1)) // conditional WHEN execution | ^~ | = ./ILL_H5_new.c:67098:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 67098 | if ((flag == 2)) // conditional WHEN execution | ~~~~~^~~~ ./ILL_H5_new.c:67098:17: note: remove extraneous parentheses around the comparison to silence this warning 67098 | if ((flag == 2)) // conditional WHEN execution | ~ ^ ~ ./ILL_H5_new.c:67098:17: note: use '=' to turn this equality comparison into an assignment 67098 | if ((flag == 2)) // conditional WHEN execution | ^~ | = ./ILL_H5_new.c:67120:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 67120 | if ((flag == 1)) // conditional WHEN execution | ~~~~~^~~~ ./ILL_H5_new.c:67120:17: note: remove extraneous parentheses around the comparison to silence this warning 67120 | if ((flag == 1)) // conditional WHEN execution | ~ ^ ~ ./ILL_H5_new.c:67120:17: note: use '=' to turn this equality comparison into an assignment 67120 | if ((flag == 1)) // conditional WHEN execution | ^~ | = ./ILL_H5_new.c:68015:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 68015 | if ((flag == 1)) // conditional WHEN execution | ~~~~~^~~~ ./ILL_H5_new.c:68015:17: note: remove extraneous parentheses around the comparison to silence this warning 68015 | if ((flag == 1)) // conditional WHEN execution | ~ ^ ~ ./ILL_H5_new.c:68015:17: note: use '=' to turn this equality comparison into an assignment 68015 | if ((flag == 1)) // conditional WHEN execution | ^~ | = ./ILL_H5_new.c:68037:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 68037 | if ((flag == 2)) // conditional WHEN execution | ~~~~~^~~~ ./ILL_H5_new.c:68037:17: note: remove extraneous parentheses around the comparison to silence this warning 68037 | if ((flag == 2)) // conditional WHEN execution | ~ ^ ~ ./ILL_H5_new.c:68037:17: note: use '=' to turn this equality comparison into an assignment 68037 | if ((flag == 2)) // conditional WHEN execution | ^~ | = ./ILL_H5_new.c:68507:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 68507 | if ((flag == 1)) // conditional WHEN execution | ~~~~~^~~~ ./ILL_H5_new.c:68507:17: note: remove extraneous parentheses around the comparison to silence this warning 68507 | if ((flag == 1)) // conditional WHEN execution | ~ ^ ~ ./ILL_H5_new.c:68507:17: note: use '=' to turn this equality comparison into an assignment 68507 | if ((flag == 1)) // conditional WHEN execution | ^~ | = ./ILL_H5_new.c:68529:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 68529 | if ((flag == 2)) // conditional WHEN execution | ~~~~~^~~~ ./ILL_H5_new.c:68529:17: note: remove extraneous parentheses around the comparison to silence this warning 68529 | if ((flag == 2)) // conditional WHEN execution | ~ ^ ~ ./ILL_H5_new.c:68529:17: note: use '=' to turn this equality comparison into an assignment 68529 | if ((flag == 2)) // conditional WHEN execution | ^~ | = ./ILL_H5_new.c:68551:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 68551 | if ((flag == 1)) // conditional WHEN execution | ~~~~~^~~~ ./ILL_H5_new.c:68551:17: note: remove extraneous parentheses around the comparison to silence this warning 68551 | if ((flag == 1)) // conditional WHEN execution | ~ ^ ~ ./ILL_H5_new.c:68551:17: note: use '=' to turn this equality comparison into an assignment 68551 | if ((flag == 1)) // conditional WHEN execution | ^~ | = 12 warnings generated. ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcstas/lib' ignored ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcstas/lib' ignored DEBUG: CMD: mpicc finished DEBUG: CMD: otool -l ./ILL_H5_new.out DEBUG: CMD: otool finished INFO: ===