I am trying to compile OpenMPI with PGI. We only have license for pgfortran so this is how I configured it.
./configure FC=pgfortran FCFLAGS=-fast
It configures, but then I do make and I get this error.
make[2]: Entering directory `/install/src/openmpi-2.0.0/ompi/mpi/fortran/use-mpi-ignore-tkr'
GENERATE mpi-ignore-tkr-sizeof.h
GENERATE mpi-ignore-tkr-sizeof.f90
PPFC mpi-ignore-tkr.lo
FC mpi-ignore-tkr-sizeof.lo
FCLD libmpi_usempi_ignore_tkr.la
pgfortran-Error-Unknown switch: -pthread
make[2]: *** [libmpi_usempi_ignore_tkr.la] Error 1
Any pointers to how to solve this problem?