The issue in that case is that I cannot compile Metis without an additional step compared to your instructions, I remove the declarations in proto.h but also have to remove the implementation of log2() from util.c. Without doing both of these things Metis will not *compile* on my system (the newest release of Ubuntu 9.10, which literally was just released). Only after doing these two modification to the Metis source will it compile, but then I get the linking error for __log2 when I try to link example 17.

Nasser

Wolfgang Bangerth wrote:
     Ok, I did not realize that you could do that with PETSc, so I
downloaded Metis-4.0 and followed the instructions on the deal.II
webpage to remove the declarations in proto.h of srand48(), drand48(),
and log2. I then get this compile error (from the METIS compilation):
    

Does it work if you first compile Metis, and only after it is successfully 
compiled remove these declarations?

Best
 Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

  
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to