Installation

L’application spfluo-app est disponible sous Windows et Linux. Un GPU est recommandé, mais pas nécessaire.

Windows

Sous Windows, l’installation est aussi simple que de télécharger un executable :

  1. Si vous possédez une carte graphique NVIDIA, téléchargez spfluo-app-gpu.exe.

  2. Sinon, téléchargez spfluo-app.exe.

L’exécutable installera les dépendances et lancera l’application.

Linux

  1. Installer Python

    Python should already be available on your distribution. If you have Ubuntu for instance, the command python3 should be available.

Note

spfluo-app is compatible with python>=3.10. Check your version with python3 --version.

  1. Create a virtual environnement in the directory of your choice /path/to/spfluo-app-venv:

    $ python3 -m venv /path/to/spfluo-app-venv
    $ source /path/to/spfluo-app-venv/bin/activate
    
  2. Copy this link: requirements.txt. Or this one: requirements-gpu.txt, if you have an NVIDIA GPU.

  3. Install spfluo-app in the virtual environnement using the following command. Replace LINK by pasting the link:

    $ python3 -m pip install -r LINK
    
  1. The app will be available at /path/to/spfluo-app-venv/bin/spfluo-app. Launch it:

    $ /path/to/spfluo-app-venv/bin/spfluo-app
    

Vous devriez maintenant voir le lanceur Scipion [1].

scipion launcher empty

Fig. 1 Le lanceur Scipion

Rendez-vous sur Tutoriel pour commencer à utiliser spfluo-app.

Mise à jour

To upgrade your installation to the latest version, copy the link of the requirements corresponding to the latest version: requirements.txt or requirements-gpu.txt.

Depending on your system, follow the instructions below. Replace REQUIREMENTS_LINK with the link you copied.

Windows

Dans un terminal, exécutez

$ spfluo-app.exe self uv pip sync REQUIREMENTS_LINK

Linux

Pour mettre à jour votre installation

$ source /path/to/spfluo-app-venv/bin/activate
$ python3 -m pip install -r REQUIREMENTS_LINK