Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{tools}[foss/2023a] AiiDA #20516

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

Crivella
Copy link
Contributor

Set of bootstrap/cleanup scripts for aiida

Depends on PRs:

The bootstrap script will

  • PostgreSQL
    • Create a database in user space
    • Set the database to make use of UNIX sockets only to avoid opening ports
    • Launch the database
  • RabbitMQ
    • Create a rabbitmq instance
    • Looks for 2 open ports above 25672
    • Launch the rabbitmq instance
    • Add advanced configuration for avoiding timeouts SEE HERE
  • AiiDA
    • Setup the profile with the information about the created database and rabbitmq instances
      • Updates the rabbitMQ ports in case the services where stopped and the ports changed after rerunning the bootstrap script.
    • launch the daemon

The user can specify the following:

  • Location of the PostgreSQL datadir (to allow running on a fast and/or backed up partition)
  • Name/Surname/Email/Affiliation for the AiiDA profile (defaults are generated based on the username and hostname)
  • Location of the aiida repository

After the first run of the bootstrap script, configuration details are stored under $HOME/.eb_aiida and will be recalled in future runs:

  • Location of the database data dir
  • Database user password (with 600 permission)
  • Ports for RabbitMQ
  • RabbitMQ user password (with 600 permission) (this is also stored by AiiDA in its configuration file)
  • Location of the aiida repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant