...
When running AiiDA on one of the login nodes: Run the PostgreSQL database in a tmux or screen session on the same login node
When running AiiDA on the PC2 Jupyter Hub: Run PostgreSQL database in a tmux or screen session in the console in Jupyter Lab instance
When running AiiDA in a long-running compute job: Start PostgreSQL database in the job before AiiDA in the background, i.e.,
Code Block postgres -c config_file=postgresql.conf -D [path to data directory] &
...