SimQ Version 1.3This page describes how to install SimQ version 1.3 (released 2024-10-17) on your Linux system. SimQ includes two main components:
simd: A daemon process that makes your computer part of MPAL's network of simulation
compute resources. It will be set up as a standard Linux system service.psq: A user application for submitting, managing, and monitoring simulations.
Key points about simd installation and runtime behavior:
simd user and group will be created (if they don't exist) and the service will run as
that user.simd will poll the Plato central
dispatcher daemon every 30 seconds to check for pending simulations.
simd
binary requires glibc 2.34 or later. Older versions of Ubuntu may not meet this requirement.wget http://216.16.195.147/downloads/simq.1.2-2024-08-28.linux.x86_64.tar.gz
or
curl -O http://216.16.195.147/downloads/simq.1.2-2024-08-28.linux.x86_64.tar.gz
tar xzvf simq.1.2-2024-08-28.linux.x86_64.tar.gz
cd simq
sudo ./linuxinstall.sh
The installer script will perform the following tasks:
simd and psq binaries to /usr/local/simq/simd in /etc/simd/simd systemd service file in /etc/systemd/system/simd user and groupsimd serviceUpon completion, the script will ask if you want to start the simd service. Press y
(or just hit enter) to start the service, or n to start it later manually.
If this is the first installation, a configuration file named simdconfig.json5 will be created
in /etc/simd/ with the following structure:
{
"CPUs": 120,
"Memory": "125GB",
"CPUArchitecture": "x86_64",
"MaxSimulations": 1,
"SimdSimulationsDir": "/var/lib/simd",
"DispatcherURL": "http://216.16.195.147:8250/"
}
Configuration values:
CPUs: Number of CPU cores available for simulations (auto-detected)Memory: Amount of system memory available for simulations (auto-detected)CPUArchitecture: CPU architecture of the system (auto-detected)MaxSimulations: Maximum number of simultaneous simulations this instance can runSimdSimulationsDir: Directory where simulation data will be storedDispatcherURL: URL of the central dispatcher (do not change unless instructed)You can manually adjust these settings if needed, but the auto-detected values should work for most cases.
simd Service
Use the following commands to manage the simd service:
| Command | Description |
|---|---|
sudo systemctl start simd |
Starts the simd service |
sudo systemctl stop simd |
Stops the simd service |
sudo systemctl restart simd |
Restarts the simd service |
systemctl status simd |
Reports the current status of the simd service |
systemctl is-enabled simd |
Reports whether the simd service is enabled to start at boot |
tail -n 30 /usr/local/simq/simd/simd.log |
View the last 30 lines of simd.log |
journalctl -u simd |
View system logs related to the simd service |
psqpsq (Plato Simulation Queue) is used to add, remove, and manage simulation jobs. Jobs added to
the simulation queue will be executed by the first available simd instance in the network.
To use psq:
/usr/local/simq/bin to your PATH:
echo 'export PATH=$PATH:/usr/local/simq/bin' >> ~/.bashrc
source ~/.bashrc
For more detailed information on using psq use the 'help' command at the psq prompt.
simd service is running, you should see "active (running)" in the output:
systemctl status simd
psq is accessible, this should display the version number of psq:
psq -v
tail -n 30 /usr/local/simq/simd/simd.log
journalctl -u simd
cat /etc/simd/simdconfig.json5
journalctl -u simd
/usr/local/simq/bin is in your PATH.
simd logs for any connection issues.
To remove SimQ from your system you can run the linuxuninstall.sh script:
sudo ./linuxuninstall.sh -v
This will do the following:
simd user and groupsimd daemon and servicesimd created and maintainedpsq commandIf you encounter any issues not covered in this guide or have questions about SimQ:
1.0 - Initial release
1.1 - Updates
psq. The ss command (simd status) can be used
to ensure that simd is healthy.redo command.1.2 - Updates
1.3 - Updates