Compiling NWChem 6.6 on openSUSE42.1

Click here for full thread
Forum Vet
checking whether a simple C MPI program compiles... no
configure: error: in `/home/franksus/Desktop/nwchem/nwchem-6.6/src/tools/build':
configure: error: could not compile simple C MPI program
See `config.log' for more details
GNUmakefile:561: recipe for target 'build/config.status' failed
make[1]: *** [build/config.status] Error 1
make[1]: Leaving directory '/home/franksus/Desktop/nwchem/nwchem-6.6/src/tools'
GNUmakefile:103: recipe for target 'libraries' failed
make: *** [libraries] Error 1

This is a problem.
Do you have a working MPI installation?
Please send the output of the command

which mpif90
mpif90 -show