You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest ColPack git version does not compile on clang without OMP support.
$> cmake . -DENABLE_OPENMP=OFF
$> make
....
In file included from /opt/sources/ColPack/src/SMPGC/SMPGCColoring.cpp:7:
In file included from /opt/sources/ColPack/build/cmake/../../src/SMPGC/SMPGCColoring.h:11:
In file included from /opt/sources/ColPack/build/cmake/../../src/SMPGC/SMPGCOrdering.h:12:
/opt/sources/ColPack/build/cmake/../../src/SMPGC/SMPGCGraph.h:12:10: fatal error: 'omp.h' file not found
#include <omp.h>
^~~~~~~
1 error generated.
Looks like many headers have # include <omp.h> that are not ifdef'ed to protect against non-omp builds.
--
Kumar
The text was updated successfully, but these errors were encountered:
There should be an if conditional in the CMakeList.txt file to include the shared-memory colouring routines SMPGC only if ENALBLE_OPENMP=ON. Will try to fix this and throw a pull request. Until such time I am placing the hack so that it will be useful to others.
Hi
The latest ColPack git version does not compile on clang without OMP support.
Looks like many headers have
# include <omp.h>
that are not ifdef'ed to protect against non-omp builds.--
Kumar
The text was updated successfully, but these errors were encountered: