recherche:softs:emsoft

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édentes Révision précédente
Prochaine révision
Révision précédente
recherche:softs:emsoft [20/09/2019 10:19] aurelien.villanirecherche:softs:emsoft [19/06/2020 13:30] (Version actuelle) – obsolete aurelien.villani
Ligne 1: Ligne 1:
-====== EMSoft ====== 
  
-note: les changement cmake ne sont peut-être plus nécessaire avec la dernière version 4.3. 
-===== Prérequis ===== 
- 
- 
-Sous Ubuntu 16.04 : 
- 
-<Code:shell> 
-sudo apt-get install nvidia-opencl-dev liblapacke-dev libblas-dev gfortran 
-</Code> 
- 
-===== Procedure ===== 
- 
- 
-Admettons qu'on installe dans /opt. 
-Si dans le home, pas besoin de sudo. 
- 
-<Code:shell linenums |Pour le SDK> 
-cd /opt 
-sudo mkdir EMSoft 
-sudo chown -R $USER EMSoft 
-cd EMSoft 
-git clone https://github.com/marcdegraef/EMsoftSuperbuild.git 
-git clone https://github.com/marcdegraef/EMsoft.git 
-mkdir SDK 
-cd EMsoftSuperbuild 
-mkdir Release 
-cd Release 
-cmake -DEMsoft_SDK=/opt/EMSoft/SDK -DCMAKE_BUILD_TYPE=Release -DINSTALL_QT5=OFF ../ 
-make -j 8 
-vim /opt/EMSoft/SDK/superbuild/bcls/Source/bcls/CMakeLists.txt # changer cmake_minimum_required(VERSION 3.4.0) 
-make -j 8 
-</Code> 
- 
-<Code:shell linenums |Pour le soft> 
-cd /opt/EMSoft/EMSoft 
-mkdir build 
-vim CMakeLists.txt # changer cmake_minimum_required(VERSION 3.4.0) 
-cd build 
-cmake -DEMsoft_SDK=/opt/EMSoft/SDK/ -DCMAKE_BUILD_TYPE=Release .. 
-make -j  
-</Code> 
- 
-<Code:shell linenums | Finalisation> 
-cd Bin 
-./EMsoftinit 
-vim ~/.config/EMsoft/EMsoftConfig.json # remplir avec les bons chemins 
-</Code> 
- 
-===== Usage ===== 
- 
- 
- 
-example: 
- 
-<Code:bash linenums> 
-./EMsampleRFZ -t 
-cp EMsampleRFZ.template cubic.nml 
-# edit cubic.nml to change output file from "undefined"to something else 
-./EMsampleRFZ  
-</Code> 
  • recherche/softs/emsoft.1568967557.txt.gz
  • Dernière modification : 20/09/2019 10:19
  • de aurelien.villani