INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_CASSIOPEE_20251123_025757" INFO: Regenerating c-file: SOLEIL_CASSIOPEE.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace -t -o ./SOLEIL_CASSIOPEE.c SOLEIL_CASSIOPEE.instr CFLAGS= @GSLFLAGS@ -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Source_HU60 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Source_HU60 Component Source_HU256 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component M1a_location ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_CASSIOPEE.out DEBUG: CMD: mpicc -o ./SOLEIL_CASSIOPEE.out ./SOLEIL_CASSIOPEE.c -lm -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/runner/miniconda3/envs/mcxtrace/lib -L/Users/runner/miniconda3/envs/mcxtrace/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniconda3/envs/mcxtrace/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniconda3/envs/mcxtrace/include -O2 -g -DNDEBUG -isysroot /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk -D_DARWIN_C_SOURCE -I/Users/runner/miniconda3/envs/mcxtrace/include -Wl,-rpath,/Users/runner/miniconda3/envs/mcxtrace/lib -L/Users/runner/miniconda3/envs/mcxtrace/lib -fno-PIC -fPIE -flto -O3 -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -I/Users/runner/miniconda3/envs/mcxtrace/include -Wl,-rpath,/Users/runner/miniconda3/envs/mcxtrace/lib -L/Users/runner/miniconda3/envs/mcxtrace/lib -lgsl -lgslcblas -DFUNNEL ./SOLEIL_CASSIOPEE.c:8855:17: warning: cast to smaller integer type 'unsigned int' from 'double *' [-Wpointer-to-int-cast] 8855 | int N=(unsigned int)((double **) pars)[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOLEIL_CASSIOPEE.c:9316:13: warning: using floating point absolute value function 'fabs' when argument is of complex type [-Wabsolute-value] 9316 | r=fabs(r_handle.prms.rconst.R); | ^ ./SOLEIL_CASSIOPEE.c:9316:13: note: use function 'cabs' instead 9316 | r=fabs(r_handle.prms.rconst.R); | ^~~~ | cabs ./SOLEIL_CASSIOPEE.c:15139:123: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 15139 | printf("INFO: (%s): Line width, d=%f [AA]. Number of slits, N=%f. Slit width, b=%f [AA].\n \n",NAME_CURRENT_COMP,d,nslits,b); | ~~ ^~~~~~ | %d ./SOLEIL_CASSIOPEE.c:15121:18: note: expanded from macro 'nslits' 15121 | #define nslits (_comp->_parameters.nslits) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOLEIL_CASSIOPEE.c:16438:56: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 16438 | if ((_instrument_var._parameters.undulator_index == 1)) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./SOLEIL_CASSIOPEE.c:16438:56: note: remove extraneous parentheses around the comparison to silence this warning 16438 | if ((_instrument_var._parameters.undulator_index == 1)) // conditional WHEN execution | ~ ^ ~ ./SOLEIL_CASSIOPEE.c:16438:56: note: use '=' to turn this equality comparison into an assignment 16438 | if ((_instrument_var._parameters.undulator_index == 1)) // conditional WHEN execution | ^~ | = ./SOLEIL_CASSIOPEE.c:16460:56: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 16460 | if ((_instrument_var._parameters.undulator_index == 2)) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./SOLEIL_CASSIOPEE.c:16460:56: note: remove extraneous parentheses around the comparison to silence this warning 16460 | if ((_instrument_var._parameters.undulator_index == 2)) // conditional WHEN execution | ~ ^ ~ ./SOLEIL_CASSIOPEE.c:16460:56: note: use '=' to turn this equality comparison into an assignment 16460 | if ((_instrument_var._parameters.undulator_index == 2)) // conditional WHEN execution | ^~ | = ./SOLEIL_CASSIOPEE.c:16513:56: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 16513 | if ((_instrument_var._parameters.undulator_index == 2)) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./SOLEIL_CASSIOPEE.c:16513:56: note: remove extraneous parentheses around the comparison to silence this warning 16513 | if ((_instrument_var._parameters.undulator_index == 2)) // conditional WHEN execution | ~ ^ ~ ./SOLEIL_CASSIOPEE.c:16513:56: note: use '=' to turn this equality comparison into an assignment 16513 | if ((_instrument_var._parameters.undulator_index == 2)) // conditional WHEN execution | ^~ | = ./SOLEIL_CASSIOPEE.c:16535:56: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 16535 | if ((_instrument_var._parameters.undulator_index == 1)) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./SOLEIL_CASSIOPEE.c:16535:56: note: remove extraneous parentheses around the comparison to silence this warning 16535 | if ((_instrument_var._parameters.undulator_index == 1)) // conditional WHEN execution | ~ ^ ~ ./SOLEIL_CASSIOPEE.c:16535:56: note: use '=' to turn this equality comparison into an assignment 16535 | if ((_instrument_var._parameters.undulator_index == 1)) // conditional WHEN execution | ^~ | = 7 warnings generated. ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcxtrace/lib' ignored ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcxtrace/lib' ignored ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcxtrace/lib' ignored DEBUG: CMD: mpicc finished DEBUG: CMD: otool -l ./SOLEIL_CASSIOPEE.out DEBUG: CMD: otool finished INFO: ===