PGI can be run on most of our servers. The following commands will help you set up your Linux environment to run PGI and the precompiled version of openMPI that comes with it. All the commands are to be executed from the remote server you are logged in.
$ ## ====== PGI Setup ======
$ pgihome="/m/linux/pgi"
$ target="linux86-64-llvm" # change to "linux86-64-nollvm" if you don't want to use the LLVM code generator
$ version="19.4"
$ pgidir=$pgihome/$target/$version
$ export PGI=$pgihome
$ export CC=$pgidir/bin/pgcc
$ export FC=$pgidir/bin/pgfortran
$ export F90=$pgidir/bin/pgf90
$ export F77=$pgidir/bin/pgf77
$ export CPP=/bin/cpp
$ export CXX=$pgidir/bin/pgc++
$ export PATH=$PATH:$pgidir/bin
$
$ # --- openMPI compiled with PGI setup ---
$ pgiver="2019"
$ libname="openmpi"
$ libver="3.1.3"
$ libdir=$pgihome/$target/$pgiver/mpi/$libname-$libver
$ export PATH=$PATH:$libdir/bin
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$libdir/lib
If you want those changes to be permanent in your environment, then just put those commands (without the prompt!) in your .bashrc file.
ECE/CIS • University of Delaware — All Rights Reserved • Newark, DE 19716 • USA • 2015 • Website by AndrĂ© Rauh • Maintained by Labstaff
Comments • Contact Us • Accessibility Notice • Legal Notices