Change the temporary working file path - 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
The temporary directory should have the following characteristics:
- It can be written to by the Simulation Compute Manager user.
- It is on a volume with sufficient capacity to hold the jobs that you plan to run.
- It is on a volume that is present when the Simulation Compute Manager starts (or will automount when needed).
- It is not accessible to other Simulation Compute Managers running on other hosts.
- It persists after a reboot of the machine.
(In the following instructions, inside adskscmX and scmX, X should be replaced with SCM major release)
Create the new location with the properties outlined above.
Stop the Simulation Compute Manager with
sudo systemctl stop adskscmXOpen the file
/usr/lib/systemd/system/adskscmX.servicein a text editor. This will require root or sudo access.Insert the following after the line
PIDFile="/var/lock/scmX.pid.lock"(approximately at line 9)#Change the SCM default storage path Environment="SCM_WORKING =/tmp/scmWorking"Reload the Simulation Compute Manager with the command
sudo systemctl daemon-reloadRestart the Simulation Compute Manager with the command
sudo systemctl start adskscmX
