Installation on Linux#
Note
IVABS_ROOT refers to the root directory of iVABS after installation.
Installer (ivabs-#.#-linux-installer.sh)#
Run
bash ivabs-#.#-linux-installer.shSelect the installation directory of your own choice. The default is
ivabsinside your home directory, i.e.IVABS_ROOT=$HOME/ivabs.If you have Dakota already installed on your computer, you can skip Dakota installation by answering
noto that question.Environment variables of
PATH,LD_LIBRARY_PATHandPYTHONPATHcan 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 (.bash_profilefor bash,.zshrcfor zsh,.cshrcor.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 (ivabs-#.#-linux-portable.tar.gz)#
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 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
~/.bashrcor~/.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
Configuration of executable#
If ivabs is not recognized as a command, you need to convert the file to an executable:
chmod +x $IVABS_ROOT/bin/ivabs