c++ - Building shared ParMETIS-4.0.3 -
how can build dynamic version of parmetis? compiled shared version of metis when try compile shared parmetis linking libmetis.so (added path in make file, see makefile options below) compilation fails because parmetis tries link libmetis.a. how can force link libmetis.so? compiled static version no problem. thank help
configuration options.
gdb = not-set
assert = not-set
assert2 = not-set
debug = not-set
openmp = not-set prefix = not-set
gklib_path = not-set
metis_path = ~/bin/metis-5.0
shared = 1
cc = mpicc
cxx = mpicxx
i know comes bit late, faced same problem. in file cmakelists.txt
, right @ root of parmetis directory, in section starting with:
if(shared)
you should add:
set(metis_library_type shared)
right after equivalent option parmetis.
hope helps else, since worked around issue already.
Comments
Post a Comment