sunfluidh:sunfluidh_install
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
sunfluidh:sunfluidh_install [2016/01/19 18:12] – yann | sunfluidh:sunfluidh_install [2017/12/11 13:11] – yann | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ==== SUNFLUIDH INSTALL ==== | + | ===== SUNFLUIDH INSTALL ===== |
+ | [[: | ||
----- | ----- | ||
+ | ==== Download the sunfluidh project ==== | ||
- | === Download | + | * [[ Sunfluidh_install_limsi | For Limsi users]] |
+ | * [[ Sunfluidh_install_external | For the class 5AF32 ]] | ||
+ | |||
- | The sunfluidh project is placed on the forge and is handled with the version control system [[ http:// | + | ==== Environment |
- | In order to install sunfluidh on your computer, please, follow these steps : | + | |
- | * Ensure you get the required authorization to download the sunfluidh project with svn from the forge (contact AMIC for that) | + | |
- | * Define on your computer a directory to receipt the sunfluidh project (~/ | + | |
- | * Go to the directory SUNFLUIDH | + | |
- | * run the next command : \\ svn co --username your_login https:// | + | |
- | + | ||
- | === Setup of the project === | + | |
In the directory " | In the directory " | ||
* DOC : It contains all documents related to the numerical methods implemented in the code (in french at present) | * DOC : It contains all documents related to the numerical methods implemented in the code (in french at present) | ||
- | * DATA : It contains different | + | * DATA : It contains different files : |
- | * different | + | * Some tutorial data files in order to explore various possibilities of the code (input_xxxx.dat) |
- | * different shell scripts in order to run the code in batch on various type of computers (local cluster, IDRIS computers). their names start with " | + | * different shell scripts in order to run the code in batch on various type of computers (local cluster, IDRIS computers). their names start with " |
* A directory .../ | * A directory .../ | ||
* SOURCES : This directory contains all the source files needed to compile the code. These sources files are compiled by means of the makefile file. | * SOURCES : This directory contains all the source files needed to compile the code. These sources files are compiled by means of the makefile file. | ||
- | === Compilation procedure === | + | [[: |
+ | |||
+ | ==== Compilation procedure | ||
In order to compile the code on your computer, please, follow these steps : | In order to compile the code on your computer, please, follow these steps : | ||
* Go to the directory " | * Go to the directory " | ||
- | * Open the file " | + | * Open the file " |
* Run the command " | * Run the command " | ||
- | === How do start to work === | + | [[: |
+ | |||
+ | ==== How do start to work ==== | ||
Before starting to work with the code, find here some advices : | Before starting to work with the code, find here some advices : | ||
Ligne 36: | Ligne 37: | ||
* Create a local working directory in your home directory (for instance " | * Create a local working directory in your home directory (for instance " | ||
- | * Create your own data file for sunfluidh in your working directory. This data file must be named " | + | * Create your own data file for sunfluidh in your working directory. This data file must be named " |
- | * Place the executable file (sunfluidh.x) in your working directory and run it : \\ ./ | + | * Place the executable file (sunfluidh.x) in your working directory and run it : ./ |
- | | + | |
+ | |||
+ | It is often better to create a specific local directory in order to store your executable files rather than moving them from the compilation directory to the working directory. This prevents | ||
* Create a specific directory in your home directory in order to store your own executable files (for instance " | * Create a specific directory in your home directory in order to store your own executable files (for instance " | ||
* Move your executable files (here just sunfluidh.x) from the compilation directory to " | * Move your executable files (here just sunfluidh.x) from the compilation directory to " | ||
- | * In order to these executable files can be ran anywhere in your working space, you must inform | + | * In order to executable files can be ran anywhere in your working space, you must inform your computer |
- | * In your local root directory (your home), open the system file named .profile (or .bashrc, or .bashrc_profile this depends on your operating system) and write the command line : \\ export PATH=" | + | |
+ | [[: |
sunfluidh/sunfluidh_install.txt · Dernière modification : 2023/07/10 10:30 de yann