[petsc-dev] Building PETSc with PGI Compilers
Satish Balay
balay at mcs.anl.gov
Fri Dec 23 10:16:20 CST 2011
On Thu, 22 Dec 2011, Dave Nystrom wrote:
> Jed Brown writes:
> > On Thu, Dec 22, 2011 at 22:18, Dave Nystrom <dnystrom1 at comcast.net> wrote:
> >
> > > --with-gnu-compilers=0 --with-vendor-compilers=pgi
> >
> > --with-vendor-compilers=portland
> So, should I specify each of the compiler environment variables this way?
> That is,
>
> CC=/path/to/pgcc
> CXX=/path/to/pgCC
> FC=/path/to/pgfortran
>
> Should I also add --with-gnu-compilers=0 ?
Note: these are configure options - not env variables
i.e
./configure CC=pgcc FC=pgf90 CXX=pgCC
or
./configure --with-cc=pgcc --with-fc=pgCC
Satish
More information about the petsc-dev
mailing list