-
Naumann, Andreas authoredNaumann, Andreas authored
To learn more about this project, read the wiki.
README 1.60 KiB
This readme shortly explains how to use the different buildsystems. Currently (November 2010) we provide a CMake and a libtool version. Each buildsystem uses it own configuration file: buildsystem configfile cmake CMakeLists.txt libtool Makefile_libtool The cmake system will generate a new Makefile, thus if we would use simple Makefile for libtool, the libtool configuration would be overidden. LIBTOOL version The libtool version requires * AMDiS was build with libtool (i.e.: configure --prefix=`pwd` ; make ; make install ) * The prefix MUST be the AMDiS-directory * The AMDiS directory should be ../AMDiS. But you can change the variable AMDIS_DIR (see line 15 in the libtool configuration file). If those requirements are fullfilled, you can compile all demos with make -f Makefile_libtool or a subset {demo1, demo2} with make -f Makefile_libtoo demo1 demo2 CMAKE version The cmake version requires * AMDiS was build and installed using cmake or downloaded from www.simunova.com or installed from a package from http://www.simunova.com. For more information, simply have a look at http://www.simunova.com. To use the cmake buildsystem, simply run cmake . If your cmake complains about not to find AMDiS, you have at least two ways: 1. run cmake -DAMDiS_DIR=<path-to-AMDiS> . 2. run a graphic cmake tool (i.e. ccmake, cmake-gui, ...) and select your amdis configuration directory <path-to-AMDiS> HINT: The <path-to-AMDiS> is the directoy containing the file AMDiSConfig.cmake. If you installed AMDiS with a package manager, cmake should already find AMDiS.