This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
devs:install [2024/02/22 10:40] carlos |
devs:install [2026/11/04 13:47] (current) arthur |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| === 1.2.1 Generating an SSH key pair === | === 1.2.1 Generating an SSH key pair === | ||
| - | In order to work with GitLab, you will need to create a local copy of the Lagamine project on your computer. The first step to connect your computer to GitLab is to generate an SSH key pair allowing for secure connection between the GitLab server (online) and your computer (local). To generate the SSH key, simply follow the instructions from the GitLab documentation: [[https://docs.gitlab.com/ee/ssh/README.html]] (use an ED25519 SSH key) | + | In order to work with GitLab, you will need to create a local copy of the Lagamine project on your computer. The first step to connect your computer to GitLab is to generate an SSH key pair allowing for secure connection between the GitLab server (online) and your computer (local). To generate the SSH key, simply follow the instructions from the GitLab documentation: [[https://docs.gitlab.com/ee/user/ssh.html]] (use an ED25519 SSH key) |
| === 1.2.2 Cloning the Lagamine repository === | === 1.2.2 Cloning the Lagamine repository === | ||
| First of all, you should choose where you want to place your local Lagamine repository. To do this, you will use the “cd” command in **Git Bash**, followed by the address of the folder where you wish to put your Lagamine project. If your path contains spaces (for instance, a folder called My folder) put the folder name containing spaces in quotations (C:/”My folder”). In my case, I used the following command: \\ | First of all, you should choose where you want to place your local Lagamine repository. To do this, you will use the “cd” command in **Git Bash**, followed by the address of the folder where you wish to put your Lagamine project. If your path contains spaces (for instance, a folder called My folder) put the folder name containing spaces in quotations (C:/”My folder”). In my case, I used the following command: \\ | ||
| Line 76: | Line 76: | ||
| <imgcaption image3|Editing of environment variables in Win11>{{:devs:fig_envars_cru.png?800|}}</imgcaption> | <imgcaption image3|Editing of environment variables in Win11>{{:devs:fig_envars_cru.png?800|}}</imgcaption> | ||
| - | . | ||
| ==== 2.3 Create the Lagamine, Prepro, & Select projects ==== | ==== 2.3 Create the Lagamine, Prepro, & Select projects ==== | ||
| Line 117: | Line 116: | ||
| * Optimization : Disable (/Od) (in the Debug configuration) | * Optimization : Disable (/Od) (in the Debug configuration) | ||
| * Optimization : Maximize Speed (in the Release configuration) | * Optimization : Maximize Speed (in the Release configuration) | ||
| + | * Preprocessor : | ||
| + | * Preprocess Source File : Yes (/fpp) | ||
| + | * Preprocessor Definitions : MSDOS_ ; FEM2_ | ||
| * Diagnostics : | * Diagnostics : | ||
| * Check routine Interfaces : No | * Check routine Interfaces : No | ||
| Line 127: | Line 129: | ||
| * Check Stack Frame : No | * Check Stack Frame : No | ||
| - | === 2.4.3 Solve_DSS.F === | + | === 2.4.3 Parallelisation with OpenMP === |
| + | |||
| + | For OpenMP parallelisation of the element loop (not working for all elements), please modify the following parameters in the "Fortran" section of the project properties: | ||
| + | * General : | ||
| + | * Multi-processor Compilation : Yes (/MP) | ||
| + | * Optimization : | ||
| + | * Parallelization : Yes (/Qparallel) | ||
| + | * Language : | ||
| + | * Process OpenMP Directives : Generate Parallel Code (/Qopenmp) | ||
| + | * Libraries : | ||
| + | * Use Intel Math Kernel Library : Parallel (/Qmkl:parallel) | ||
| + | In the "Linker" section : | ||
| + | * System : | ||
| + | * Heap Reserve Size : 268435456 | ||
| + | * Heap Commit Size : 268435456 | ||
| + | * Stack Reserve Size : 268435456 | ||
| + | * Stack Commit Size : 268435456 | ||
| + | * Enable Large Addresses : Support Addresses Larger than 2 GB (/LARGEADDRESSAWARE) | ||
| + | |||
| + | === 2.4.4 Solve_DSS.F === | ||
| The SOLVE_DSS (in the Lagamine project) subroutine is used for the parallelized version of Lagamine. In this subroutine, the integers should be interpreted in 64 bits (they are not by default). To change this, right-click on the Solve_Dss subroutine in the Solution explorer, then Properties⟶Data⟶Default Integer KIND : 8 (/integer_size :64) | The SOLVE_DSS (in the Lagamine project) subroutine is used for the parallelized version of Lagamine. In this subroutine, the integers should be interpreted in 64 bits (they are not by default). To change this, right-click on the Solve_Dss subroutine in the Solution explorer, then Properties⟶Data⟶Default Integer KIND : 8 (/integer_size :64) | ||