INFO: No output directory specified (--dir) INFO: Using directory: "SESANS_Delft_20251212_034221" INFO: Regenerating c-file: SESANS_Delft.c DEBUG: CMD: /usr/share/miniconda/envs/mcstas/bin/mcstas -t -o ./SESANS_Delft.c SESANS_Delft.instr Info: 'Foil_flipper_magnet' is a contributed component. CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /usr/share/miniconda/envs/mcstas/bin/mcstas finished INFO: Recompiling: ./SESANS_Delft.out DEBUG: CMD: mpicc -o ./SESANS_Delft.out ./SESANS_Delft.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/usr/share/miniconda/envs/mcstas/lib -Wl,-rpath-link,/usr/share/miniconda/envs/mcstas/lib -L/usr/share/miniconda/envs/mcstas/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /usr/share/miniconda/envs/mcstas/include -DUSE_MPI -lmpi -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /usr/share/miniconda/envs/mcstas/include -O2 -g -DNDEBUG -I/usr/share/miniconda/envs/mcstas/include -Wl,-rpath,/usr/share/miniconda/envs/mcstas/lib -L/usr/share/miniconda/envs/mcstas/lib -fno-PIC -fPIE -flto -O3 -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./SESANS_Delft.c: In function 'class_Foil_flipper_magnet_trace': ./SESANS_Delft.c:12766:5: warning: 'mcmagnet_push' accessing 64 bytes in a region of size 32 [-Wstringop-overflow=] 12766 | mcmagnet_push(_particle,0,&(ROT_A_CURRENT_COMP),&(POS_A_CURRENT_COMP),0,instray_magnet); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SESANS_Delft.c:12766:5: note: referencing argument 6 of type 'double[8]' ./SESANS_Delft.c:9695:7: note: in a call to function 'mcmagnet_push' 9695 | void *mcmagnet_push(_class_particle *_particle, int func_id, Rotation *magnet_rot, Coords *magnet_pos, int stopbit, double prms[8]){ | ^~~~~~~~~~~~~ ./SESANS_Delft.c:12783:3: warning: 'mcmagnet_push' accessing 64 bytes in a region of size 24 [-Wstringop-overflow=] 12783 | mcmagnet_push(_particle,constant,&(ROT_A_CURRENT_COMP),&(POS_A_CURRENT_COMP),1,inside_magnet); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SESANS_Delft.c:12783:3: note: referencing argument 6 of type 'double[8]' ./SESANS_Delft.c:9695:7: note: in a call to function 'mcmagnet_push' 9695 | void *mcmagnet_push(_class_particle *_particle, int func_id, Rotation *magnet_rot, Coords *magnet_pos, int stopbit, double prms[8]){ | ^~~~~~~~~~~~~ ./SESANS_Delft.c:12824:5: warning: 'mcmagnet_push' accessing 64 bytes in a region of size 32 [-Wstringop-overflow=] 12824 | mcmagnet_push(_particle,0,&(ROT_A_CURRENT_COMP),&(POS_A_CURRENT_COMP),0,outstray_magnet); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SESANS_Delft.c:12824:5: note: referencing argument 6 of type 'double[8]' ./SESANS_Delft.c:9695:7: note: in a call to function 'mcmagnet_push' 9695 | void *mcmagnet_push(_class_particle *_particle, int func_id, Rotation *magnet_rot, Coords *magnet_pos, int stopbit, double prms[8]){ | ^~~~~~~~~~~~~ lto-wrapper: warning: using serial compilation of 2 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information ./SESANS_Delft.c: In function 'class_Foil_flipper_magnet_trace': ./SESANS_Delft.c:12766:5: warning: 'mcmagnet_push.isra' accessing 64 bytes in a region of size 32 [-Wstringop-overflow=] 12766 | mcmagnet_push(_particle,0,&(ROT_A_CURRENT_COMP),&(POS_A_CURRENT_COMP),0,instray_magnet); | ^ ./SESANS_Delft.c:12766:5: note: referencing argument 6 of type 'double[8]' ./SESANS_Delft.c:9695:7: note: in a call to function 'mcmagnet_push.isra' 9695 | void *mcmagnet_push(_class_particle *_particle, int func_id, Rotation *magnet_rot, Coords *magnet_pos, int stopbit, double prms[8]){ | ^ ./SESANS_Delft.c:12783:3: warning: 'mcmagnet_push.isra' accessing 64 bytes in a region of size 24 [-Wstringop-overflow=] 12783 | mcmagnet_push(_particle,constant,&(ROT_A_CURRENT_COMP),&(POS_A_CURRENT_COMP),1,inside_magnet); | ^ ./SESANS_Delft.c:12783:3: note: referencing argument 6 of type 'double[8]' ./SESANS_Delft.c:9695:7: note: in a call to function 'mcmagnet_push.isra' 9695 | void *mcmagnet_push(_class_particle *_particle, int func_id, Rotation *magnet_rot, Coords *magnet_pos, int stopbit, double prms[8]){ | ^ ./SESANS_Delft.c:12824:5: warning: 'mcmagnet_push.isra' accessing 64 bytes in a region of size 32 [-Wstringop-overflow=] 12824 | mcmagnet_push(_particle,0,&(ROT_A_CURRENT_COMP),&(POS_A_CURRENT_COMP),0,outstray_magnet); | ^ ./SESANS_Delft.c:12824:5: note: referencing argument 6 of type 'double[8]' ./SESANS_Delft.c:9695:7: note: in a call to function 'mcmagnet_push.isra' 9695 | void *mcmagnet_push(_class_particle *_particle, int func_id, Rotation *magnet_rot, Coords *magnet_pos, int stopbit, double prms[8]){ | ^ DEBUG: CMD: mpicc finished INFO: ===