Compiling nwchem-6.6 with mkl and openmpi


Click here for full thread
Just Got Here
Hello,

I am trying to compile nwchem-6.6 with mkl libraries (blas, lapack, scalapack) and openmpi_1.10ifort.
The main problem is that openmpi is not found.

"checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from icc object... forrtl: severe (24): end-of-file during read, unit 5, file stdin .. " and
"checking for mpirun... /software/mpi/openmpi_1.10ifort/bin/mpirun
forrtl: severe (24): end-of-file during read, unit 5, file stdin, line 240"
and at end: many "undefined reference" and "function not been used"

Anyone knows what i can do, that the code compiles properly?

Installation and log file are in following folder:
https://www.dropbox.com/sh/8t2lxys2tani1m1/AAB2twSh0DQBfNLGUhC8KzsSa?dl=0

-> if anyone asked why I compile two times: this is because I looked in manual and it said
when "Clock Screw detected" make "muliply make command" is one solution

thanks in advance
Robin