Skip to content

Instantly share code, notes, and snippets.

@lisanhu
Last active May 3, 2019 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lisanhu/7e9c7588d61053f079301620d073b7c2 to your computer and use it in GitHub Desktop.
Save lisanhu/7e9c7588d61053f079301620d073b7c2 to your computer and use it in GitHub Desktop.
Environment Variables for PGI compiler installation (silent install env and bashrc settings)
# Pre-install environment variables
export PGI_SILENT=true;
export PGI_ACCEPT_EULA=accept;
export PGI_INSTALL_DIR=~/opt/pgi;
export PGI_INSTALL_TYPE=single;
export PGI_INSTALL_NVIDIA=false; # For systems without NVIDIA or pre-installed CUDA
# Post-install environment settings
export PGI=~/opt/pgi; # Note: this is the custom installation folder instead of the default /opt/pgi
export PGI_ARCH=linux86-64;
export PGI_VER=2019; # 19.4 is out, need to replace original 18.10
export PATH=${PGI}/${PGI_ARCH}/${PGI_VER}/bin:$PATH;
export MANPATH=$MANPATH:${PGI}/${PGI_ARCH}/${PGI_VER}/man;
export LM_LICENSE_FILE=$LM_LICENSE_FILE:${PGI}/license.dat;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment