Installation

CONTENTS

  1. Requirements
  2. Download
  3. Installation
  4. Tips for Developers

1 REQUIREMENTS

MechSys requires some third-party libraries. For the full compilation of the system, the following libraries must be present:

In addition, the CMake tool must be present:

1.1 CBLAS/LAPACK/ATLAS

For the MechSys/FEM program, the following link options must available:

-lapack -lapack_atlas -lf77blas -lcblas -latlas -lgfortran

In some systems, this may be:

-lapack -lf77blas -lcblas -latlas -lgfortran

Therefore, CBLAS, LAPACK and ATLAS libraries must be present. On Debian-based systems, these libraries can be installed with the addition of the following packages:

  1. atlas3-sse2-dev (For Pentium 4. For other processors it may be atlas3-dev)
  2. refblas3-dev
  3. lapack3-dev

Please, check you apt-get manual for more details. Alternatively, you can use the configuration tool known as 'aptitude'. For Ubuntu, you can use 'synaptic' packages manager as well.

2 DOWNLOAD

Please, check mechsys.nongnu.org web site for more information

2.1 Anonymous CVS

cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/mechsys co mechsys

2.2 Project member access

A Repository

cvs -z3 -d:ext:membername@cvs.savannah.gnu.org:/sources/mechsys co mechsys

B Web site

cvs -z3 -d:ext:membername@cvs.savannah.gnu.org:/web/mechsys co mechsys

3 INSTALLATION

The installation of this library may be easily accomplished with the free tool CMake (http://www.cmake.org).

3.1 Change to the root directory

ex.: cd $HOME/02.codes/c++/mechsys

3.2 Compile

A UNIX (Debian GNU/Linux):

B Windows with MinGW:

4 TIPS FOR DEVELOPERS

  1. Use the Vim text editor
  2. Install Aric Blumer's script 'project' from project Then, from the root of mechsys call vim (or gvim) program and from inside vim type:
    • :Project vimproject
    to get a nice IDE-like navigator. REMEMBER that all opened files will be modifiable.