INFO: No output directory specified (--dir) INFO: Using directory: "Test_TasReso_20250514_021009" INFO: Regenerating c-file: Test_TasReso.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_TasReso.c Test_TasReso.instr CFLAGS= --> Added COMPONENT mono USERVAR ncol_4 with type int --> Added COMPONENT mono USERVAR nrow_4 with type int --> Added COMPONENT sample_reso USERVAR res_pi_10 with type double --> Added COMPONENT sample_reso USERVAR res_ki_x_10 with type double --> Added COMPONENT sample_reso USERVAR res_ki_y_10 with type double --> Added COMPONENT sample_reso USERVAR res_ki_z_10 with type double --> Added COMPONENT sample_reso USERVAR res_kf_x_10 with type double --> Added COMPONENT sample_reso USERVAR res_kf_y_10 with type double --> Added COMPONENT sample_reso USERVAR res_kf_z_10 with type double --> Added COMPONENT sample_reso USERVAR res_rx_10 with type double --> Added COMPONENT sample_reso USERVAR res_ry_10 with type double --> Added COMPONENT sample_reso USERVAR res_rz_10 with type double --> Added COMPONENT ana USERVAR ncol_14 with type int --> Added COMPONENT ana USERVAR nrow_14 with type int WARNING: The parameter mosaic_AB of sample_xtal 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_TasReso.out DEBUG: CMD: mpicc -o ./Test_TasReso.out ./Test_TasReso.c -lm -DUSE_MPI -lmpi -Wl,-rpath,/usr/lib -L/usr/lib -DUSE_NEXUS -lNeXus -I/usr/include/nexus -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./Test_TasReso.c: In function '_mono_setpos': ./Test_TasReso.c:15778:69: warning: passing argument 5 of 'mccomp_param_nexus' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15778 | mccomp_param_nexus(nxhandle,"0003_mono", "reflect", "NULL", mono_R, "char*"); | ^~~~~~ ./Test_TasReso.c:700:5: note: in definition of macro 'MPI_MASTER' 700 | { statement; } \ | ^~~~~~~~~ ./Test_TasReso.c:3365:105: note: expected 'char *' but argument is of type 'const char *' 3365 | static void mccomp_param_nexus(NXhandle nxhandle, char* component, char* parameter, char* defval, char* value, char* type) | ~~~~~~^~~~~ ./Test_TasReso.c:15779:70: warning: passing argument 5 of 'mccomp_param_nexus' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15779 | mccomp_param_nexus(nxhandle,"0003_mono", "transmit", "NULL", mono_T, "char*"); | ^~~~~~ ./Test_TasReso.c:700:5: note: in definition of macro 'MPI_MASTER' 700 | { statement; } \ | ^~~~~~~~~ ./Test_TasReso.c:3365:105: note: expected 'char *' but argument is of type 'const char *' 3365 | static void mccomp_param_nexus(NXhandle nxhandle, char* component, char* parameter, char* defval, char* value, char* type) | ~~~~~~^~~~~ ./Test_TasReso.c: In function '_ana_setpos': ./Test_TasReso.c:16538:68: warning: passing argument 5 of 'mccomp_param_nexus' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16538 | mccomp_param_nexus(nxhandle,"0013_ana", "reflect", "NULL", ana_R, "char*"); | ^~~~~ ./Test_TasReso.c:700:5: note: in definition of macro 'MPI_MASTER' 700 | { statement; } \ | ^~~~~~~~~ ./Test_TasReso.c:3365:105: note: expected 'char *' but argument is of type 'const char *' 3365 | static void mccomp_param_nexus(NXhandle nxhandle, char* component, char* parameter, char* defval, char* value, char* type) | ~~~~~~^~~~~ ./Test_TasReso.c:16539:69: warning: passing argument 5 of 'mccomp_param_nexus' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16539 | mccomp_param_nexus(nxhandle,"0013_ana", "transmit", "NULL", ana_T, "char*"); | ^~~~~ ./Test_TasReso.c:700:5: note: in definition of macro 'MPI_MASTER' 700 | { statement; } \ | ^~~~~~~~~ ./Test_TasReso.c:3365:105: note: expected 'char *' but argument is of type 'const char *' 3365 | static void mccomp_param_nexus(NXhandle nxhandle, char* component, char* parameter, char* defval, char* value, char* type) | ~~~~~~^~~~~ lto-wrapper: warning: using serial compilation of 5 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information /home/nexmap/pkwi/McStas/mcstas/3.x-dev/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /tmp/ccjYXtpN.ltrans2.ltrans.o: in function `read_hkl_data.constprop.0': /home/nexmap/pkwi/TESTS/2025-05-14/mcstas-3.x-dev_NeXus_mpi_x_16_1e7_Linux/Test_TasReso/./Test_TasReso.c:10758:(.text+0xc50d): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===