AmesimKnowledge

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

  1. 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:

  2. Copy this file to /etc/init.d/STDManager and change file properties:

    Copyroot@machine:~# cp STDManager_ubuntu_tmpl /etc/init.d/STDManager root@machine:~# chmod 755 /etc/init.d/STDManager

  3. Install the service:

    Copyroot@machine:~# update-rc.d STDManager defaults We 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

  1. Uninstall the service:

    Copyuser@machine:/home/user$ update-rc.d -f STDManager remove

  2. Remove the /etc/init.d/STDManager script file.

Test procedure

test procedure

Procedure

  1. Start the service:

    Copyuser@machine:/home/user$ service STDManager start

    • Starting OpenSimulator manager: STDSIMManager
  2. Check the status:

    Copyuser@machine:/home/user$ service STDManager status

    • STDSIMManager is running.
  3. Get STDSIMManager pid, logged in pidfile:

    Copyuser@machine:/home/user$ cat /tmp/STDSIMManager.pid 2786

  4. Check if the STDSIMManager is running:

    Copyuser@machine:/home/user$ ps 2786 PID TTY STAT TIME COMMAND 2786 ? S 0:00 /home/user/amesim_local/lnx_x64/STDSIMManager -port 40001

  5. Stop the service:

    Copyuser@machine:/home/user$ service STDManager stop

    • Stopping OpenSimulator manager: STDSIMManager
  6. Check the service is down:

    Copyuser@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