[Dune] SuperLUDist can't find parmetis

Aleksejs Fomins aleksejs.fomins at lspr.ch
Wed Oct 28 09:08:54 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Markus,

Thanks for your advice. I have tried to pull the previous version of all dune core and it still does not work.

So the problem is clearly not in Dune.

I will follow your advice and try to review the opts file and the FindSuperLUDist.

Aleksejs



On 27.10.2015 19:18, Markus Blatt wrote:
> On Tue, Oct 27, 2015 at 05:07:05PM +0100, Aleksejs Fomins wrote:
>>
>> [  9%] Linking CXX executable hades3ddgfdx
>> /opt/extlib/superludist/3.3/openmpi/1.10.0/gcc/5.2.0/lib/libsuperludist.a(get_perm_c.o): In function `get_metis':
>> get_perm_c.c:(.text+0x55): undefined reference to `METIS_NodeND'
>> /opt/extlib/superludist/3.3/openmpi/1.10.0/gcc/5.2.0/lib/libsuperludist.a(get_perm_c_parmetis.o): In function `get_perm_c_parmetis':
>> get_perm_c_parmetis.c:(.text+0x1b86): undefined reference to `ParMETIS_V3_NodeND'
>>
> 
> As always " make VERBOSE=1 hades3ddgfdx" is your friend. Probably
> metis and parmetis libs are not in the linker command.
> 
> 
> I assume that FindSuperLUDist.cmake is your own invention. Really hard
> to help in this case with such few information.
> Nevertheless some style comments:
>> ## define superludist paths & library
>> SUPERLU_DIST_OPTS="-DHAVE_SUPERLU_DIST"
>> SUPERLU_DIST_INCLUDE_PATH="-I/opt/extlib/parmetis/4.0.3/openmpi/1.10.0/gcc/5.2.0
>> -I/opt/extlib/metis/5.1.0/gcc/5.2.0/include
>> -I/opt/extlib/superludist/3.3/openmpi/1.10.0/gcc/5.2.0/SRC"
> 
> Reads fishy. CMake style would be
> SUPERLU_DIST_INCLUDE_DIRS="dir1;dir2"
> 
>> SUPERLU_DIST_LIBRARY="-L/opt/extlib/superludist/3.3/openmpi/1.10.0/gcc/5.2.0/lib -L/opt/extlib/parmetis/4.0.3/openmpi/1.10.0/gcc/5.2.0/lib -L/opt/extlib/metis/5.1.0/gcc/5.2.0/lib -framework Accelerate"
> 
> Same here. Why call it library if there is none in there?
> 
>>
>> CMAKE_FLAGS=" \
>> -DHADES_FLAGS=\" -DHAVE_DEBUG -DHAVE_PARMETIS -DHAVE_CURVGRID\" \
>> -DCMAKE_CXXFLAGS=\"$GXX_WARNING_OPTS $GXX_OPTS $SUPERLU_DIST_INCLUDE_PATH \" \
>> -DMETIS_ROOT=\"/opt/extlib/metis/5.1.0/gcc/5.2.0\" \
>> -DPARMETIS_ROOT=\"/opt/extlib/parmetis/4.0.3/openmpi/1.10.0/gcc/5.2.0\" \
>> -DSUPERLUDIST_ROOT=\"/opt/extlib/superludist/3.3/openmpi/1.10.0/gcc/5.2.0\" \
>> -DCMAKE_LIBRARY_PATH:RELEASE=\"/opt/extlib/boost/1.59.0/gcc/5.2.0/lib\" \
>> -DCMAKE_LIBRARY_PATH:DEBUG=\"/opt/extlib/boost/1.59.0/gcc/5.2.0/lib\" \
>> -DCMAKE_STANDARD_LIBRARIES:RELEASE=\"-lboost_system -lprogram_options\" \
>> -DCMAKE_STANDARD_LIBRARIES:DEBUG=\"-lboost_system -lprogram_options\" \
>> -DCMAKE_PREFIX_PATH=\"$CMAKE_PREFIX_PATH\" \
>> -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=TRUE \
>> -DCMAKE_SHARED_LINKER_FLAGS=\"-lzlib\" \
>> " 
> 
> Mmh, SUPERLU_DIST_LIBRARY is never used here. Intentional?
> 
> Markus
> 
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWMIKPAAoJEDkNM7UOEwMZfwwP/j6fkkzB1FXDUw6ZjoVZ6t6M
BWrzSAMh62zKOzFFxz38quyI/Nn+KZE3j+FeWx7xr2r91mDvV7NavMkQ/M/6O04t
PSxPJcmCrkSz5VqgNMzdbFdM+AuxJspdskpcNO/R62Q55q4m91OriNxOvZDKjk95
yz2TqAn9d8d2+7hYkFoIgSfSCZqzP/2Isnx+6tXDQy0PQ9mILX1S9ezWwGdDM3fb
5ykC4JYQNOJMLUls2YdFJNu31x3yqYuNAtopr0e81R79hkDcyMmUbf6hvCtvYJ24
RJ2l5wDEGUAbm5Qb0zb6lJs/eDmQly7XYZT7IgsB24sVAXa5tQYscLrdlnx4mS+j
vfGkpHm22EocGprdzyoyodXD/bBfjbYsaO1CJMv4wWTNxahrh7u9tsB0T7u20Hh0
O8YQku5tWqsdk4XXaQ6nzUrXHxzoHZMK39FI2yxH86QpjoqrHIoRsg+tpdDfq+ew
7IwypAKoyv9xp3lIvdvSslYqqjdH8tLGuexqEwXugTCBib4BMevLCRFThjGIaAnf
l8THpUeT4Mkp0mIl2ecEdGf86X3xeryfITBT9ZJM+yjTHuhdqAKc7MjsWxBpqVqW
C4KpXJ/jsAxj2I7aFHKFxoAoz20N1DHL7vWsxjARqOT51si7QRmEkC0ZDijqhIfr
/A9ddzMpxkPUgcoENKuW
=MpCa
-----END PGP SIGNATURE-----




More information about the Dune mailing list