INFO: No output directory specified (--dir) INFO: Using directory: "Test_TOFRes_sample_20251212_034257" INFO: Regenerating c-file: Test_TOFRes_sample.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./Test_TOFRes_sample.c Test_TOFRes_sample.instr Warning: 'ESS_moderator_short' is an obsolete component (not maintained). CFLAGS= --> Added COMPONENT sample USERVAR res_pi_13 with type double --> Added COMPONENT sample USERVAR res_ki_x_13 with type double --> Added COMPONENT sample USERVAR res_ki_y_13 with type double --> Added COMPONENT sample USERVAR res_ki_z_13 with type double --> Added COMPONENT sample USERVAR res_kf_x_13 with type double --> Added COMPONENT sample USERVAR res_kf_y_13 with type double --> Added COMPONENT sample USERVAR res_kf_z_13 with type double --> Added COMPONENT sample USERVAR res_rx_13 with type double --> Added COMPONENT sample USERVAR res_ry_13 with type double --> Added COMPONENT sample USERVAR res_rz_13 with type double ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas finished INFO: Recompiling: ./Test_TOFRes_sample.out DEBUG: CMD: mpicc -o ./Test_TOFRes_sample.out ./Test_TOFRes_sample.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 ./Test_TOFRes_sample.c:14347:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14347 | sprintf(res_pi_var,"res_pi_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14348:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14348 | sprintf(res_ki_x_var,"res_ki_x_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14349:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14349 | sprintf(res_ki_y_var,"res_ki_y_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14350:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14350 | sprintf(res_ki_z_var,"res_ki_z_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14351:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14351 | sprintf(res_kf_x_var,"res_kf_x_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14352:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14352 | sprintf(res_kf_y_var,"res_kf_y_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14353:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14353 | sprintf(res_kf_z_var,"res_kf_z_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14354:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14354 | sprintf(res_rx_var,"res_rx_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14355:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14355 | sprintf(res_ry_var,"res_ry_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:14356:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 14356 | sprintf(res_rz_var,"res_rz_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_TOFRes_sample.c:16549:66: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 16549 | printf("Resolution calculation used %d neutron events.\n", num_events); | ~~ ^~~~~~~~~~ | %lu ./Test_TOFRes_sample.c:16506:22: note: expanded from macro 'num_events' 16506 | #define num_events (_comp->_parameters.num_events) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 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 ./Test_TOFRes_sample.out DEBUG: CMD: otool finished INFO: ===