Outils pour utilisateurs

Outils du site


sunfluidh:sunfluidh_install_limsi

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
sunfluidh:sunfluidh_install_limsi [2021/04/28 18:15] – [How do start to work] yannsunfluidh:sunfluidh_install_limsi [2023/07/10 10:26] (Version actuelle) yann
Ligne 1: Ligne 1:
-===== Sunfluidh installation procedure =====+===== Sunfluidh installation procedure with svn ===== 
 +(until the version 1193 : 08 July 2013) 
 +-----
  
 The sunfluidh project is placed on the forge and is handled with the version control system [[ http://svnbook.red-bean.com/en/1.6/svn.preface.html | svn]]. The sunfluidh project is placed on the forge and is handled with the version control system [[ http://svnbook.red-bean.com/en/1.6/svn.preface.html | svn]].
Ligne 6: Ligne 8:
     * Define on your computer a directory to receipt the sunfluidh project (~/SUNFLUIDH for instance)     * Define on your computer a directory to receipt the sunfluidh project (~/SUNFLUIDH for instance)
     * Go to the directory SUNFLUIDH     * Go to the directory SUNFLUIDH
-    * run the next command (to get the "beta-test" release) : \\ svn co - -username your_login https://forge.limsi.fr/svn/SUNFLUIDH_DVPMT_2/TRUNK \\ The last version of this sunfluidh project will be downloaded in the directory "~/SUNFLUIDH/TRUNK"+    * run the next command (to get the "beta-test" release) : \\ svn co --username your_login https://forge.limsi.fr/svn/SUNFLUIDH_DVPMT_2/TRUNK \\ The last version of this sunfluidh project will be downloaded in the directory "~/SUNFLUIDH/TRUNK"
     *  run the next command (to get the current release) : \\ svn co - -username your_login https://forge.limsi.fr/svn/SUNFLUIDH_PRD/TRUNK \\ The last version of this sunfluidh project will be downloaded in the directory "~/SUNFLUIDH/TRUNK"     *  run the next command (to get the current release) : \\ svn co - -username your_login https://forge.limsi.fr/svn/SUNFLUIDH_PRD/TRUNK \\ The last version of this sunfluidh project will be downloaded in the directory "~/SUNFLUIDH/TRUNK"
  
Ligne 24: Ligne 26:
       * The directory **REACTIVE_FLOWS_DATA** contains different peculiar files ( .inc) which could be included in the code during the compilation procedure. They are devoted to reactive flow simulations only.       * The directory **REACTIVE_FLOWS_DATA** contains different peculiar files ( .inc) which could be included in the code during the compilation procedure. They are devoted to reactive flow simulations only.
       * The directory **MAKEFILE_DIR** contains just one file named **makefile** for the code compilation       * The directory **MAKEFILE_DIR** contains just one file named **makefile** for the code compilation
-    * **TOOLS_MATLAB** : Matlab tools for post-processing ([[sunfluidh:sunfluidh_matlab|Reading output files with Matlab (examples)]]) +    * **TOOLS_MATLAB** : Matlab tools for post-processing ([[sunfluidh:sunfluidh_matlab|Reading output files with Matlab]]) 
-    * **TOOLS_PYTHON** : Python tools for post-processing (forreading the binary output files, see [[https://perso.limsi.fr/witko/teaching/MU5MEF32/TutoReadingSunfluidhFileswithPython.html|Reading output files with Python (examples)]])+    * **TOOLS_PYTHON** : Python tools for post-processing (for reading the binary output files, see [[https://perso.limsi.fr/witko/teaching/MU5MEF32/TutoReadingSunfluidhFileswithPython.html|Reading output files with Python (examples)]])
          
  
Ligne 35: Ligne 37:
  
     * Go to the directory "~/SUNFLUIDH/TRUNK/DATA/MAKEFILES_DIR" and copy the file "makefile" in the directory "~/SUNFLUIDH/TRUNK/SOURCES"     * Go to the directory "~/SUNFLUIDH/TRUNK/DATA/MAKEFILES_DIR" and copy the file "makefile" in the directory "~/SUNFLUIDH/TRUNK/SOURCES"
-    * Open the file "makefile", choose the compiler (pgi, ifort or gfortran) in regard to your system environment and define the relevant options of compilation [[ sunfluidh:makefile_configuration | (see "How to configure the makefile") ]]+    * Open the file "makefile", choose the compiler (ifort or gfortran) according to your system environment and define the relevant options of compilation [[ sunfluidh:makefile_configuration | (see "How to configure the makefile") ]]
     * Run the command "make" :The source files are compiled and an executable file is created. Its name depends on the option parameters chosen for the compilation (2D/3D, parallelization modes). It looks like "sunfluidh...x.     * Run the command "make" :The source files are compiled and an executable file is created. Its name depends on the option parameters chosen for the compilation (2D/3D, parallelization modes). It looks like "sunfluidh...x.
  
Ligne 47: Ligne 49:
  
     * Create a local working directory in your home directory (for instance "WORK").     * Create a local working directory in your home directory (for instance "WORK").
-    * Create your own data file for sunfluidh in your work directory. This data file must be named "input3d.dat" in order to be recognized by sunfluidh. You can be guided by the various examples of data files provided __[[sunfluidh:sunfluidh_examples_data_set| here ]]__+    * Create and set your own data file for sunfluidh in your work directory. This data file must be named "input3d.dat" in order to be recognized by sunfluidh. You can be guided by the various examples of data files provided [[sunfluidh:sunfluidh_examples_data_set| here ]]
-    * Place the executable file (sunfluidh...x obtained after compiling in the directory ) in your working directory and run it : ./sunfluidh.x \\ The command to run sunfluidh must be executed in the working directory. All the result files created by the code will also be stored in the working directory.+    * If your computational grid is irregular, do not forget to create the appropriate grid files with the mesh generator [[sunfluidh:meshgen_doc|Meshgen]]. If the grid is regular, sunfluidh builds the grid itself
 +    * Place the executable file (sunfluidh...x obtained after compiling in the directory **SOURCES**) in your work directory and run it : ./sunfluidh...x \\ The command to run sunfluidh must be executed in the work directory. All the result files created by the code will also be stored in the work directory.
  
-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 against the harmful overgrowth of executable files while more and more working directories are created over the time. For that : +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"+      * 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"+      * 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 computer system where they are stored. 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="your_home_directory_path"/BIN:$PATH \\ "your_home_directory_path" is just a generic name to define the access to your home from the root directory of the sytem (use the UNIX/LINUX command "pwd" in your home directory to know it).+      * 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**, or **.bashrc_profile** this depends on your operating system) and write the command line : \\ **export PATH="your_home_directory_path"/BIN:$PATH** \\ "your_home_directory_path" is just a generic name to define the access to your home from the root directory of the sytem (use the UNIX/LINUX command "pwd" in your home directory to know it).
  
 [[sunfluidh_install |Click here to come back to the previous page]] [[sunfluidh_install |Click here to come back to the previous page]]
sunfluidh/sunfluidh_install_limsi.1619626548.txt.gz · Dernière modification : 2021/04/28 18:15 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki