[petsc-dev] More CMake hatred

Jed Brown jed at jedbrown.org
Fri Apr 6 21:20:03 CDT 2018


Jeff Hammond <jeff.science at gmail.com> writes:

>> /util/common/openmpi/3.0.0/gcc-4.8.5/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lpp/mmfs/bin:/opt/dell/srvadmin/bin:/user/knepley/bin
>> >
>> > I cannot see why it would say this.
>>
>> It's complaining that the CC is two words instead of a single path.  You
>> can make a link
>>
>>   ln -s `which ccache` ~/bin/mpicc
>>
>> and then CC=$HOME/bin/mpicc will work.  Yes, it's irritating.
>
>
> While we are proposing features that place no value on users’ time, why not
> just ask them to implement their own MPI wrapper scripts with ccache on the
> inside?

Make no mistake: I am not making excuses for CMake, merely providing
Matt with a workable solution.


More information about the petsc-dev mailing list