AmesimKnowledge

Setting up a Distributed Simulation > Setting up configuration for remote parallel or sequential jobs

Setting up services on a Windows PC

In order to launch runs on a network of machines, you must set up the Simcenter Amesim simulation service on each remote machine.

setting up services on a Windows PC

You can configure a batch script (such as the one below) to run STDSIMManager.exe:

Copy

REM ============================== 
REM DEFINITION OF USUAL ENV. VARIABLES
REM SPECIFY YOUR AMESIM INSTALLATION DIRECTORY IN AME VARIABLE 
REM AND MAX NUMBER OF REMOTE PROCESSES TO BE LAUNCHED 
REM ON THIS HOST  FILLING IN AME_SIMULATIONPROCESSES VARIABLE

SET AME=C:\AMESIM
SET AME_SIMULATIONPROCESSES=4

REM ==============================
REM LICENSING VARIABLES
set LICENSING_TYPE=*****
set LICENSE_SERVER=*****

REM ==============================
REM STDSIMMANAGER LAUNCH
REM CONFIGURE PATH AND EXECUTE EXECUTABLES
REM -ALLOW-REMOTE OPTION ALLOW STDSIMMANGER TO RECEIVE
REM REQUEST FROM A REMOTE MACHINE
REM ==============================

SET PATH=%AME%;%AME%\WIN64;%PATH%
CALL "%AME%\win64\STDSIMManager.exe -allow-remote

Here you define the path to the Simcenter Amesim installation.

Procedure

  1. Modify the path to point to the directory where your Simcenter Amesim is installed.

  2. Enter the maximum number of processors that can be used with this service by changing the value of the variable AME_SIMULATIONPROCESSES. In the example below, the local Simcenter Amesim directory is C:\AMESim, and the machine is a quad core PC. By default, the port attached to STDSIMManager.exe is set to 40001. If you want to configure a different port for STDSIMManager.exe, you must set it explicitly using the option -port <port number> in the line which calls STDSIMManager.exe.For example, if you want to set the port to 39999, you edit the file as follows: You can either execute this script yourself from remote machines when you want to execute a simulation, or you can use a Windows Service.Note You may need administrator rights. For guidance on using a Windows Service, refer directly to the Microsoft documentation: The process mainly involves using commands to create, delete and describe the services:Copy`sc.exe create

sc.exe delete sc.exe descriptionNote Remember that if you want to perform remote simulation, the corresponding .ame file must be located in the same place from both the local and the remote machines' points of view. If you want to run a system named system.amelocated in directoryU:\AMETest` on a local machine on a remote host, then the system.ame file must be accessed from the remote host at U:\AMETest\ too. If this is not respected, the remote run cannot be performed, and an error message Impossible to change directory is displayed in the local Simcenter Amesim session.

      Note 
        In order to launch runs on a network of machines, all machines must belong to the
          same Windows domain.

Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Parallel_Processing/Setting_up_services_on_a_Windows_PC · retrieved 2026-07-17