1.3. File Handling

Generally, when you submit a job to RSM from a client application, job input files are transferred from the client working directory to an HPC staging directory. When the job has finished, any output files requested by the client are transferred back to the client application.

Below is more detailed information about how files are handled in RSM.

Client Working Directory

When you are setting up a solve job in a client application (for example, Ansys Workbench), job input files are placed in a working directory on the client machine. The location of this directory is controlled by the client application. Refer to the client application documentation to determine where input files are placed when submitting jobs to RSM.

HPC Staging Directory

The HPC staging directory is a shared directory that all HPC nodes can access.

If the client working directory is always set under the HPC staging directory in the client application, then no file transfer is needed, because the client files will already be in the HPC staging directory. If files need to be transferred, you can specify the desired transfer method in the RSM configuration.

HPC Job Directory

HPC jobs can be run in the HPC staging directory, or in a scratch directory local to the execution node. You specify this in the File Management properties when defining a configuration in RSM.

File Transfer Methods

RSM provides the following options for transferring files from the client to the HPC resource:

  • RSM internal socket file transfer

  • Operating System file transfer (network share)

  • External mechanism (such as SSH)

  • No file transfer (client directory is under the HPC staging directory)

You can also customize the file transfer process using your own mechanism.

In the case of a Cloud portal, client files will be transferred to HPC resources as needed using the portal mechanism. File management operations related to job execution are configured on the HPC side.

The file transfer method and HPC staging directory are specified in the File Management properties of an RSM configuration. For more information, see Specifying RSM Configuration Settings.