Bug #1267: Integrate METIS graph partitioning library
[charm.git] / src / libs / ck-libs / metis / libmetis / metislib.h
blob93d48f01136c0affcc1a15969b5e44701279af98
1 /*
2 * Copyright 1997, Regents of the University of Minnesota
4 * metis.h
6 * This file includes all necessary header files
8 * Started 8/27/94
9 * George
11 * $Id: metislib.h 10655 2011-08-02 17:38:11Z benjamin $
14 #ifndef _LIBMETIS_METISLIB_H_
15 #define _LIBMETIS_METISLIB_H_
17 #include <GKlib.h>
19 #if defined(ENABLE_OPENMP)
20 #include <omp.h>
21 #endif
24 #include <metis.h>
25 #include <rename.h>
26 #include <gklib_defs.h>
28 #include <defs.h>
29 #include <struct.h>
30 #include <macros.h>
31 #include <proto.h>
34 #if defined(COMPILER_MSC)
35 #if defined(rint)
36 #undef rint
37 #endif
38 #define rint(x) ((idx_t)((x)+0.5)) /* MSC does not have rint() function */
39 #endif
41 #endif