INFO: No output directory specified (--dir) INFO: Using directory: "ESS_BEER_MCPL_20240617_100045" INFO: Regenerating c-file: ESS_BEER_MCPL.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./ESS_BEER_MCPL.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/ESS_BEER_MCPL/ESS_BEER_MCPL.instr Info: 'Exact_radial_coll' is a contributed component. Info: 'NPI_tof_dhkl_detector' is a contributed component. Info: 'NPI_tof_theta_monitor' is a contributed component. CFLAGS= -DMCPLPATH=GETPATH(data) -Wl,-rpath,CMD(mcpl-config --show libdir) -LCMD(mcpl-config --show libdir) -lmcpl -ICMD(mcpl-config --show includedir) WARNING: The parameter 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas finished INFO: Recompiling: ./ESS_BEER_MCPL.out --> pointing path data to /Users/peterwillendrup/miniforge3/share/mcstas/resources/data --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show includedir DEBUG: CMD: mpicc -o ./ESS_BEER_MCPL.out ./ESS_BEER_MCPL.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 -DMCPLPATH=/Users/peterwillendrup/miniforge3/share/mcstas/resources/data -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -lmcpl -I/Users/peterwillendrup/miniforge3/include ./ESS_BEER_MCPL.c:3593:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./ESS_BEER_MCPL.c:13534:6: warning: address of array 'optSGV2' will always evaluate to 'true' [-Wpointer-bool-conversion] if(optSGV2 && strlen(optSGV2)) ^~~~~~~ ~~ ./ESS_BEER_MCPL.c:13535:47: warning: address of array 'optSGV2' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_MonNDXZ_var._parameters.options, optSGV2 ? optSGV2 : "", 16384); ^~~~~~~ ~ ./ESS_BEER_MCPL.c:13625:6: warning: address of array 'optSGV1' will always evaluate to 'true' [-Wpointer-bool-conversion] if(optSGV1 && strlen(optSGV1)) ^~~~~~~ ~~ ./ESS_BEER_MCPL.c:13626:46: warning: address of array 'optSGV1' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_MonNDX_var._parameters.options, optSGV1 ? optSGV1 : "", 16384); ^~~~~~~ ~ ./ESS_BEER_MCPL.c:13716:6: warning: address of array 'optSGV1' will always evaluate to 'true' [-Wpointer-bool-conversion] if(optSGV1 && strlen(optSGV1)) ^~~~~~~ ~~ ./ESS_BEER_MCPL.c:13717:46: warning: address of array 'optSGV1' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_MonNDY_var._parameters.options, optSGV1 ? optSGV1 : "", 16384); ^~~~~~~ ~ ./ESS_BEER_MCPL.c:13807:6: warning: address of array 'optSGV1' will always evaluate to 'true' [-Wpointer-bool-conversion] if(optSGV1 && strlen(optSGV1)) ^~~~~~~ ~~ ./ESS_BEER_MCPL.c:13808:46: warning: address of array 'optSGV1' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_MonNDZ_var._parameters.options, optSGV1 ? optSGV1 : "", 16384); ^~~~~~~ ~ ./ESS_BEER_MCPL.c:13898:6: warning: address of array 'dhklTable' will always evaluate to 'true' [-Wpointer-bool-conversion] if(dhklTable && strlen(dhklTable)) ^~~~~~~~~ ~~ ./ESS_BEER_MCPL.c:13899:52: warning: address of array 'dhklTable' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_dhklmon_var._parameters.mod_d0_table, dhklTable ? dhklTable : "", 16384); ^~~~~~~~~ ~ ./ESS_BEER_MCPL.c:14158:37: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat] (long unsigned)repeat_count,(long unsigned)repeat_cnt*nparticles); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ESS_BEER_MCPL.c:608:5: note: expanded from macro 'MPI_MASTER' { statement; } \ ^~~~~~~~~ ./ESS_BEER_MCPL.c:14161:20: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat] mpi_node_count,(long unsigned)mpi_node_count*repeat_cnt*nparticles); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ESS_BEER_MCPL.c:608:5: note: expanded from macro 'MPI_MASTER' { statement; } \ ^~~~~~~~~ ./ESS_BEER_MCPL.c:14253:36: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat] (long unsigned)repeat_count,(long unsigned)repeat_cnt*read_neutrons); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. DEBUG: CMD: mpicc finished INFO: ===