[petsc-dev] --download-mpich --download-openmpi and mpicc

Barry Smith bsmith at mcs.anl.gov
Fri Feb 24 19:14:00 CST 2012


  Sean hit the rather obvious nail on the head. Do to the poor design of the mpicc it usually doesn't make sense to have mpicc compile another MPI

   Satish or Matt could you fix this and put in Sean's error message :-)


On Feb 21, 2012, at 11:31 AM, Sean Farley wrote:

> I don't think this was the problem. We call updateCompilers() after the install, so it should override anything the user puts in.
> 
> If I understand Barry correctly, it's that people who specify this:
> 
> $ ./configure CC=mpicc --CXX=mpicxx --download-mpich
> 
> clearly do not understand the --download-mpich option and should be told:
> 
> ERROR: User needs to learn MPI; either use the cluster's custom built mpi XOR use --download-mpich
> 
> because if configure && make succeed, then they will irrevocably use the mpiexec or mpicc in their $PATH and then use such great lines as "I have no idea what MPI is!" or "I just want to compile and run on my cluster! Why won't you let me do that?!"




More information about the petsc-dev mailing list