Sie sind hier: Simulation Program>>Installation
Header

Generating an Executable of ms2


Download of ms2:
Please download the source code of ms2 as tarball on the webpage:
http://www.ms-2.de/download
Other mirrors of ms2 are not authorized for distribution of ms2 and should therefore be avoided.

Installation
For installation of ms2, please uncompress the tarball in any directory of your choice.

mkdir ms2

 

tar xzvf ms2package_V1.0.tar.gz -C ms2


Change into the directory "ms2", which will contain all source code files. The directory is automatically created in the folder of your tarball.
Compile the program using the Makefile of the package.

make


ATTENTION: The compiler-specific Makefile has to be adjusted according to your compiler you intent to use.


Compilation with intel ifort
For the compilation of a sequential version of ms2 using the Intel ifort, execute the following command in the directory containing the program files:

make COMPILER=INTEL

Then, the executable file ms2_INTEL is created.
For the parallel use of ms2 on multiple cores, compile the source code with following command:

make  COMPILER=INTEL MPI=1


Then, the executable file ms2_INTEL_mpi is created. The compilation for multiple cores includes following compiler optimizations.
- 03
- fdefault-real-8
Please check, if these compiler settings are supported on your system.



Compilation with GNU gfortran
For the compilation of a sequential version of ms2 using the GNU gfortran, execute the following command in the directory containing the program files:

make COMPILER=GNU


Then, the executable file ms2_GNU is created.
For the parallel use of ms2 on multiple cores, compile the source code with the following command:

make COMPILER=GNU MPI=1


Then, the executable file ms2_GNU_mpi is created. The compilation for multiple cores includes the following compiler optimizations.
- 03
- fdefault-real-8
- static
- r8
Please check, if these compiler settings are supported on your system.