Simulation Compute Manager local temporary Linux working file location

Jobs use a local temporary working folder on the system. The folder is removed at the end of the job execution. Files in the database that are kept for 30 days.

The working file location used can be found at:

To change this location, alter the environment variable SCM_WORKING prior to starting the Simulation Compute Manager. This will cause the Simulation Compute Manager's working database and temporary files to be relocated to the new location.

(In the following instructions, inside adskscmX and simulation-computeX, X should be replaced with SCM major release)

To change the temporary working file path for Workstation

The following process updates the location of a temporary working path for Simulation Compute Manager. You will require root or sudo access to stop the services and to perform edits to the configuration files. For this example, the new location will be referred to as /tmp/scmWorking

  1. Create the new location with the properties outlined above.

  2. Stop the Simulation Compute Manager with sudo systemctl stop adskscmX

  3. Open the file /usr/lib/systemd/system/adskscmX.service in a text editor. This will require root or sudo access.

  4. Insert the following after the line PIDFile="/var/lock/scm.pid.lock" (approximately at line 9)

    #Change the SCM default storage path
    Environment="SCM_WORKING =/tmp/scmWorking"
  5. Reload the Simulation Compute Manager with the command sudo systemctl daemon-reload

  6. Restart the Simulation Compute Manager with the command sudo systemctl start adskscmX

To change the temporary working file path for Thin client

The following process updates the location of a temporary working path for Simulation Compute Manager. For this example, the new location will be referred to as /tmp/scmWorking

Create the new location with the properties outlined above.

  1. Stop any existing Simulation Compute Manager instances with curl localhost:43500/terminate or curl <hostname>:43500/terminate.

  2. Allow sufficient time for the processes to exit cleanly.

  3. Make sure the SimulationCompute processes are terminated by calling /sbin/pidof SimulationCompute. If a process IDs are returned, kill the all processes using kill -9 '<process ID>'.

  4. Make sure the fs-harness process is terminated by calling /sbin/pidof fs-harness. If a process ID is returned, kill the process using kill -9 '<process ID>'

  5. Set the environment variable:

    export -x SCM_WORKING=/tmp/scmWorking
  6. Start the Simulation Compute Manager using:

    $INSTALL_ROOT/opt/Autodesk/simulation-computeX/bin/SimulationCompute

To change the Simulation Compute Manager Storage path for Workstation

The following process updates the location of a storage path for Simulation Compute Manager. You will require root or sudo access to stop the services and to perform edits to the configuration files. For this example, the new location will be referred to as /tmp/newlocation

Note: Any running jobs will be terminated

  1. Create the new location with the properties outlined above.

  2. Stop the Simulation Compute Manager with sudo systemctl stop adskscmX

  3. Open the file /usr/lib/systemd/system/adskscmX.service in a text editor. This will require root or sudo access.

  4. Insert the following after the line PIDFile="/var/lock/scm.pid.lock" (approximately at line 9)

    #Change the SCM default storage path
    Environment="SCM_DATAPATH=/tmp/newlocation"
  5. Reload the Simulation Compute Manager with the command sudo systemctl daemon-reload

  6. Restart the Simulation Compute Manager with the command sudo systemctl start adskscmX

To change the Simulation Compute Manager Storage path for Thin client

The environment variable that changes the location of a storage path for Simulation Compute Manager is SCM_DATAPATH. The environment variable must be set prior to starting the Simulation Compute Manager. For this example, the new location will be referred to as /tmp/newlocation

  1. Create the new location with the properties outlined above.

  2. Stop any existing Simulation Compute Manager instances with curl localhost:43500/terminate or curl <hostname>:43500/terminate.

  3. Allow sufficient time for the processes to exit cleanly.

  4. Make sure the SimulationCompute processes are terminated by calling /sbin/pidof SimulationCompute. If a process IDs are returned, kill the all processes using kill -9 '<process ID>'.

  5. Make sure the fs-harness process is terminated by calling /sbin/pidof fs-harness. If a process ID is returned, kill the process using kill -9 '<process ID>'

  6. Set the environment variable:

    export -x SCM_DATAPATH=/tmp/newlocation
  7. Start the Simulation Compute Manager using:

    $INSTALL_ROOT/opt/Autodesk/simulation-computeX/bin/SimulationCompute