INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H22_D1A_20250514_115952" INFO: Regenerating c-file: ILL_H22_D1A.c DEBUG: CMD: /gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/bin/mcstas -t -o ./ILL_H22_D1A.c ILL_H22_D1A.instr Info: 'Al_window' is a contributed component. ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Container_out: EXTEND %{ flag_container=SCATTERED; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_container=1; %} ----------------------------------------------------------- ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Environment_out: EXTEND %{ flag_env=SCATTERED; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_env=1; %} ----------------------------------------------------------- CFLAGS= --> Added COMPONENT Monok USERVAR ncol_111 with type int --> Added COMPONENT Monok USERVAR nrow_111 with type int WARNING: The parameter format of Environment_in 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: -> SPLIT N at component Monok -> SPLIT N at component SamplePos ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Monok -> SPLIT within buffer at component SamplePos ----------------------------------------------------------- DEBUG: CMD: /gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/bin/mcstas finished INFO: Recompiling: ./ILL_H22_D1A.out DEBUG: CMD: nvc -o ./ILL_H22_D1A.out ./ILL_H22_D1A.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,/gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/lib -Wl,-rpath-link,/gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/lib -L/gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/lib -mtune=haswell -fPIC -O2 -isystem /gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_H22_D1A.c", line 4602: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ILL_H22_D1A.c", line 6303: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./ILL_H22_D1A.c", line 11383: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H22_D1A.c", line 11383: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H22_D1A.c", line 11410: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H22_D1A.c", line 11410: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H22_D1A.c", line 11741: warning: variable "minx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_D1A.c", line 11741: warning: variable "maxx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_D1A.c", line 11741: warning: variable "miny" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_D1A.c", line 11741: warning: variable "maxy" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_D1A.c", line 11741: warning: variable "minz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_D1A.c", line 11741: warning: variable "maxz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_D1A.c", line 12098: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_H22_D1A.c", line 14252: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H22_D1A.c", line 14240: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_H22_D1A.c", line 14297: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_H22_D1A.c", line 14417: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_H22_D1A.c", line 14539: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_H22_D1A.c", line 14661: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_H22_D1A.c", line 14783: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_H22_D1A.c", line 14832: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_H22_D1A.c", line 14884: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_H22_D1A.c", line 15006: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_H22_D1A.c", line 15128: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_H22_D1A.c", line 15250: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_H22_D1A.c", line 15372: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_H22_D1A.c", line 15494: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_H22_D1A.c", line 15616: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_H22_D1A.c", line 15738: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_H22_D1A.c", line 15790: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_H22_D1A.c", line 15839: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_H22_D1A.c", line 15891: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_H22_D1A.c", line 16013: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_H22_D1A.c", line 16135: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ILL_H22_D1A.c", line 16257: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ILL_H22_D1A.c", line 16379: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ILL_H22_D1A.c", line 16501: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ILL_H22_D1A.c", line 16623: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ILL_H22_D1A.c", line 16745: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./ILL_H22_D1A.c", line 16867: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./ILL_H22_D1A.c", line 16989: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./ILL_H22_D1A.c", line 17111: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./ILL_H22_D1A.c", line 17233: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./ILL_H22_D1A.c", line 17355: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./ILL_H22_D1A.c", line 17477: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./ILL_H22_D1A.c", line 17599: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./ILL_H22_D1A.c", line 17721: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./ILL_H22_D1A.c", line 17773: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./ILL_H22_D1A.c", line 17822: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 35; ^ "./ILL_H22_D1A.c", line 17874: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 36; ^ "./ILL_H22_D1A.c", line 17996: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 37; ^ "./ILL_H22_D1A.c", line 18118: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 38; ^ "./ILL_H22_D1A.c", line 18240: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 39; ^ "./ILL_H22_D1A.c", line 18362: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 40; ^ "./ILL_H22_D1A.c", line 18484: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 41; ^ "./ILL_H22_D1A.c", line 18536: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 42; ^ "./ILL_H22_D1A.c", line 18585: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 43; ^ "./ILL_H22_D1A.c", line 18637: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 44; ^ "./ILL_H22_D1A.c", line 18759: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 45; ^ "./ILL_H22_D1A.c", line 18881: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 46; ^ "./ILL_H22_D1A.c", line 19003: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 47; ^ "./ILL_H22_D1A.c", line 19125: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 48; ^ "./ILL_H22_D1A.c", line 19247: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 49; ^ "./ILL_H22_D1A.c", line 19369: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 50; ^ "./ILL_H22_D1A.c", line 19491: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 51; ^ "./ILL_H22_D1A.c", line 19613: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 52; ^ "./ILL_H22_D1A.c", line 19735: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 53; ^ "./ILL_H22_D1A.c", line 19857: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 54; ^ "./ILL_H22_D1A.c", line 19979: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 55; ^ "./ILL_H22_D1A.c", line 20101: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 56; ^ "./ILL_H22_D1A.c", line 20223: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 57; ^ "./ILL_H22_D1A.c", line 20345: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 58; ^ "./ILL_H22_D1A.c", line 20467: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 59; ^ "./ILL_H22_D1A.c", line 20589: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 60; ^ "./ILL_H22_D1A.c", line 20711: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 61; ^ "./ILL_H22_D1A.c", line 20833: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 62; ^ "./ILL_H22_D1A.c", line 20955: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 63; ^ "./ILL_H22_D1A.c", line 21077: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 64; ^ "./ILL_H22_D1A.c", line 21199: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 65; ^ "./ILL_H22_D1A.c", line 21321: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 66; ^ "./ILL_H22_D1A.c", line 21443: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 67; ^ "./ILL_H22_D1A.c", line 21565: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 68; ^ "./ILL_H22_D1A.c", line 21687: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 69; ^ "./ILL_H22_D1A.c", line 21809: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 70; ^ "./ILL_H22_D1A.c", line 21931: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 71; ^ "./ILL_H22_D1A.c", line 22053: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 72; ^ "./ILL_H22_D1A.c", line 22175: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 73; ^ "./ILL_H22_D1A.c", line 22297: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 74; ^ "./ILL_H22_D1A.c", line 22419: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 75; ^ "./ILL_H22_D1A.c", line 22541: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 76; ^ "./ILL_H22_D1A.c", line 22663: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 77; ^ "./ILL_H22_D1A.c", line 22785: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 78; ^ "./ILL_H22_D1A.c", line 22907: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 79; ^ "./ILL_H22_D1A.c", line 23029: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 80; ^ "./ILL_H22_D1A.c", line 23151: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 81; ^ "./ILL_H22_D1A.c", line 23273: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 82; ^ "./ILL_H22_D1A.c", line 23395: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 83; ^ "./ILL_H22_D1A.c", line 23517: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 84; ^ "./ILL_H22_D1A.c", line 23639: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 85; ^ "./ILL_H22_D1A.c", line 23761: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 86; ^ "./ILL_H22_D1A.c", line 23883: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 87; ^ "./ILL_H22_D1A.c", line 24005: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 88; ^ "./ILL_H22_D1A.c", line 24127: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 89; ^ "./ILL_H22_D1A.c", line 24249: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 90; ^ "./ILL_H22_D1A.c", line 24371: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 91; ^ "./ILL_H22_D1A.c", line 24493: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 92; ^ "./ILL_H22_D1A.c", line 24615: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 93; ^ "./ILL_H22_D1A.c", line 24737: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 94; ^ "./ILL_H22_D1A.c", line 24859: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 95; ^ "./ILL_H22_D1A.c", line 24981: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 96; ^ "./ILL_H22_D1A.c", line 25103: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 97; ^ "./ILL_H22_D1A.c", line 25225: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 98; ^ "./ILL_H22_D1A.c", line 25347: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 99; ^ "./ILL_H22_D1A.c", line 25469: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 100; ^ "./ILL_H22_D1A.c", line 25591: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 101; ^ "./ILL_H22_D1A.c", line 25713: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 102; ^ "./ILL_H22_D1A.c", line 25835: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 103; ^ "./ILL_H22_D1A.c", line 25887: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 104; ^ "./ILL_H22_D1A.c", line 25936: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 105; ^ "./ILL_H22_D1A.c", line 26062: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 106; ^ "./ILL_H22_D1A.c", line 26188: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 107; ^ "./ILL_H22_D1A.c", line 26314: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 108; ^ "./ILL_H22_D1A.c", line 26440: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 109; ^ "./ILL_H22_D1A.c", line 26566: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 110; ^ "./ILL_H22_D1A.c", line 26615: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 111; ^ "./ILL_H22_D1A.c", line 26712: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 112; ^ "./ILL_H22_D1A.c", line 26761: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 113; ^ "./ILL_H22_D1A.c", line 26887: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 114; ^ "./ILL_H22_D1A.c", line 27013: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 115; ^ "./ILL_H22_D1A.c", line 27062: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 116; ^ "./ILL_H22_D1A.c", line 27183: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 117; ^ "./ILL_H22_D1A.c", line 27304: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 118; ^ "./ILL_H22_D1A.c", line 27425: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 119; ^ "./ILL_H22_D1A.c", line 27546: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 120; ^ "./ILL_H22_D1A.c", line 27667: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 121; ^ "./ILL_H22_D1A.c", line 27748: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 122; ^ "./ILL_H22_D1A.c", line 27874: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 123; ^ "./ILL_H22_D1A.c", line 30511: warning: variable "Al_my_tot" was set but never used [set_but_not_used] double Al_s_tot_lambda,Al_my_tot,Al_my_a ; /* total XS (barn), total scattering length (m-1), absorption scat. length */ ^ "./ILL_H22_D1A.c", line 31234: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./ILL_H22_D1A.c", line 31235: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./ILL_H22_D1A.c", line 31238: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./ILL_H22_D1A.c", line 31241: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./ILL_H22_D1A.c", line 31245: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./ILL_H22_D1A.c", line 31246: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./ILL_H22_D1A.c", line 31247: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./ILL_H22_D1A.c", line 31248: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./ILL_H22_D1A.c", line 31249: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./ILL_H22_D1A.c", line 38960: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_H22_D1A.c", line 38961: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_H22_D1A.c", line 1539: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H22_D1A.c", line 2959: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 108, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 122, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 159, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 188, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 215, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 226, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 235, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 250, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1587, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1591, Generating acc routine seq Generating NVIDIA GPU code str_len: 1600, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4223, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4654, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4665, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4674, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4686, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4698, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4708, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4718, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4726, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4736, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4758, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4765, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4811, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4846, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4857, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4874, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4885, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4901, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4930, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4941, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4945, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5122, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5153, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5170, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5269, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5353, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5419, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5496, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5768, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5780, Generating acc routine seq Generating NVIDIA GPU code _hash: 5812, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5853, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5864, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5869, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5877, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5885, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5892, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6572, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6609, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6669, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6686, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6801, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6856, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7888, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7956, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8035, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8503, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8519, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8537, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8585, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 8689, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 8748, Generating acc routine seq Generating NVIDIA GPU code Gravity_guide_Trace: 9014, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 10373, Generating acc routine seq Generating NVIDIA GPU code off_F: 11698, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11703, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11713, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11739, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11802, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11933, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11978, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12095, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12213, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12225, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12260, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12511, Generating acc routine seq Generating NVIDIA GPU code merge: 12518, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12622, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12637, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12691, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12808, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12830, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 12960, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 13346, Generating acc routine seq Generating NVIDIA GPU code init: 29853, Generating update device(_Monok_var,_Sample_var,_PinkCarterSM_var,_PSDsample_var,_H22_6_var,_H22_3_Out_var,_H22_3_7_var,_GuideOut_xy_var,_H22_3_1_var,_H22_3_2_var,_H22_3_3_var,_H22_3_4_var,_H22_3_5_var,_H22_3_6_var,_H22_3_In_var,_H22_4_Out_var,_H22_4_9_var,_H22_4_15_var,_H22_4_1_var,_H22_4_2_var,_H22_4_3_var,_H22_4_4_var,_H22_4_5_var,_H22_4_6_var,_H22_4_7_var,_H22_4_8_var,_H22_3_var,_H22_4_10_var,_H22_4_11_var,_H22_4_12_var,_H22_4_13_var,_H22_4_14_var,_H22_4_In_var,_H22_5_Out_var,_H22_5_5_var,_H22_4_var,_H22_5_1_var,_H22_5_2_var,_H22_5_3_var,_H22_5_4_var,_H22_5_In_var,_H22_6_Out_var,_H22_6_1_var,_H22_6_1_99_var,_H22_6_1_102_var,_H22_6_1_45_var,_H22_6_1_46_var,_H22_6_1_47_var,_H22_6_1_48_var,_H22_6_1_49_var,_H22_6_1_50_var,_H22_6_1_51_var,_H22_6_1_52_var,_H22_6_1_53_var,_H22_6_1_54_var,_H22_6_1_55_var,_H22_6_1_56_var,_H22_6_1_57_var,_H22_6_1_58_var,_H22_6_1_59_var,_H22_6_1_60_var,_H22_6_1_61_var,_H22_6_1_62_var,_H22_6_1_63_var,_H22_6_1_64_var,_H22_6_1_65_var,_H22_6_1_66_var,_H22_6_1_67_var,_H22_6_1_68_var,_H22_6_1_69_var,_H22_6_1_70_var,_H22_6_1_71_var,_H22_6_1_72_var,_H22_6_1_73_var,_H22_6_1_74_var,_H22_6_1_75_var,_H22_6_1_76_var,_H22_6_1_77_var,_H22_6_1_78_var,_H22_6_1_79_var,_H22_6_1_80_var,_H22_6_1_81_var,_H22_6_1_82_var,_H22_6_1_83_var,_H22_6_1_84_var,_H22_6_1_85_var,_H22_6_1_86_var,_H22_6_1_87_var,_H22_6_1_88_var,_H22_6_1_89_var,_H22_6_1_90_var,_H22_6_1_91_var,_H22_6_1_92_var,_H22_6_1_93_var,_H22_6_1_94_var,_H22_6_1_95_var,_H22_6_1_96_var,_H22_6_1_97_var,_H22_6_1_98_var,_H22_5_var,_H22_6_1_100_var,_H22_6_1_101_var,_H22_6_In_var,_GuideOut_dxdy_var,_GuideOut_var,_GuideOut_Phic_var,_GuideOut_L_var,_Environment_out_var,_Container_out_var,_instrument_var,_Lmon_var,_mono_out_var,_mono_cradle_var,_LeadShutter_var,_Origin_var,_PinkCarter_var,_D1A_Mono_Dx_var,_Collimator_var,_SamplePos_var,_Container_in_var,_Environment_in_var,_BananaTheta_var,_BananaPSD_var,_Thermal_var) class_Progress_bar_trace: 29896, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 29986, Generating acc routine seq Generating NVIDIA GPU code class_Guide_gravity_trace: 30195, Generating acc routine seq Generating NVIDIA GPU code 30328, Reference argument passing prevents parallelization: dt class_Arm_trace: 30465, Generating acc routine seq Generating NVIDIA GPU code class_Al_window_trace: 30503, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 30551, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 30841, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 31186, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_radial_trace: 31673, Generating acc routine seq Generating NVIDIA GPU code raytrace: 31843, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 34403, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 34417, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 34403, Local memory used for .inl_particle_46834,particleN,.inl_.inl_mcneutron_0_46849,.inl_.X2309_46851,.inl_.inl_.X2517_15_46850 34417, Generating implicit firstprivate(seed,_particle) finally: 37215, Generating update self(_Monok_var,_Sample_var,_PinkCarterSM_var,_PSDsample_var,_H22_6_var,_H22_3_Out_var,_H22_3_7_var,_GuideOut_xy_var,_H22_3_1_var,_H22_3_2_var,_H22_3_3_var,_H22_3_4_var,_H22_3_5_var,_H22_3_6_var,_H22_3_In_var,_H22_4_Out_var,_H22_4_9_var,_H22_4_15_var,_H22_4_1_var,_H22_4_2_var,_H22_4_3_var,_H22_4_4_var,_H22_4_5_var,_H22_4_6_var,_H22_4_7_var,_H22_4_8_var,_H22_3_var,_H22_4_10_var,_H22_4_11_var,_H22_4_12_var,_H22_4_13_var,_H22_4_14_var,_H22_4_In_var,_H22_5_Out_var,_H22_5_5_var,_H22_4_var,_H22_5_1_var,_H22_5_2_var,_H22_5_3_var,_H22_5_4_var,_H22_5_In_var,_H22_6_Out_var,_H22_6_1_var,_H22_6_1_99_var,_H22_6_1_102_var,_H22_6_1_45_var,_H22_6_1_46_var,_H22_6_1_47_var,_H22_6_1_48_var,_H22_6_1_49_var,_H22_6_1_50_var,_H22_6_1_51_var,_H22_6_1_52_var,_H22_6_1_53_var,_H22_6_1_54_var,_H22_6_1_55_var,_H22_6_1_56_var,_H22_6_1_57_var,_H22_6_1_58_var,_H22_6_1_59_var,_H22_6_1_60_var,_H22_6_1_61_var,_H22_6_1_62_var,_H22_6_1_63_var,_H22_6_1_64_var,_H22_6_1_65_var,_H22_6_1_66_var,_H22_6_1_67_var,_H22_6_1_68_var,_H22_6_1_69_var,_H22_6_1_70_var,_H22_6_1_71_var,_H22_6_1_72_var,_H22_6_1_73_var,_H22_6_1_74_var,_H22_6_1_75_var,_H22_6_1_76_var,_H22_6_1_77_var,_H22_6_1_78_var,_H22_6_1_79_var,_H22_6_1_80_var,_H22_6_1_81_var,_H22_6_1_82_var,_H22_6_1_83_var,_H22_6_1_84_var,_H22_6_1_85_var,_H22_6_1_86_var,_H22_6_1_87_var,_H22_6_1_88_var,_H22_6_1_89_var,_H22_6_1_90_var,_H22_6_1_91_var,_H22_6_1_92_var,_H22_6_1_93_var,_H22_6_1_94_var,_H22_6_1_95_var,_H22_6_1_96_var,_H22_6_1_97_var,_H22_6_1_98_var,_H22_5_var,_H22_6_1_100_var,_H22_6_1_101_var,_H22_6_In_var,_GuideOut_dxdy_var,_GuideOut_var,_GuideOut_Phic_var,_GuideOut_L_var,_Environment_out_var,_Container_out_var,_instrument_var,_Lmon_var,_mono_out_var,_mono_cradle_var,_LeadShutter_var,_Origin_var,_PinkCarter_var,_D1A_Mono_Dx_var,_Collimator_var,_SamplePos_var,_Container_in_var,_Environment_in_var,_BananaTheta_var,_BananaPSD_var,_Thermal_var) mcenabletrace: 6012, Generating update device(mcdotrace) /gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/bin/ld: /tmp/nvc1SN3iF-bH8b8y.o: in function `cif2hkl': /gpfs/hpc/scratch/peterwillendrup/today/mcstas-3.5.29_openacc_DMSC_A100_Linux/ILL_H22_D1A/./ILL_H22_D1A.c:13068:(.text+0x2f9c4): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/bin/ld: /tmp/nvc1SN3iF-bH8b8y.o: note: the message above does not take linker garbage collection into account /gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/bin/ld: warning: /tmp/pgcudafatXgT3itC29Out_.o: missing .note.GNU-stack section implies executable stack /gpfs/hpc/apps/CentOS8_2/mcstas/3.5.29/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker DEBUG: CMD: nvc finished INFO: ===