loading system configuration loading override configuration from /users/willend/mxtest/mctest/../mccodelib/mcxtrace-test/McXtrace_DUAL_A100_DMSC/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "Pump_probe_20221201_031815" INFO: Regenerating c-file: Pump_probe.c DEBUG: CMD: mcxtrace -t -o ./Pump_probe.c /users/willend/xTESTS/2022-12-01/McXtrace_DUAL_A100_DMSC_5e7/Pump_probe/Pump_probe.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Pump_probe.out DEBUG: CMD: nvc -o ./Pump_probe.out ./Pump_probe.c -lm -DUSE_MPI -lmpi -L/mnt/groupdata/apps/CentOS8_2/nvhpc/hpc_sdk/Linux_x86_64/21.2/comm_libs/mpi/lib -I/mnt/groupdata/apps/CentOS8_2/nvhpc/hpc_sdk/Linux_x86_64/21.2/comm_libs/mpi/include -Minfo=accel -lm -acc=gpu -gpu=fastmath,managed -DOPENACC "./Pump_probe.c", line 1642: warning: arithmetic on pointer to void or function type if (MPI_Send((void*)(sbuf+offset*dsize), length, dtype, dest, tag++, MPI_COMM_WORLD) != MPI_SUCCESS) ^ "./Pump_probe.c", line 1669: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./Pump_probe.c", line 3387: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./Pump_probe.c", line 5939: warning: variable "ret" was declared but never referenced int ret=1,stat=0,plane_stat=0; ^ "./Pump_probe.c", line 6112: warning: variable "D" was declared but never referenced double A,B,C,D,k; ^ "./Pump_probe.c", line 8064: warning: variable "i" was declared but never referenced int i; ^ "./Pump_probe.c", line 8452: warning: integer conversion resulted in a change of sign Vars->OFF_polyidx = -1; ^ "./Pump_probe.c", line 9454: warning: variable "ratio" was set but never used double ratio; ^ "./Pump_probe.c", line 9969: warning: variable "y0" is used before its value is set if (y0 < ymin) y0=ymin; ^ "./Pump_probe.c", line 9971: warning: variable "y1" is used before its value is set if (y1 < ymin) y1=ymin; ^ "./Pump_probe.c", line 11699: warning: controlling expression is constant if("NULL" && strlen("NULL")) ^ "./Pump_probe.c", line 11700: warning: controlling expression is constant stracpy(_Origin_var._parameters.profile, "NULL" ? "NULL" : "", 16384); ^ "./Pump_probe.c", line 11710: warning: variable "tc2" was set but never used Coords tc1, tc2; ^ "./Pump_probe.c", line 11753: warning: controlling expression is constant if("" && strlen("")) ^ "./Pump_probe.c", line 11754: warning: controlling expression is constant stracpy(_src_var._parameters.spectrum_file, "" ? "" : "", 16384); ^ "./Pump_probe.c", line 11798: warning: controlling expression is constant if("emon_src" && strlen("emon_src")) ^ "./Pump_probe.c", line 11799: warning: controlling expression is constant stracpy(_emon_src_var._parameters.filename, "emon_src" ? "emon_src" : "", 16384); ^ "./Pump_probe.c", line 11851: warning: controlling expression is constant if("lmon_src" && strlen("lmon_src")) ^ "./Pump_probe.c", line 11852: warning: controlling expression is constant stracpy(_lmon_src_var._parameters.filename, "lmon_src" ? "lmon_src" : "", 16384); ^ "./Pump_probe.c", line 12050: warning: controlling expression is constant if("FormFactors.txt" && strlen("FormFactors.txt")) ^ "./Pump_probe.c", line 12051: warning: controlling expression is constant stracpy(_sample_var._parameters.form_factors, "FormFactors.txt" ? "FormFactors.txt" : "", 16384); ^ "./Pump_probe.c", line 12054: warning: controlling expression is constant if("Fe_bpy_GS_DFT.txt" && strlen("Fe_bpy_GS_DFT.txt")) ^ "./Pump_probe.c", line 12055: warning: controlling expression is constant stracpy(_sample_var._parameters.state_0_file, "Fe_bpy_GS_DFT.txt" ? "Fe_bpy_GS_DFT.txt" : "", 16384); ^ "./Pump_probe.c", line 12058: warning: controlling expression is constant if("Fe_bpy_ES_DFT.txt" && strlen("Fe_bpy_ES_DFT.txt")) ^ "./Pump_probe.c", line 12059: warning: controlling expression is constant stracpy(_sample_var._parameters.state_1_file, "Fe_bpy_ES_DFT.txt" ? "Fe_bpy_ES_DFT.txt" : "", 16384); ^ "./Pump_probe.c", line 12063: warning: controlling expression is constant if("Be.txt" && strlen("Be.txt")) ^ "./Pump_probe.c", line 12064: warning: controlling expression is constant stracpy(_sample_var._parameters.material_datafile, "Be.txt" ? "Be.txt" : "", 16384); ^ "./Pump_probe.c", line 12112: warning: controlling expression is constant if("4pi.dat" && strlen("4pi.dat")) ^ "./Pump_probe.c", line 12113: warning: controlling expression is constant stracpy(_psd4pi_var._parameters.filename, "4pi.dat" ? "4pi.dat" : "", 16384); ^ "./Pump_probe.c", line 12155: warning: controlling expression is constant if("" && strlen("")) ^ "./Pump_probe.c", line 12156: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.user1, "" ? "" : "", 16384); ^ "./Pump_probe.c", line 12159: warning: controlling expression is constant if("" && strlen("")) ^ "./Pump_probe.c", line 12160: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.user2, "" ? "" : "", 16384); ^ "./Pump_probe.c", line 12163: warning: controlling expression is constant if("" && strlen("")) ^ "./Pump_probe.c", line 12164: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.user3, "" ? "" : "", 16384); ^ "./Pump_probe.c", line 12181: warning: controlling expression is constant if("banana theta limits=[0,45] bins=201" && strlen("banana theta limits=[0,45] bins=201")) ^ "./Pump_probe.c", line 12182: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.options, "banana theta limits=[0,45] bins=201" ? "banana theta limits=[0,45] bins=201" : "", 16384); ^ "./Pump_probe.c", line 12185: warning: controlling expression is constant if("bananapsd" && strlen("bananapsd")) ^ "./Pump_probe.c", line 12186: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.filename, "bananapsd" ? "bananapsd" : "", 16384); ^ "./Pump_probe.c", line 12189: warning: controlling expression is constant if("NULL" && strlen("NULL")) ^ "./Pump_probe.c", line 12190: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.geometry, "NULL" ? "NULL" : "", 16384); ^ "./Pump_probe.c", line 12194: warning: controlling expression is constant if("NULL" && strlen("NULL")) ^ "./Pump_probe.c", line 12195: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.username1, "NULL" ? "NULL" : "", 16384); ^ "./Pump_probe.c", line 12198: warning: controlling expression is constant if("NULL" && strlen("NULL")) ^ "./Pump_probe.c", line 12199: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.username2, "NULL" ? "NULL" : "", 16384); ^ "./Pump_probe.c", line 12202: warning: controlling expression is constant if("NULL" && strlen("NULL")) ^ "./Pump_probe.c", line 12203: warning: controlling expression is constant stracpy(_bananapsd_var._parameters.username3, "NULL" ? "NULL" : "", 16384); ^ "./Pump_probe.c", line 12245: warning: controlling expression is constant if("linepsd.dat" && strlen("linepsd.dat")) ^ "./Pump_probe.c", line 12246: warning: controlling expression is constant stracpy(_1dpsd_var._parameters.filename, "linepsd.dat" ? "linepsd.dat" : "", 16384); ^ "./Pump_probe.c", line 12357: warning: variable "status" was set but never used int status=0; ^ "./Pump_probe.c", line 12424: warning: variable "i" was declared but never referenced int i; ^ "./Pump_probe.c", line 12477: warning: variable "i" was declared but never referenced int i; ^ "./Pump_probe.c", line 12635: warning: variable "status" was set but never used int status; ^ "./Pump_probe.c", line 12840: warning: variable "i" was declared but never referenced int i,j; ^ "./Pump_probe.c", line 12840: warning: variable "j" was declared but never referenced int i,j; ^ "./Pump_probe.c", line 13071: warning: variable "i" was declared but never referenced int i,j; ^ "./Pump_probe.c", line 13071: warning: variable "j" was declared but never referenced int i,j; ^ "./Pump_probe.c", line 13072: warning: variable "p1" was declared but never referenced double *p1,*p2,*p3; ^ "./Pump_probe.c", line 13072: warning: variable "p2" was declared but never referenced double *p1,*p2,*p3; ^ "./Pump_probe.c", line 13072: warning: variable "p3" was declared but never referenced double *p1,*p2,*p3; ^ "./Pump_probe.c", line 13199: warning: incompatible redefinition of macro "exit" (declared at line 471) #define exit(...) noprintf() ^ "./Pump_probe.c", line 13849: warning: variable "rr" was declared but never referenced double qq,alpha,ff2,rr; ^ "./Pump_probe.c", line 13832: warning: variable "pmul" was declared but never referenced double pmul=1,p_s; ^ "./Pump_probe.c", line 14321: warning: variable "k" was declared but never referenced int i,j,k; ^ "./Pump_probe.c", line 14322: warning: variable "e" was declared but never referenced double e,p2; ^ "./Pump_probe.c", line 16119: warning: variable "t" was declared but never referenced time_t t; ^ "./Pump_probe.c", line 16120: warning: variable "ct" was set but never used clock_t ct; ^ "./Pump_probe.c", line 1351: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Pump_probe.c", line 2701: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 70, Generating acc routine seq Generating Tesla code particle_getvar: 84, Generating acc routine seq Generating Tesla code particle_getvar_void: 114, Generating acc routine seq Generating Tesla code particle_setvar_void: 139, Generating acc routine seq Generating Tesla code particle_setvar_void_array: 162, Generating acc routine seq Generating Tesla code particle_restore: 173, Generating acc routine seq Generating Tesla code particle_getuservar_byid: 182, Generating acc routine seq Generating Tesla code particle_uservar_init: 192, Generating acc routine seq Generating Tesla code noprintf: 1387, Generating acc routine seq Generating Tesla code str_comp: 1391, Generating acc routine seq Generating Tesla code str_len: 1400, Generating acc routine seq Generating Tesla code mcget_ncount: 3678, Generating acc routine seq Generating Tesla code coords_set: 3915, Generating acc routine seq Generating Tesla code coords_get: 3926, Generating acc routine seq Generating Tesla code coords_add: 3935, Generating acc routine seq Generating Tesla code coords_sub: 3947, Generating acc routine seq Generating Tesla code coords_neg: 3959, Generating acc routine seq Generating Tesla code coords_scale: 3969, Generating acc routine seq Generating Tesla code coords_sp: 3979, Generating acc routine seq Generating Tesla code coords_xp: 3987, Generating acc routine seq Generating Tesla code coords_len: 3997, Generating acc routine seq Generating Tesla code coords_print: 4019, Generating acc routine seq Generating Tesla code coords_norm: 4026, Generating acc routine seq Generating Tesla code rot_set_rotation: 4072, Generating acc routine seq Generating Tesla code rot_test_identity: 4107, Generating acc routine seq Generating Tesla code rot_mul: 4118, Generating acc routine seq Generating Tesla code rot_copy: 4135, Generating acc routine seq Generating Tesla code rot_transpose: 4146, Generating acc routine seq Generating Tesla code rot_apply: 4162, Generating acc routine seq Generating Tesla code vec_prod_func: 4191, Generating acc routine seq Generating Tesla code scalar_prod: 4202, Generating acc routine seq Generating Tesla code norm_func: 4206, Generating acc routine seq Generating Tesla code mccoordschange: 4383, Generating acc routine seq Generating Tesla code mccoordschange_polarisation: 4414, Generating acc routine seq Generating Tesla code normal_vec: 4431, Generating acc routine seq Generating Tesla code solve_2nd_order: 4530, Generating acc routine seq Generating Tesla code _randvec_target_circle: 4614, Generating acc routine seq Generating Tesla code _randvec_target_rect_angular: 4680, Generating acc routine seq Generating Tesla code _randvec_target_rect_real: 4757, Generating acc routine seq Generating Tesla code kiss_srandom: 5029, Generating acc routine seq Generating Tesla code kiss_random: 5039, Generating acc routine seq Generating Tesla code _hash: 5065, Generating acc routine seq Generating Tesla code _randnorm2: 5106, Generating acc routine seq Generating Tesla code _randtriangle: 5117, Generating acc routine seq Generating Tesla code _rand01: 5122, Generating acc routine seq Generating Tesla code _randpm1: 5130, Generating acc routine seq Generating Tesla code _rand0max: 5138, Generating acc routine seq Generating Tesla code _randminmax: 5145, Generating acc routine seq Generating Tesla code mcsetstate: 5740, Generating acc routine seq Generating Tesla code mcgetstate: 5773, Generating acc routine seq Generating Tesla code inside_rectangle: 5834, Generating acc routine seq Generating Tesla code box_intersect: 5850, Generating acc routine seq Generating Tesla code cylinder_intersect: 5936, Generating acc routine seq Generating Tesla code sphere_intersect: 6004, Generating acc routine seq Generating Tesla code Table_Index: 7085, Generating acc routine seq Generating Tesla code Table_Value: 7153, Generating acc routine seq Generating Tesla code Table_Value2d: 7232, Generating acc routine seq Generating Tesla code Table_Interp1d: 7670, Generating acc routine seq Generating Tesla code Table_Interp1d_nearest: 7686, Generating acc routine seq Generating Tesla code Table_Interp2d: 7704, Generating acc routine seq Generating Tesla code Monitor_nD_Trace: 9047, Generating acc routine seq Generating Tesla code off_F: 10264, Generating acc routine seq Generating Tesla code off_sign: 10269, Generating acc routine seq Generating Tesla code off_normal: 10279, Generating acc routine seq Generating Tesla code off_pnpoly: 10305, Generating acc routine seq Generating Tesla code off_intersectPoly: 10367, Generating acc routine seq Generating Tesla code off_init_planes: 10498, Generating acc routine seq Generating Tesla code off_clip_3D_mod: 10543, Generating acc routine seq Generating Tesla code off_compare: 10655, Generating acc routine seq Generating Tesla code off_cleanDouble: 10667, Generating acc routine seq Generating Tesla code off_cleanInOut: 10702, Generating acc routine seq Generating Tesla code Min_int: 10946, Generating acc routine seq Generating Tesla code off_intersect_all: 11062, Generating acc routine seq Generating Tesla code off_intersect: 11144, Generating acc routine seq Generating Tesla code off_x_intersect: 11166, Generating acc routine seq Generating Tesla code init: 13173, Generating update device(_1dpsd_var,_src_var,_sample_var,_bananapsd_var,_instrument_var,_Origin_var,_psd4pi_var,_pulse_shape_chop_var,_sample_pos_var,_lmon_src_var,_ap1_var,_emon_src_var) class_Progress_bar_trace: 13213, Generating acc routine seq Generating Tesla code class_Source_pt_trace: 13303, Generating acc routine seq Generating Tesla code class_E_monitor_trace: 13427, Generating acc routine seq Generating Tesla code class_L_monitor_trace: 13509, Generating acc routine seq Generating Tesla code class_Slit_trace: 13590, Generating acc routine seq Generating Tesla code class_Chopper_simple_trace: 13667, Generating acc routine seq Generating Tesla code class_Molecule_2state_trace: 13741, Generating acc routine seq Generating Tesla code class_PSD_monitor_4PI_trace: 13983, Generating acc routine seq Generating Tesla code class_Monitor_nD_trace: 14063, Generating acc routine seq Generating Tesla code class_PSD_monitor_trace: 14301, Generating acc routine seq Generating Tesla code raytrace: 14403, Generating acc routine seq Generating Tesla code raytrace_all: 14670, Generating Tesla code 14681, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 14670, Local memory used for particleN finally: 15492, Generating update self(_1dpsd_var,_src_var,_sample_var,_bananapsd_var,_instrument_var,_Origin_var,_psd4pi_var,_pulse_shape_chop_var,_sample_pos_var,_lmon_src_var,_ap1_var,_emon_src_var) INFO: ===