CoreNeuron
CoreNeuron copied to clipboard
likwid not working with nrnivmodl-core
when using likwid, the compilation flag -DLIKWID_PERFMON and the include directories are not forwarded correctly in the process of creating the special-core executable. Therefore, likwid is not able to properly initialize and finalize the profiling process, and it does not work.
The workaround that @pramodk found was, in the file nrnivmodl_core_makefile.in, to add
-DLIKWID_PERFMON -I@likwid_INCLUDE_DIRS@
in the make target for $(special): $(coremech_lib)$
but of course, a cleaner solution would be better.
Thank you!