[petsc-dev] Configure problem on Titan
Barry Smith
bsmith at mcs.anl.gov
Wed Mar 11 22:07:25 CDT 2015
> On Mar 11, 2015, at 9:26 PM, Jed Brown <jed at jedbrown.org> wrote:
>
> Barry Smith <bsmith at mcs.anl.gov> writes:
>> so that if the basic link fails it automatically tries again here after adding the -lstdc++ library.
>
> What if you're building with Clang and need -lc++ instead?
If one fails then configure moves on an tries with the other. Is this a problem? We do it all over the place on configure.
If we are going to assume the user knows what libraries to link against let's just forget configure and ask the user to magically list the link line themselves.
Barry
More information about the petsc-dev
mailing list