Hi Clint,
The "Null Comm pointer" error that you're seeing is almost always due to
a header mismatch. I don't think Intel Cluster MKL 7.0 supports MPICH2
yet. According to the Intel Cluster MKL system requirements
(http://www.intel.com/software/products/clustermkl/sysreq.htm),
MPICH-1.2.5 is supported. MPICH-1.2.6 should work too. You might post a
question to the Intel MKL forum (http://softwareforums.intel.com/ids)
about MPICH2 support.
I did a quick test of your program on one of my clusters and it ran fine
(after fixing the typo in the nocol=3 statement):
[henry at castor1 cmkl-test]$ /opt/mpich-1.2.6-gcc/bin/mpif77 -o example
example.f \
-L/opt/intel/mkl70cluster/lib/64
-lmkl_scalapack \
-lmkl_blacsF77init_gnu -lmkl_blacs
-lmkl_blacsF77init_gnu \
-lmkl_lapack -lmkl -lguide -lpthread
[henry at castor1 cmkl-test]$ /opt/mpich-1.2.6-gcc/bin/mpirun -n 6
./example
[henry at castor1 cmkl-test]$
I used a GNU-built MPICH-1.2.6 because I didn't have an Intel-ready
MPICH installation handy.
Best regards,
Henry Gabb
Intel Parallel and Distributed Solutions Division