INFO: No output directory specified (--dir) INFO: Using directory: "ILL_SALSA_20240617_100604" INFO: Regenerating c-file: ILL_SALSA.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./ILL_SALSA.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/ILL_SALSA/ILL_SALSA.instr Info: 'Al_window' is a contributed component. Info: 'Monochromator_bent' is a contributed component. Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -I@MCCODE_LIB@/share/ -DFUNNEL WARNING: The parameter format of Al_pow 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: Component Sample_environment is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Sample_environment -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas finished INFO: Recompiling: ./ILL_SALSA.out DEBUG: CMD: mpicc -o ./ILL_SALSA.out ./ILL_SALSA.c -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/mcstas-suite_1718556543798/work=/usr/local/src/conda/mcstas-core-3.4.49 -fdebug-prefix-map=/Users/peterwillendrup/miniforge3=/usr/local/src/conda-prefix -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Users/peterwillendrup/miniforge3/include -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -fno-PIC -fPIE -flto -O3 -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -I/Users/peterwillendrup/miniforge3/share/mcstas/resources/share/ -DFUNNEL ./ILL_SALSA.c:3568:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./ILL_SALSA.c:8742:2: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./ILL_SALSA.c:8769:2: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./ILL_SALSA.c:49972:3: warning: declaration does not declare anything [-Wmissing-declarations] struct neutron_values; ^ ./ILL_SALSA.c:64189:42: warning: incompatible pointer types passing 'char (*)[16384]' to parameter of type 'const char *' [-Wincompatible-pointer-types] enum crystal_plane plane = stringToEnum(&plane_of_reflection); ^~~~~~~~~~~~~~~~~~~~ ./ILL_SALSA.c:8763:46: note: passing argument to parameter 'plane' here enum crystal_plane stringToEnum(const char* plane) { ^ ./ILL_SALSA.c:67980:60: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat] if (verbose) printf("Neutron %i entered comp (from %i)\n",_particle->_uid,INDEX_CURRENT_COMP); ~~ ^~~~~~~~~~~~~~~ %lli ./ILL_SALSA.c:67980:76: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if (verbose) printf("Neutron %i entered comp (from %i)\n",_particle->_uid,INDEX_CURRENT_COMP); ~~ ^~~~~~~~~~~~~~~~~~ %li ./ILL_SALSA.c:748:28: note: expanded from macro 'INDEX_CURRENT_COMP' #define INDEX_CURRENT_COMP (_comp->_index) ^~~~~~~~~~~~~~~ ./ILL_SALSA.c:67983:95: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat] if (verbose) printf("Neutron %i should proceed to next comp (from %i, did not intersect)\n",_particle->_uid,INDEX_CURRENT_COMP); ~~ ^~~~~~~~~~~~~~~ %lli ./ILL_SALSA.c:67983:111: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if (verbose) printf("Neutron %i should proceed to next comp (from %i, did not intersect)\n",_particle->_uid,INDEX_CURRENT_COMP); ~~ ^~~~~~~~~~~~~~~~~~ %li ./ILL_SALSA.c:748:28: note: expanded from macro 'INDEX_CURRENT_COMP' #define INDEX_CURRENT_COMP (_comp->_index) ^~~~~~~~~~~~~~~ ./ILL_SALSA.c:67990:95: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat] if (verbose) printf("Neutron %i should proceed to next comp (from %i, not within angles)\n",_particle->_uid,INDEX_CURRENT_COMP); ~~ ^~~~~~~~~~~~~~~ %lli ./ILL_SALSA.c:67990:111: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if (verbose) printf("Neutron %i should proceed to next comp (from %i, not within angles)\n",_particle->_uid,INDEX_CURRENT_COMP); ~~ ^~~~~~~~~~~~~~~~~~ %li ./ILL_SALSA.c:748:28: note: expanded from macro 'INDEX_CURRENT_COMP' #define INDEX_CURRENT_COMP (_comp->_index) ^~~~~~~~~~~~~~~ ./ILL_SALSA.c:68046:77: warning: format specifies type 'int' but the argument has type 'long long' [-Wformat] if (verbose) printf("Neutron %i SCATTERED (from %i)\n\nGROUP BREAK!!\n",_particle->_uid,INDEX_CURRENT_COMP); ~~ ^~~~~~~~~~~~~~~ %lli ./ILL_SALSA.c:68046:93: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] if (verbose) printf("Neutron %i SCATTERED (from %i)\n\nGROUP BREAK!!\n",_particle->_uid,INDEX_CURRENT_COMP); ~~ ^~~~~~~~~~~~~~~~~~ %li ./ILL_SALSA.c:748:28: note: expanded from macro 'INDEX_CURRENT_COMP' #define INDEX_CURRENT_COMP (_comp->_index) ^~~~~~~~~~~~~~~ 13 warnings generated. DEBUG: CMD: mpicc finished INFO: ===