INFO: No output directory specified (--dir) INFO: Using directory: "templateTAS_20250506_031742" INFO: Regenerating c-file: templateTAS.c DEBUG: CMD: /Users/runner/work/McCode/McCode/install_mcstas/bin/mcstas -t -o ./templateTAS.c templateTAS.instr CFLAGS= --> Added COMPONENT PG1Xtal USERVAR ncol_6 with type int --> Added COMPONENT PG1Xtal USERVAR nrow_6 with type int --> Added COMPONENT PG2Xtal USERVAR ncol_16 with type int --> Added COMPONENT PG2Xtal USERVAR nrow_16 with type int WARNING: The parameter powder_format of 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. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component PG1Xtal -> SPLIT N at component Sample_Cradle -> SPLIT N at component PG2Xtal ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component PG1Xtal -> SPLIT within buffer at component Sample_Cradle -> SPLIT within buffer at component PG2Xtal ----------------------------------------------------------- DEBUG: CMD: /Users/runner/work/McCode/McCode/install_mcstas/bin/mcstas finished INFO: Recompiling: ./templateTAS.out DEBUG: CMD: mpicc -o ./templateTAS.out ./templateTAS.c -lm -DUSE_MPI -lmpi -headerpad_max_install_names -O2 -g -DNDEBUG -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -D_DARWIN_C_SOURCE -I${CONDA_PREFIX}/include -Wl,-rpath,${CONDA_PREFIX}/lib -L${CONDA_PREFIX}/lib -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./templateTAS.c:3805:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./templateTAS.c:14837:11: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (fabs(arg > 1)) ^ ./templateTAS.c:14837:11: note: use function 'abs' instead if (fabs(arg > 1)) ^~~~ abs ./templateTAS.c:14849:11: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (fabs(arg > 1)) ^ ./templateTAS.c:14849:11: note: use function 'abs' instead if (fabs(arg > 1)) ^~~~ abs ./templateTAS.c:15260:6: warning: address of array 'Mono_refl' will always evaluate to 'true' [-Wpointer-bool-conversion] if(Mono_refl && strlen(Mono_refl)) ^~~~~~~~~ ~~ ./templateTAS.c:15261:47: warning: address of array 'Mono_refl' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_PG1Xtal_var._parameters.reflect, Mono_refl ? Mono_refl : "", 16384); ^~~~~~~~~ ~ ./templateTAS.c:15432:6: warning: address of array 'lmonopts' will always evaluate to 'true' [-Wpointer-bool-conversion] if(lmonopts && strlen(lmonopts)) ^~~~~~~~ ~~ ./templateTAS.c:15433:49: warning: address of array 'lmonopts' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_D4_SC2_1D_var._parameters.options, lmonopts ? lmonopts : "", 16384); ^~~~~~~~ ~ ./templateTAS.c:15930:6: warning: address of array 'ethmonopts' will always evaluate to 'true' [-Wpointer-bool-conversion] if(ethmonopts && strlen(ethmonopts)) ^~~~~~~~~~ ~~ ./templateTAS.c:15931:49: warning: address of array 'ethmonopts' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_D7_SC3_1D_var._parameters.options, ethmonopts ? ethmonopts : "", 16384); ^~~~~~~~~~ ~ ./templateTAS.c:16150:6: warning: address of array 'Mono_refl' will always evaluate to 'true' [-Wpointer-bool-conversion] if(Mono_refl && strlen(Mono_refl)) ^~~~~~~~~ ~~ ./templateTAS.c:16151:47: warning: address of array 'Mono_refl' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_PG2Xtal_var._parameters.reflect, Mono_refl ? Mono_refl : "", 16384); ^~~~~~~~~ ~ 11 warnings generated. ld: warning: ignoring duplicate libraries: '-lm', '-lmpi' ld: warning: search path '/lib' not found DEBUG: CMD: mpicc finished INFO: ===