INFO: No output directory specified (--dir) INFO: Using directory: "ESS_butterfly_MCPL_test_20240617_100103" INFO: Regenerating c-file: ESS_butterfly_MCPL_test.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./ESS_butterfly_MCPL_test.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/ESS_butterfly_MCPL_test/ESS_butterfly_MCPL_test.instr Info: 'Guide_curved' is a contributed component. CFLAGS= -Wl,-rpath,CMD(mcpl-config --show libdir) -LCMD(mcpl-config --show libdir) -lmcpl -ICMD(mcpl-config --show includedir) ----------------------------------------------------------- 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_butterfly_MCPL_test.out --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show includedir DEBUG: CMD: mpicc -o ./ESS_butterfly_MCPL_test.out ./ESS_butterfly_MCPL_test.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 -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -lmcpl -I/Users/peterwillendrup/miniforge3/include ./ESS_butterfly_MCPL_test.c:3623:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./ESS_butterfly_MCPL_test.c:13449:6: warning: address of array 'MCPLfile' will always evaluate to 'true' [-Wpointer-bool-conversion] if(MCPLfile && strlen(MCPLfile)) ^~~~~~~~ ~~ ./ESS_butterfly_MCPL_test.c:13450:44: warning: address of array 'MCPLfile' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_vin_var._parameters.filename, MCPLfile ? MCPLfile : "", 16384); ^~~~~~~~ ~ ./ESS_butterfly_MCPL_test.c:14405:6: warning: address of array 'options1' will always evaluate to 'true' [-Wpointer-bool-conversion] if(options1 && strlen(options1)) ^~~~~~~~ ~~ ./ESS_butterfly_MCPL_test.c:14406:46: warning: address of array 'options1' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_MonND1_var._parameters.options, options1 ? options1 : "", 16384); ^~~~~~~~ ~ ./ESS_butterfly_MCPL_test.c:14496:6: warning: address of array 'options1' will always evaluate to 'true' [-Wpointer-bool-conversion] if(options1 && strlen(options1)) ^~~~~~~~ ~~ ./ESS_butterfly_MCPL_test.c:14497:46: warning: address of array 'options1' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_CWidth_var._parameters.options, options1 ? options1 : "", 16384); ^~~~~~~~ ~ ./ESS_butterfly_MCPL_test.c:14587:6: warning: address of array 'options1' will always evaluate to 'true' [-Wpointer-bool-conversion] if(options1 && strlen(options1)) ^~~~~~~~ ~~ ./ESS_butterfly_MCPL_test.c:14588:46: warning: address of array 'options1' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_TWidth_var._parameters.options, options1 ? options1 : "", 16384); ^~~~~~~~ ~ ./ESS_butterfly_MCPL_test.c:14678:6: warning: address of array 'options4' will always evaluate to 'true' [-Wpointer-bool-conversion] if(options4 && strlen(options4)) ^~~~~~~~ ~~ ./ESS_butterfly_MCPL_test.c:14679:46: warning: address of array 'options4' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_MonND2_var._parameters.options, options4 ? options4 : "", 16384); ^~~~~~~~ ~ ./ESS_butterfly_MCPL_test.c:14769:6: warning: address of array 'options4' will always evaluate to 'true' [-Wpointer-bool-conversion] if(options4 && strlen(options4)) ^~~~~~~~ ~~ ./ESS_butterfly_MCPL_test.c:14770:48: warning: address of array 'options4' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_MonND2_2_var._parameters.options, options4 ? options4 : "", 16384); ^~~~~~~~ ~ ./ESS_butterfly_MCPL_test.c:14860:6: warning: address of array 'options2' will always evaluate to 'true' [-Wpointer-bool-conversion] if(options2 && strlen(options2)) ^~~~~~~~ ~~ ./ESS_butterfly_MCPL_test.c:14861:46: warning: address of array 'options2' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_MonND3_var._parameters.options, options2 ? options2 : "", 16384); ^~~~~~~~ ~ ./ESS_butterfly_MCPL_test.c:16107: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_butterfly_MCPL_test.c:638:5: note: expanded from macro 'MPI_MASTER' { statement; } \ ^~~~~~~~~ ./ESS_butterfly_MCPL_test.c:16110: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_butterfly_MCPL_test.c:638:5: note: expanded from macro 'MPI_MASTER' { statement; } \ ^~~~~~~~~ ./ESS_butterfly_MCPL_test.c:16202: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ESS_butterfly_MCPL_test.c:17652:11: warning: 'Emin' macro redefined [-Wmacro-redefined] #define Emin (_particle->Emin) ^ ./ESS_butterfly_MCPL_test.c:17448:11: note: previous definition is here #define Emin (_comp->_parameters.Emin) ^ ./ESS_butterfly_MCPL_test.c:17653:11: warning: 'Emax' macro redefined [-Wmacro-redefined] #define Emax (_particle->Emax) ^ ./ESS_butterfly_MCPL_test.c:17449:11: note: previous definition is here #define Emax (_comp->_parameters.Emax) ^ 20 warnings generated. DEBUG: CMD: mpicc finished INFO: ===