Installation
CONTENTS
- Requirements
- Download
- Installation
- Tips for Developers
1 REQUIREMENTS
MechSys requires some third-party libraries. For the full compilation of the system, the following libraries must be present:
- Tensors (http://tensors.nongnu.org)
- Blitz++ (http://www.oonumerics.org/blitz/)
- CBLAS/LAPACK/ATLAS (see below)
- VTK (http://www.vtk.org)
- wxWidgets (http://www.wxwidgets.org)
In addition, the CMake tool must be present:
- CMake (http://www.cmake.org)
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:
- atlas3-sse2-dev (For Pentium 4. For other processors it may be atlas3-dev)
- refblas3-dev
- 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:[email protected]:/sources/mechsys co mechsys
2.2 Project member access
A Repository
cvs -z3 -d:ext:[email protected]:/sources/mechsys co mechsys
B Web site
cvs -z3 -d:ext:[email protected]:/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):
- ccmake .
- make
- make install
B Windows with MinGW:
- CMakeSetup .
- make
- make install
4 TIPS FOR DEVELOPERS
- Use the Vim text editor
- 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