Start/Stop AiiDA#
Regardless of whether you have switched off AiiDA or restarted your computer. To start recording provenance with this plugin, you will need to start up your AiiDA instance. Likewise, once you have finished using AiiDA, it is best practice to shut things down gracefully. These steps also assume you have already followed the steps within installation and have already a fully working install of the toolchain.
The first step in starting AiiDA is to activate your conda environment, for example:
conda activate aiida-gromacs-env
Starting AiiDA#
The next step is to create an AiiDA profile:
verdi presto --use-zeromq
Then start the AiiDA process daemon:
verdi daemon start 2
You can then confirm all is well by checking the status of verdi:
verdi status
Now, you are ready to start using AiiDA to track your GROMACS simulations.
Stopping AiiDA#
It is best to stop your AiiDA instance gracefully than to simply close your VM or shutdown your computer, this protects against any issues that might corrupt your database.
Firstly stop the verdi process daemon:
verdi daemon stop
Finally you can deactivate your conda environment:
conda deactivate
That is it, you now have fully disabled the AiiDA toolchain.
Switching AiiDA Database Profile#
If you are working on multiple projects, you can create another profile with:
verdi presto --use-zeromq
And view all created profiles:
verdi profile list
If you want to switch to a different <PROFILE>:
verdi profile set-default <PROFILE>
And to delete a profile no longer needed:
verdi profile delete <PROFILE>
You can now create, switch and delete profiles saved in the AiiDA database.