INFO: No output directory specified (--dir) INFO: Using directory: "Test_Rotator_20240919_002214" INFO: Regenerating c-file: Test_Rotator.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_Rotator.c Test_Rotator.instr CFLAGS= --> Added COMPONENT R0 USERVAR Rot_5 with type Rotation WARNING: --> USERVAR Rot_5 is of type Rotation and may need specific --> per-particle initialisation through an --> EXTEND block! ----------------------------------------------------------- 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_Rotator.out DEBUG: CMD: mpicc -o ./Test_Rotator.out ./Test_Rotator.c -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./Test_Rotator.c: In function ‘class_Derotator_trace’: ./Test_Rotator.c:740:5: warning: initialization of ‘char *’ from incompatible pointer type ‘char (*)[20]’ [-Wincompatible-pointer-types] &( ((_class_ ## type ##_parameters *) _getvar_parameters(compname))->par ) ^ ./Test_Rotator.c:8340:22: note: in expansion of macro ‘COMP_GETPAR3’ char* Rot_varptr = COMP_GETPAR3(Rotator, rotator, rot_var); ^~~~~~~~~~~~ ./Test_Rotator.c:8343:17: warning: passing argument 1 of ‘rot_transpose’ from incompatible pointer type [-Wincompatible-pointer-types] rot_transpose((Rotation*)particle_getvar_void(_particle, Rot_varptr, NULL),R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Test_Rotator.c:4774:29: note: expected ‘MCNUM (*)[3]’ {aka ‘double (*)[3]’} but argument is of type ‘MCNUM (*)[3][3]’ {aka ‘double (*)[3][3]’} void rot_transpose(Rotation src, Rotation dst) ~~~~~~~~~^~~ DEBUG: CMD: mpicc finished INFO: ===