Skip to Content.
Sympa Menu

opal - Re: [Opal] Difficulty compiling on ScientificLinux

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Difficulty compiling on ScientificLinux


Chronological Thread 
  • From: PSI <achim.gsell AT psi.ch>
  • To: <ccarson AT nokomisinc.com>
  • Cc: <opal AT lists.psi.ch>
  • Subject: Re: [Opal] Difficulty compiling on ScientificLinux
  • Date: Thu, 17 Aug 2017 16:29:43 +0200


> On 17 Aug 2017, at 16:22, <ccarson AT nokomisinc.com> <ccarson AT nokomisinc.com>
> wrote:
>
> Dear All,
>
> I am compiling on a ScientificLinux 7 VirtualBox (running on Windows 7)
> when,
> right at the end, this happens.
>
> [ 99%] Built target OPALib
> [ 99%] Building CXX object src/CMakeFiles/opal.dir/Main.cpp.o
> [100%] Linking CXX executable opal
> /home/carsonc/software/lib/libml.a(ml_agg_METIS.c.o): In function
> `ML_Aggregate_CoarsenMETIS':
> ml_agg_METIS.c:(.text+0xbb2): undefined reference to
> `METIS_SetDefaultOptions'
> ml_agg_METIS.c:(.text+0x215c): undefined reference to
> `METIS_PartGraphRecursive'
> ml_agg_METIS.c:(.text+0x2b75): undefined reference to `METIS_PartGraphKway'
> ml_agg_METIS.c:(.text+0x3bbe): undefined reference to `METIS_NodeND'
> /home/carsonc/software/lib/libml.a(ml_agg_VBMETIS.c.o): In function
> `ML_Aggregate_CoarsenVBMETIS':
> ml_agg_VBMETIS.c:(.text+0x1e6b): undefined reference to
> `METIS_SetDefaultOptions'
> ml_agg_VBMETIS.c:(.text+0x2167): undefined reference to
> `METIS_PartGraphRecursive'
> ml_agg_VBMETIS.c:(.text+0x23e1): undefined reference to
> `METIS_PartGraphKway'
> /home/carsonc/software/lib/libml.a(ml_agg_ParMETIS.c.o): In function
> `ML_DecomposeGraph_with_ParMETIS':
> ml_agg_ParMETIS.c:(.text+0x11b3): undefined reference to
> `ParMETIS_V3_PartKway'
> /home/carsonc/software/lib/libzoltan.a(parmetis_interface.c.o): In function
> `Zoltan_ParMetis':
> parmetis_interface.c:(.text+0x93c): undefined reference to
> `ParMETIS_V3_PartKway'
> parmetis_interface.c:(.text+0xd67): undefined reference to
> `ParMETIS_V3_PartGeom'
> parmetis_interface.c:(.text+0xf14): undefined reference to
> `ParMETIS_V3_PartGeomKway'
> parmetis_interface.c:(.text+0xf7d): undefined reference to
> `METIS_SetDefaultOptions'
> parmetis_interface.c:(.text+0xfe7): undefined reference to
> `METIS_PartGraphKway'
> parmetis_interface.c:(.text+0x10ed): undefined reference to
> `ParMETIS_V3_AdaptiveRepart'
> parmetis_interface.c:(.text+0x11f2): undefined reference to
> `ParMETIS_V3_RefineKway'
> /home/carsonc/software/lib/libzoltan.a(parmetis_interface.c.o): In function
> `Zoltan_ParMetis_Order':
> parmetis_interface.c:(.text+0x1716): undefined reference to
> `ParMETIS_V3_NodeND'
> parmetis_interface.c:(.text+0x1ce2): undefined reference to
> `METIS_SetDefaultOptions'
> parmetis_interface.c:(.text+0x1d14): undefined reference to `METIS_NodeND'
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/opal] Error 1
> make[1]: *** [src/CMakeFiles/opal.dir/all] Error 2
> make: *** [all] Error 2
>
> I tried to follow the instructions to the letter and successfully compiled
> everything else. Any idea why? It might be helpful to create either a
> ScientificLinux "Context" of a successful build or a virtualbox that can be
> downloaded and used in lieu of compiling. Thanks!

Can you please send us how you call cmake? It looks like, that you are
configuring with the SAAMG solver enabled. Does OPAL without the SAAMG solver?

Best

Achim


Archive powered by MHonArc 2.6.19.

Top of Page