# User Sean Farley <sean@mcs.anl.gov>
# Tue Mar 20 13:54:29 2012 -0500
# Node ID aed7f236f05776012de66d24f7abf7b0395e7a97
# Parent bc20de47ec7e09494907774a7988b5948ce8e22a
cmake: add a configure option for 64 bit integers
diff -r bc20de47ec7e -r aed7f236f057 BUILD.txt
--- a/BUILD.txt Tue Mar 20 13:54:29 2012 -0500
+++ b/BUILD.txt Tue Mar 20 13:54:29 2012 -0500
@@ -15,14 +15,16 @@ example:
$ make config shared=1 cc=gcc-4.2
would configure metis to be built as a shared library using GCC 4.2.
Common configuration options are:
- cc=[compiler] - The C compiler to use [default is determined by CMake]
- shared=1 - Build a shared library instead of a static one
- prefix=[PATH] - Set the installation prefix [/usr/local/ by default]
+ cc=[compiler] - The C compiler to use [default is determined by CMake]
+ shared=1 - Build a shared library instead of a static one
+ prefix=[PATH] - Set the installation prefix [/usr/local/ by default]
+ longindex=1 - Build with idx_t = int64_t
+ doubleprecision=1 - Build with real_t = double
Advanced debugging related options:
gdb=1 - Build with support for GDB [off by default]
debug=1 - Enable debugging support [off by default]
assert=1 - Enable asserts [off by default]
diff -r bc20de47ec7e -r aed7f236f057 Install.txt
--- a/Install.txt Tue Mar 20 13:54:29 2012 -0500
+++ b/Install.txt Tue Mar 20 13:54:29 2012 -0500
These are some preliminary instructions for the 5.0 release of METIS.
-1. You need to have a C compiler that supports the C99 standard.
+1. You need to have a C compiler that supports the C99 standard.
Gcc works just fine, but I have not tested it on many other architectures
(any feedback/patches for different architectures are welcomed)
2. You need to have GNU make and CMake 2.8 (http://www.cmake.org/) installed.
-3. Edit the file include/metis.h and specify the width (32 or 64 bits) of the
- elementary data type used in METIS. This is controled by the IDXTYPEWIDTH
+3. At the top of Metis' directory execute 'make' and follow the instructions.
- For now, on a 32 bit architecture you can only specify a width of 32,
- whereas for a 64 bit architecture you can specify a width of either
-4. At the top of Metis' directory execute 'make' and follow the instructions.
-5. To build on windows using Visual Studio follow the instructions in the
+4. To build on windows using Visual Studio follow the instructions in the