Installation on Linux
Installation on Linux#
IVABS_ROOT refers to the root directory of iVABS after installation.
Select the installation directory of your own choice. The default is
ivabsinside your home directory, i.e.
If you have Dakota already installed on your computer, you can skip Dakota installation by answering
noto that question.
Environment variables of
PYTHONPATHcan be updated automatically and wrote to the shell startup file. The installer will detect the shell you are currently using and use a default startup file (
.tcshrcfor csh). However, if your shell/terminal uses a different startup file such as
.bashrc, you need to set these environmental variables by yourself as described in the next section.
You need to make these changed environment variables effective by using a correspondng command (such as
source $HOME/.bash_profilefor bash) or restart the terminal shell.
Portable archive (
Unpackage the archive to a sub-directory called ivabs within the current directory using the following command.
tar xzvf ivabs_#.#_linux_portable.tar.gz
You can also unpackage the archive to a directory of your own choice. For example, you can use the following command to install iVABS in $HOME/ivabs.
tar xzvfC ivabs_#.#_linux_portable.tar.gz $HOME
Set environment variables manually. For example, for bash shell, you can use the following commands to set the environment variables for the current shell session.
export PATH=$PATH:$IVABS_ROOT/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$IVABS_ROOT/bin export PYTHONPATH=$PYTHONPATH:$IVABS_ROOT/scripts # If the Dakota included in the iVABS release is installed export PATH=$PATH:$IVABS_ROOT/dakota/bin
If you want to make this setting permanent, you need to add the above commands to the startup file of the shell. Typical startup files for bash shells are
~/.bash_profile. After editing and saving the startup file, use the following command in the shell to activate these changes:
source ~/.bash_profile # or other startup file