Local Directory
Locally Customized Files in a Release
You can make local changes to various configuration files that affects how the product runs. The product looks for these files in the /opt/altair/vov/1212.10/<platform>/local directory within the platform, within the release.
"Local" Directory Holds Customized Files
altair/
vov/
2023.1.1/...
2022.1.1/ ...
2022.1.0/ ...
linux/ ...
local/ <-- Products look here for locally changed files
win64/ ...
local/ <-- Products look here for locally changed files
Locally Customized Files Across All Platforms
This /local directory within a release/platform is defined by default to be a symbolic link to the /local directory that is shared across all platforms within the release. This is the default layout for an installation.
The shared platform-independent /local directory is the file /opt/altair/vov/<version>/<platform>/local.
"Local" Directory - Platform-Independent
2015.09/
common/
local <-- Platform-independent directory within release
linux64/
local/ --> ../common/local <-- symbolic link
^^^ - Products look here for locally changed files
win64/
local/ --> ../common/local <-- symbolic link
^^^ - Products look here for locally changed files
Using this standard layout allows for making local changes in one place within the release and have these changes apply to all platforms within the release.
Locally Customized Files Across All Releases
You can provide an even more universal location for locally customized files. You can create a /local directory outside the release and use a symbolic link from the release's /common/local directory to the external directory.
"Local" Directory - Release and Platform Independent
rtda/
local/ <-- Release-independent, platform-independent directory. Created manually.
environments/
capsules/
...
2014.09/ ...
2015.03/ ...
2015.09/
common/
local/ --> ../../local <-- symbolic link
linux64/ ...
local/ --> ../common/local <-- symbolic link
win64/
local/ --> ../common/local <-- symbolic link
Carry Local Directory Forward During Install
The install process requires you to select how you want the program to provision the local directory during the installation.
You can have the install create a brand new set of files to start changing locally, or you can have the install do a copy of the files from the previous release's /local directory, or you can have the install make a symbolic link to the previous release's /local directory, or you can have the install make a symbolic link to the special /local directory that exist outside of a particular release, that holds the files.
During the first install you should select Build from release files (fresh start).
This tells the install to create a default layout having a platform-independent common/local directory holding initial files that can be changed locally. Each platform-specific /local directory will be a symbolic link to the platform-independent directory.
Build From Release: "Local" Directory - Platform Independent
2015.09/
common/
local <-- Platform-independent directory within release
linux64/
local --> ../common/local
^^^ - Products look here for locally changed files
win64/
local --> ../common/local
^^^ - Products look here for locally changed files
When installing a later release, you can tell the installer how to carry forward locally changed files into the new release so that the /local directories of the new release contain what was used in an earlier release.
- The Recommended choice to Link to version independent
local directory can only be done if you have set up a
special release-independent /local directory as is
described above. If you have created this setup, then the installation can
create the release's /local directories as symbolic
links to the release-independent /local directory.
The other two choices direct the installer to create the new /local directories in other ways.
- Choosing the option to Preserve info by copying previous (if available) creates the release's common/local directory structure by copying it from the common/local directory in the previous release.
- Choosing the option to Link to previous location creates the release's /local directory structure by creating a symbolic link to the common/local directory in the previous release.
After the installation completes, following your directive on how to set up the common/local directory, you can do whatever you'd like to do with the /local directories. You can change the symbolic links to point to another directory. You can replace a directory's symbolic link with an actual directory having files that will be used in that particular context.
In order for the installation to perform the recommended option to Link to version independent local, the special release-independent /local directory must be set up exactly as described above. It must be in the top level install directory (/opt/rtda/local) and it must be named local.
"Local" Directory - Use Different Name, Keep Path to "local"
rtda/
config/
local/ --> config <-- Link to another name/location.
2015.09/
common/
local/ --> ../../local <-- symbolic link
linux64/ ...
local/ --> ../common/local <-- symbolic link
win64/
local/ --> ../common/local <-- symbolic link