Setting up a Distributed Simulation > Setting up configuration for remote parallel or sequential jobs > Setting up services on a Linux PC
Ubuntu platform procedure
Ubuntu (debian) platform procedure
Install procedure
Procedure
Edit the STDManager_ubuntu_tmpl STDManager_ubuntu_tmpl file, and set up the configuration part as shown below:
AME should be set to local Simcenter Amesim directory. AME_SIMULATIONPROCESSES should be set to the maximum number of parallel daemons requested on the host (for example, if you have a quad-core machine this should be set to 4). If you want to set a port number for STDSIMManager different from the default 40001, you must change STDSIMMANAGER_PORT. For example, if you want to set it to 39999:
Copy this file to /etc/init.d/STDManager and change file properties:
Copy
root@machine:~# cp STDManager_ubuntu_tmpl /etc/init.d/STDManager root@machine:~# chmod 755 /etc/init.d/STDManagerInstall the service:
Copy
root@machine:~# update-rc.d STDManager defaultsWe recommend the default installation. Please check the update-rc.d manpage for more details. Now the STDSIMManager will run continuously in the background, and it will be automatically started on boot.
Uninstall procedure
uninstall
Procedure
Uninstall the service:
Copy
user@machine:/home/user$ update-rc.d -f STDManager removeRemove the /etc/init.d/STDManager script file.
Test procedure
test procedure
Procedure
Start the service:
Copy
user@machine:/home/user$ service STDManager start- Starting OpenSimulator manager: STDSIMManager
Check the status:
Copy
user@machine:/home/user$ service STDManager status- STDSIMManager is running.
Get STDSIMManager pid, logged in pidfile:
Copy
user@machine:/home/user$ cat /tmp/STDSIMManager.pid 2786Check if the STDSIMManager is running:
Copy
user@machine:/home/user$ ps 2786 PID TTY STAT TIME COMMAND 2786 ? S 0:00 /home/user/amesim_local/lnx_x64/STDSIMManager -port 40001Stop the service:
Copy
user@machine:/home/user$ service STDManager stop- Stopping OpenSimulator manager: STDSIMManager
Check the service is down:
Copy
user@machine:/home/user$ service STDManager status- STDSIMManager not running.
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Parallel_Processing/Ubuntu_debian_platform_procedure · retrieved 2026-07-17