AnsweredAssumed Answered

parmetis failed to build with open64

Question asked by simonhmanc on Oct 29, 2012
Latest reply on Oct 30, 2012 by santosh.zanjurne

Hi All,


I am trying to build parmetis-4.0.2 with Open64 v4.5.2 on Redhat 6.2.  It fails with


Linking C executable mtest

cd /opt/gridware/downloads/simonh/parmetis-4.0.2/build/Linux-x86_64/programs && /opt/gridware/tools/gcc/cmake/2.8.7/bin/cmake -E cmake_link_script CMakeFiles/mtest.dir/link.txt --verbose=1

/opt/gridware/mpi/x86_open64-4.5.2/openmpi/1.6-psm/bin/mpicc   -DLINUX -D_FILE_OFFSET_BITS=64 -std=c99 -fno-strict-aliasing -fPIC -Wall -pedantic -Wno-unused-variable -Wno-unknown-pragmas -DNDEBUG -DNDEBUG2 -DHAVE_EXECINFO_H -DHAVE_GETLINE -O3    CMakeFiles/mtest.dir/mtest.c.o CMakeFiles/mtest.dir/io.c.o  -o mtest -rdynamic ../libparmetis/libparmetis.a ../libmetis/libmetis.a -lm

../libmetis/libmetis.a(memory.c.o): In function `gk_free':

/opt/gridware/downloads/simonh/parmetis-4.0.2/metis/GKlib/memory.c:203: undefined reference to `.L_180_11778'

collect2: ld returned 1 exit status


Grep suggests that .L_180_11778 does in fact exist in libmetis.a.  Grateful for any suggestions as to why the link stage is failing.