Skip to content
Snippets Groups Projects
Forked from iwr / amdis
1439 commits behind the upstream repository.
================== Install AMDiS ===================

To install AMDiS run the following commands:

   ./configure --prefix=`pwd` [--enable-debug] 
                              [--enable-intel] 
                              [--with-mpi=<MPI-DIR>] 
                              [--with-parmetis]

   make install

Note that for debugging your application you should enable the flag
--enable-debug. If you do not need debugging information but, instead,
your application should run as fast as possible, do not set this flag.
The runtime will increase by factor 5 to 6 without --enable-debug!

================== Compile AMDiS on mars ===================

1) Load the Inter compiler: 

      module load icc

2) Change to the directory AMDiS/lib/ParMetis-3.1 

3) Compile ParMETIS with:

      make CC=icc LD=icc

4) Change to the AMDiS directory

5) Run the configure script:

      ./configure --prefix=`pwd` --enable-intel --enable-parmetis

   You can also enabel --enable-debug. Enabling MPI using --with-mpi 
   does not work on mars and it is not necessary to use this parameter 
   to compile AMDiS with MPI on mars. Note taht is is also possible to 
   compile with gcc (just omit --enable-intel), but the result is less 
   performant. Compiling with the Intel compiler results in a huge 
   number of warnings. Just ignore them.

6) Start compiling with:

      make install

7) To compile the demos you have to edit the Makefile in the demo
   directory. At the beginning of the file you will find several 
   parameters, which you have to define in order to compiler the demos
   properly.


================== Compile AMDiS on deimos ===================

1) Load MPI support for the GNU compiler:

      module load openmpi

2) Change to the directory AMDiS/lib/ParMetis-3.1

3) Compile ParMETIS with:

      make

4) Change to the AMDiS directory

5) Run the configure script:

      ./configure --prefix=`pwd` --with-mpi=/licsoft/libraries/openmpi/1.2.6/64bit --enable-parmetis

   You may also enable --enable-debug.

6) Start compiling with:

      make install

7) To compile the demos you have to edit the Makefile in the demo
   directory. At the beginning of the file you will find several 
   parameters, which you have to define in order to compiler the demos
   properly.

================== Remake AMDiS' make system ===================

If you have added a new source file or you want to change something
on the automake-system, you have to rerun the following commands:

   libtoolize --copy --force

   aclocal

   autoconf

   automake --copy --add-missing