1. For compiling vizing: because the C++ in not support "iostream.h" head file, the iostream.h need to be replaced by iostream . The "using namespace std;" is also need to be add in edge.h file. Below is the detail:
1.1 list.h:6:22: error: iostream.h: No such file or directory
change iostream.h to iostream
1.2 Array.h:12:22: error: iostream.h: No such file or directory
change iostream.h to iostream
1.3 edge.h:5:22: error: iostream.h: No such file or director.
change iostream.h to iostrea
1.4 Add inf file "edge.h": using namespace std;
-------------------------------------------------------------
after that using the make to copile generate the: "libvizing.a" lib
2. For metis Library. The __log2 function defined in metis is confited with __log2 in g++. Using the idea pubulished in: http://www-old.cae.wisc.edu/pipermail/bug-octave/2006-May/000047.html.
#define log2 __log2
to
#define log2 __Log2
in Lib/rename.h of metis to get around this problem..
3.Install the MPICH2 and fftw package from the synaptic package manger
4.set the FC = mpif90 -f90=ifort ;using the ifort as the compiler.
5.run: ./ppm_install.sh