sunfluidh:sunfluidh_install_gitlab
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édente | ||
sunfluidh:sunfluidh_install_gitlab [2023/07/10 10:49] – yann | sunfluidh:sunfluidh_install_gitlab [2023/07/11 18:35] (Version actuelle) – [Environment of the project] yann | ||
---|---|---|---|
Ligne 12: | Ligne 12: | ||
https:// | https:// | ||
+ | [[sunfluidh_install |Click here to come back to the previous page]] | ||
+ | |||
+ | ==== Environment of the project ==== | ||
+ | |||
+ | At the root of the project, you will find several directories : | ||
+ | * **SOURCES** : This directory contains all the source files needed to compile the code. These sources files are compiled by means of the makefile file. | ||
+ | * **REACTIVE_FLOWS_FILES** : For multi-species (reacting) flows only. It contains setting files (*.inc) describing the physical and chemical features of various kind of species. For the case studied, a selected set of file must be copied in the directory ' | ||
+ | * In the directory " | ||
+ | * **script_cluster_1.pbs** for the lab cluster " | ||
+ | * **script_jz_mpi_1.slurm** for the cluster Jean-Zay located at IDRIS | ||
+ | * **script_irene_mpi_1.slurm** for the cluster Irene located at TGCC | ||
+ | * The directory **MAKEFILE_DIR** contains just one file named ' | ||
+ | * **TOOLS_PYTHON** : Python tools for post-processing (for reading the binary output files, see [[https:// | ||
+ | | ||
+ | |||
+ | [[sunfluidh_install |Click here to come back to the previous page]] | ||
+ | |||
+ | ==== Compilation procedure ==== | ||
+ | |||
+ | When the project is installed, please, follow these steps in order to compile the code : | ||
+ | |||
+ | * Go to the directory " | ||
+ | * Open the file " | ||
+ | * Run the command " | ||
+ | |||
+ | [[sunfluidh_install |Click here to come back to the previous page]] | ||
+ | |||
+ | ==== How do start to work ==== | ||
+ | |||
+ | Before starting to work with the code, find here some advises : | ||
+ | |||
+ | We suppose here your operating system is __UNIX, LINUX or BSD__ and your shell is __the BASH__. | ||
+ | |||
+ | * Create a local working directory in your home directory (for instance " | ||
+ | * Create and set your own data file for sunfluidh in your work directory. This data file must be named " | ||
+ | * If your computational grid is irregular, do not forget to create the appropriate grid files with the mesh generator [[sunfluidh: | ||
+ | * Place the executable file (sunfluidh...x obtained after compiling in the directory **SOURCES**) in your work 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 work directory. This prevents against the harmful overgrowth of executable files while more and more working directories are created over the time. For that : | ||
+ | * Create a specific directory in your home directory in order to store your own executable files (for instance **~/BIN**) | ||
+ | * Move your executable files (here just sunfluidh...x) from the compilation directory to **BIN**. | ||
+ | * In order to executable files can be ran anywhere in your working space, you must inform your operating system where they are stored. In your local root directory (your home), open the system file named **.profile** (or **.bashrc**, | ||
+ | |||
+ | [[sunfluidh_install |Click here to come back to the previous page]] |
sunfluidh/sunfluidh_install_gitlab.1688978997.txt.gz · Dernière modification : 2023/07/10 10:49 de yann