Linux Installation

From KratosWiki
(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
  
 
* Python (2.4 or greater is advisable)
 
* Python (2.4 or greater is advisable)
 +
* g++
 +
* make
 +
 +
== Libraries ==
  
 
The kratos is built on the top of the boost library both for the compilation framework and for the python interface. The following items are normally available for download from the system repositories or can be downloaded from [www.boost.org] which also includes an installation tutorial
 
The kratos is built on the top of the boost library both for the compilation framework and for the python interface. The following items are normally available for download from the system repositories or can be downloaded from [www.boost.org] which also includes an installation tutorial
Line 12: Line 16:
 
* bjam  
 
* bjam  
 
* libboost_python.so
 
* libboost_python.so
 +
 +
The library "SuperLU3.0" has to be compiled (or downloaded precomplied) to allow the compilation of the ExternalSolversApplication.
  
 
Finally a number of external libraries are included in the Kratos distribution and should be compiled prior to installation (please verify the copyright notice in case of applications of commercial interest)
 
Finally a number of external libraries are included in the Kratos distribution and should be compiled prior to installation (please verify the copyright notice in case of applications of commercial interest)
 
This libraries are
 
This libraries are
* gidpost library -- directory
+
* gidpost library -- directory: "/external_libraries/gidpost/unix" -- compilation command: make
 +
* tetgen library -- directory: "/applications/PFEMapplication/custom_external_libraries/tetgen/tetgen1.4.0" -- compilation command: "make tetlib"
 +
* tetgen library -- directory: "/applications/PFEMapplication/custom_external_libraries/triangle" -- compilation command: "make trilibrary
 +
* tetgen library -- directory: "/applications/ULFapplication/custom_external_libraries/tetgen/tetgen1.4.0" -- compilation command: "make tetlib"
 +
* tetgen library -- directory: "/applications/ULFapplication/custom_external_libraries/triangle" -- compilation command: "make trilibrary
 +
* tetgen library -- directory: "/applications/FSIapplication/custom_external_libraries/ann_1.1" -- compilation command: "make linux-g++
 +
 
 +
 
 +
after this the install
 +
 
 +
== Configuring and Installing ==
 +
Once all of the prerequisite are correctly installed the kratos is ready for its first compilation.
 +
 
 +
Step1: save the "Common_Jamroot" as "Jamroot" and edit it to customize the installation directories and the names of the directories to be included (this may vary depending on the Linux distribution)
 +
 
 +
Step2: compilation: from the directory kratosR1 type:  "bjam threading=multi" for a compilation in release

Revision as of 08:49, 19 November 2007

How To install Kratos in Linux:

System Requirements

No special system requirements are required, however a sustancial amount of RAM is typically needed during the compilation. 1Gb RAM is advisable to be able to run the compilation is a reasonably short time

A number of programs/libraries should be available on the system prior to the installation. The user should verify the existance (and the installation path) of the following items:

  • Python (2.4 or greater is advisable)
  • g++
  • make

Libraries

The kratos is built on the top of the boost library both for the compilation framework and for the python interface. The following items are normally available for download from the system repositories or can be downloaded from [www.boost.org] which also includes an installation tutorial

  • "boost-build"
  • bjam
  • libboost_python.so

The library "SuperLU3.0" has to be compiled (or downloaded precomplied) to allow the compilation of the ExternalSolversApplication.

Finally a number of external libraries are included in the Kratos distribution and should be compiled prior to installation (please verify the copyright notice in case of applications of commercial interest) This libraries are

  • gidpost library -- directory: "/external_libraries/gidpost/unix" -- compilation command: make
  • tetgen library -- directory: "/applications/PFEMapplication/custom_external_libraries/tetgen/tetgen1.4.0" -- compilation command: "make tetlib"
  • tetgen library -- directory: "/applications/PFEMapplication/custom_external_libraries/triangle" -- compilation command: "make trilibrary
  • tetgen library -- directory: "/applications/ULFapplication/custom_external_libraries/tetgen/tetgen1.4.0" -- compilation command: "make tetlib"
  • tetgen library -- directory: "/applications/ULFapplication/custom_external_libraries/triangle" -- compilation command: "make trilibrary
  • tetgen library -- directory: "/applications/FSIapplication/custom_external_libraries/ann_1.1" -- compilation command: "make linux-g++


after this the install

Configuring and Installing

Once all of the prerequisite are correctly installed the kratos is ready for its first compilation.

Step1: save the "Common_Jamroot" as "Jamroot" and edit it to customize the installation directories and the names of the directories to be included (this may vary depending on the Linux distribution)

Step2: compilation: from the directory kratosR1 type: "bjam threading=multi" for a compilation in release

Personal tools
Categories