INFO: No output directory specified (--dir) INFO: Using directory: "SESANS_Delft_20251212_060116" INFO: Regenerating c-file: SESANS_Delft.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/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: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./SESANS_Delft.out DEBUG: CMD: mpicc -o ./SESANS_Delft.out ./SESANS_Delft.c -lm -DUSE_MPI -lmpi -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fno-PIC -fPIE -flto -O3 -mtune=native -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: ===