Path Translation Rules
A path translation rule (PTR) specifies the path where the computer with the "Job Manager" will find the project's files and folder.
- The drive with the project must be mounted and accessible on the simulation node computers
- The PTRs are defined under File | RealFlow > Preferences > Job Manager > Path Translation Rules...
- The prefix (can be a drive only or a complete path to a certain directory) will be replaced by the drives/paths defined under "Linux", "Windows", or "Mac".
Table
The table contains the PTR – you only have to fill in the columns you really need: if the network contains, for example, only Windows machines “Linux” and “Mac” remain empty.
Add Row
You can add as many PTRs as required. RealFlow always tries to find a matching rule from the existing PTRs and ignores invalid rules.
Example A
This is the configuration:
The project is located on a Windows computer on the
D:/
drive, namedData
On Linux the
Data
drive is mounted as/mnt/Data/
- On macOS the
Data
drive is mounted as/Volumes/Data
Here are all possible PTRs for different operating systems, and you only have to use the ones valid for your operating system(s):
Prefix | D:/ |
---|---|
Linux | /mnt/Data/ |
Windows | D:/ |
macOS | / |
Example B
To access a project on an macOS computer we recommend mounting the Mac volumes as network drives. In Windows you can assign a letter to a network drive and this makes PTRs really easy.
The project is located on a macOS computer under
/Volumes/Data/
On Windows, the
Data
drive is mounted asX:/
- On Linux the
Data
drive is mounted as/mnt/Data/
Here are all possible PTRs for different operating systems, and you only have to use the ones valid for your operating system(s):
Prefix | /Volumes/Data/ |
---|---|
Linux | /mnt/Data/ |
Windows | X:/ |
macOS | /Volumes/Data/ |
Example C
Finally, the Linux route:
The project is located on a Linux computer under
/mnt/Data/
On Windows, the
Data
drive is mounted asX:/
- On macOS the
Data
drive is mounted as/Volumes/Data/
Here are all possible PTRs for different operating systems, and you only have to use the ones valid for your operating system(s):
Prefix | /mnt/Data/ |
---|---|
Linux | /mnt/Data/ |
Windows | X:/ |
OS X | /Volumes/Data/ |