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/01 13:54] – yann | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ==== SUNFLUIDH INSTALL ==== | + | ===== SUNFLUIDH INSTALL ===== |
+ | [[: | ||
----- | ----- | ||
+ | ==== Download the sunfluidh project ==== | ||
- | === Download the sunfluidh project | + | * [[ Sunfluidh_install_limsi | For Limsi users]] |
+ | * [[ Sunfluidh_install_external | For the class 5AF32 ]] | ||
+ | |||
+ | === If you work at Limsi === | ||
The sunfluidh project is placed on the forge and is handled with the version control system [[ http:// | The sunfluidh project is placed on the forge and is handled with the version control system [[ http:// | ||
Ligne 9: | Ligne 14: | ||
* Define on your computer a directory to receipt the sunfluidh project (~/ | * Define on your computer a directory to receipt the sunfluidh project (~/ | ||
* Go to the directory SUNFLUIDH | * Go to the directory SUNFLUIDH | ||
- | * run the next command : \\ svn co --username your_login https:// | + | * run the next command |
+ | * run the next command (to get the current release) : \\ svn co - -username your_login https:// | ||
- | === Setup of the project === | + | === If you are enrolled in the class 5AF32 at UPMC === |
+ | |||
+ | You will find in the 5AF32 moodle course the complete suite to use Sunfluidh in a tar file. It includes Sunfluidh and two additional codes: meshgen (to generate mesh) and visfield (for postprocessing the results). Some tools to read and process your data in Matlab are also provided. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[: | ||
+ | |||
+ | ==== Environment | ||
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 57: | ||
* 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