ALUGrid library =================== License ------- The ALUGrid library and headers are licensed under the GNU General Public License (GPL) version 2. The full license text can be found in the file COPYING and via http://www.gnu.org/licenses/gpl.html . Compiler -------- The ALUGrid code in known to compile with the GNU Compiler version 3.4.x or higher. Also with the INTEL C++ Compiler version 8.1 or higher the code compiles. Furthermore the code compiles with the IBM xlC compiler version 6 or higher. The compiler can be chosen by editing the fields COMP and CXXCOMP in the *.opts files. For parallel computations the MPI compiler, like mpiCC should be used or the include path and lib path adapted. Getting started --------------- To compile the library ALUGrid has to check several components of your system. Run ./configure to commence those tests. See ./configure --help for detail help on options. If you intend to use the parallel version of the grid, make sure that you have a version of MPI, and METIS (--with-metis=PATH), and PARTY (--with-party=PATH) and supply the respective flags to the configure script. Dynamic load balancing can only be used if either METIS or PARTY Lib or both are linked to the ALUGrid Library. For parallel computation MPI is needed, common packages are OpenMPI (version 1.1.x), MPICH (version 1.2.5 or higher), or LAM MPI (version 7.x). To compile the parallel version of the library use the MPI compiler script (i.e. mpiCC) by passing this as CXX variable to the configure script (i.e. ./configure CXX=mpiCC). If not using the MPI compiler scripts just make sure that all include path and library paths are set the right way. For example to compile the parallel version of ALUGrid the configure command can look as follows: ./configure CXX=mpiCC --with-metis="metis_path" --with-party="partylib_path" For METIS (version 4.0 or higher) see http://www-users.cs.umn.edu/~karypis/metis/metis/ , see also the section Known bugs, when you using METIS. For PARTY Lib (version 1.99) see http://wwwcs.upb.de/fachbereich/AG/monien/RESEARCH/PART/party.html . You can use ./configure --prefix=PATH if you don't want ALUGrid to be installed into the default directory (i.e. the path were ALUGrid was unpacked). (Remark) On Mac OS X add the following to your configure call (if you want to use a special compiler version, say version 4.2): ./configure LD=g++-4.2 CXX=g++-4.2 CC=gcc-4.2 F77=gfortran-4,2 This will ensure that the same g++ version is used for compilation and for linking. After configuration make make install build and install ALUGrid. Dynamic Load Balancing Options ------------------------------ If the compiled code is used for parallel computations including dynamic load balancing, then a parameter file named "alugrid.cfg" should be available in the directory the program is launched. See "misc/alugrid.cfg" for an example file. The file must contain three values: first row: ldb_under (value < 1.0), default value is 0.0 second row: ldb_over (value > 1.0), default value is 1.2 third row: Graph partitioning method, default method is 11 (METIS_PartGraphKway) Available methods are: NONE = 0 COLLECT = 1 (collect all elements to process 0) PARTY_helpfulSet = 3 PARTY_kernighanLin = 4 PARTY_random = 5 PARTY_scattered = 6 PARTY_linear = 7 PARTY_breathfirst = 8 PARTY_cutfirst = 9 METIS_PartGraphKway = 11 METIS_PartGraphRecursive = 12 See the documentation of the corresponding package for detail on the methods. Debug Options -------------- There are several debug options that can be set an shell environment variable and that forces the code to produce debug output. To use this feature, the code must be compiled without the CPP variable NDEBUG set. The following shell environment variables can be set to a level of verbosity (higher is better). VERBOSE general verbose output VERBOSE_MGB output produced by the macro grid builder VERBOSE_LDB output produced while partitioning. VERBOSE_PLL output produced by parallel grid methods Optimization ------------- The ALUGrid code is highly riddled with assert statements. Therefore it is recommended to compile the library and the application code with the CPP variable NDEBUG set (i.e. -DNDEBUG) to avoid all asserts statement tests. Known bugs: On Intel ia64 architectures the optimisation option -O3 doesn't work with the INTEL C++ Compiler. Debug ----- For debugging the code the preprocessor variable NDEBUG must not be defined and additionally the preprocessor variable DEBUG_ALUGRID can be defined for object reference counting. In the read method of the message buffer for parallel computations a eof check is done on every read which can be disabled by passing the preprocessor variable NO_OBJECTSTREAM_DEBUG. Knowns Bugs ----------- ALUGrid does not work with Myrinet MPI. Up to now we couldn't figure out what exactly the problem is.
Robert Klöfkorn
authored
git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@1050 0d966ed9-3843-0410-af09-ebfb50bd7c74
Name | Last commit | Last update |
---|---|---|
Albert2BSGrid | ||
doc | ||
m4 | ||
misc | ||
src | ||
AUTHORS | ||
COPYING | ||
ChangeLog | ||
INSTALL | ||
Makefile.am | ||
README | ||
README.autogen | ||
README.dist | ||
TODO | ||
addauthors.sh | ||
alugrid.pc.in | ||
autogen.sh | ||
configure.ac | ||
gcc.opts | ||
ibm.opts | ||
icc.opts | ||
lastVersion | ||
mpi.opts |