Before installing ARC cluster services on Linux, you can edit the arc_env_profile file in the $AWP_ROOT242/RSM/ARC/tools/linx64 directory. In this file, you can add any common environment variables to be used by the cluster. Once defined, ARC services should inherit these environments when any job is run on the ARC. It is useful to be able to set common environment variables in a single place instead of having to set them up on each job user's .cshrc or .profile file from the user’s $HOME directory.
The following shows the content of arc_env_profile file:
#!/bin/sh # The following examples show loading environment settings specific to ARC Advanced mode. # When defined, ARC services will inherit the environment created here # . /home/batch/environmentVariables/conf/settings.sh
Note:
This profile only works on Linux. Windows users should modify their environment via the environment interface in Windows.
This profile will work for all Ansys RSM Cluster (ARC) jobs, but the shell is dependent on what is chosen.
For a basic ARC configuration in which no special setup has been performed, this file must be written in
/bin/sh. This applies, for example, when a user submits a job to a single-node ARC, and RSM auto-starts ARC services on the node if they are not running.For an ARC configuration where ARC services have been configured as daemon services, arc_env_profile should be written in whatever shell is chosen in the
LinuxShellToUsesetting in the Ans.Rsm.AppSettings.config file.
Ensure that you set this profile carefully. Setting it incorrectly could prevent RSM and ARC from working properly.