Compilation

1- To access the repository, you need to create an account on the following website and share your user ID with me so I can invite to the project:

https://riouxsvn.com/users

2- Make sure you have subversion and gfortran-4.8.2 version or higher. To check the installed version of gfortran:

gfortran -v

and if needed, install them (in Debian) using:

sudo apt-get install -y g++
sudo apt-get install -y gfortran
sudo apt-get install -y subversion

3- To run MUPFES in parallel, make sure you have an MPI library installed. You may use MPICH or MVAPICH. For example, after navigating to a folder for compilation, you can do:

wget http://www.mpich.org/static/tarballs/3.0rc1/mpich-3.0rc1.tar.gz
tar xzfv mpich-3.0rc1.tar.gz
cd mpich-3.0rc1
./configure GCC=g++ CC=gcc F77=gfortran FC=gfortran
make
sudo make install

4- Go to the directory that you would like to have the source code and check out the source code from the repository located in:

svn co https://svn.riouxsvn.com/mupfes

5- Navigate to the trunk directory and open Makefile.in and adjust parameters considering your system setting, such as Fortran and c compilers.

6- To compile the GUI interface (not necessary if you're only going to use the terminal to setup simulations input file), you need to first compile qt. On Debian based system you can do:

sudo apt-get install -y qtcreator

7- You may go to each directly separately and compile packages, or do "make" at the top level to compile the entire code. You may compile to code in the normal mode by:

make

and in the debug mode:

make debug=1

and in the sequential mode:

make seq=1

8- To visualize the results you may use a variety of software. For this purpose, ParaView is a powerful tool that can be installed (on Debian) by:

sudo apt-get install -y paraview