Mesquite MPI build errors
Created by: mhoemmen
@leonavery reports the following:
I'm trying to build Trilinos on an old centos 6 system, on which I have installed, I believe, all prerequisites. I've run into some unexpected behaviors that I don't understand. I configured and generated Makefiles with cmake-gui, then used "make -k VERBOSE=1 all" for the build, so I could see which exact commands failed.
The first occurred while building Mesquite. I got a mort of errors about undefined references to MPi functions. g++ was used in the build, and when I manually issued the command, replacing g++ with mpic++, it worked. I have MPI_USE_COMPILER_WRAPPERS=ON, and I even manually set the paths to the wrappers in MPI_{C,CXX,Fortran}_COMPILER. So why aren't the wrappers being used? (This one I was able to get around by setting Trilinos_EXTRA_LINK_FLAGS:STRING="-lmpi".)
This is with gcc-6.1.0.