INFO: No output directory specified (--dir) INFO: Using directory: "NCrystal_example_20220701_010139" INFO: Regenerating c-file: NCrystal_example.c DEBUG: CMD: mcstas -t -o ./NCrystal_example.c /home/nexmap/pkwi/TESTS/2022-07-01/McStas_8GPU_5e7/NCrystal_example/NCrystal_example.instr Info: 'NCrystal_sample' is a contributed component. CFLAGS= -Wl,-rpath,NCrystalLink/lib -LNCrystalLink/lib -lNCrystal -INCrystalLink/include -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component monochromator is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component monochromator -> GPU kernel from component mono_out Component powder_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component powder_sample -> GPU kernel from component powder_pattern_detc ----------------------------------------------------------- INFO: Recompiling: ./NCrystal_example.out DEBUG: CMD: nvc -o ./NCrystal_example.out ./NCrystal_example.c -lm -DUSE_MPI -lmpi -L/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/include -ta:tesla,managed -DOPENACC -Wl,-rpath,NCrystalLink/lib -LNCrystalLink/lib -lNCrystal -INCrystalLink/include -DFUNNEL "./NCrystal_example.c", line 1442: 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) ^ "./NCrystal_example.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./NCrystal_example.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./NCrystal_example.c", line 4119: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./NCrystal_example.c", line 4038: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./NCrystal_example.c", line 5929: catastrophic error: cannot open source file "NCrystal/ncrystal.h" #include "NCrystal/ncrystal.h" ^ 1 catastrophic error detected in the compilation of "./NCrystal_example.c". Compilation terminated. loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_8GPU/mccode_config.json