[petsc-users] Petsc configuration and multiple branch working

Jed Brown jed at jedbrown.org
Sat Sep 6 18:11:12 CDT 2014


Satish Balay <balay at mcs.anl.gov> writes:
> fedora linux defaults to using ccache - I guess I've been using it all along..
> Do you do any additional tuning of ccache?
>
> $ type gcc g++
> gcc is /usr/lib64/ccache/gcc
> g++ is /usr/lib64/ccache/g++

Doesn't need anything else.  I don't use Fedora and don't actually want
everything cached because I compile some large projects that I'll never
recompile, so I inject my wrappers at the MPI level.

$ cat ~/usr/ccache/mpich/bin/mpicc 
#!/bin/dash

ccache /opt/mpich/bin/mpicc "$@"


But what Fedora is doing is quite sensible.

Note that ccache is GPLv3+ so Apple is probably searching for a way to
make it not work on a Mac...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140906/ab5d7eff/attachment.pgp>


More information about the petsc-users mailing list