[petsc-dev] very annoying feature of make.log

Barry Smith bsmith at mcs.anl.gov
Wed Dec 15 15:40:01 CST 2010

Using C/C++ compiler: /workspace/praeth/petsc-3.1-p6/make_hawk/bin/mpicc -g   
C/C++ Compiler version: 
Using C/C++ linker: /workspace/praeth/petsc-3.1-p6/make_hawk/bin/mpicc
Using C/C++ flags: -g 
Using libraries: -Wl,-rpath,/workspace/praeth/petsc-3.1-p6/make_hawk/lib -L/workspace/praeth/petsc-3.1-p6/make_hawk/lib -lpetsc       -L/usr/X11R6/lib -lX11 -Wl,-rpath,/workspace/praeth/petsc-3.1-p6/make_hawk/lib -L/workspace/praeth/petsc-3.1-p6/make_hawk/lib -lf2clapack -lf2cblas -lnsl -laio -lrt -ldl 

  Since mpicc is just a wrapper this gives me NO useful information about the compiler. This has pissed me off for the last time.


    Can you modify the make all rule so that after displaying the compiler like above it calls the compiler if it is mpicc/mpicxx/mpifc with -show to see what it is really doing. 



More information about the petsc-dev mailing list