The taskqueue package uses PostgreSQL to manage tasks,
projects, and workers. This vignette shows how to install and configure
PostgreSQL on Ubuntu for HPC environments.
PostgreSQL should be installed on a server that all worker nodes can access.
PostgreSQL is chosen for taskqueue because:
Allow worker nodes to connect to PostgreSQL.
On all machines (daily working machines, login nodes and compute
nodes), add these environment variables to ~/.Renviron:
PGHOST=your.database.server.com
PGPORT=5432
PGUSER=taskqueue_user
PGPASSWORD=your_password
PGDATABASE=taskqueue_db
Edit .Renviron:
Restart R after editing .Renviron.
pg_hba.conf to your HPC network
only.Renviron:
chmod 600 ~/.RenvironIf needed, remove all taskqueue data:
The package will recreate tables automatically when needed.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.