[petsc-dev] CFLAGS and COPTFLAGS

Jed Brown jed at jedbrown.org
Wed Jan 22 10:48:12 CST 2014


Sean Farley <sean.michael.farley at gmail.com> writes:
>>   $prefix/bin/petsc-${version}-${arch}-config
>>
>> and symlink $prefix/bin/petsc-config to it by default?
>>
>> Then always namespace libraries and includes?
>
> This is what I had in mind as well. Though, distributions would remove
> the symlink since that would conflict.

Debian would probably manage it through /etc/alternatives.

>> I'm not sure what to do on this last point.  I would like to be able to
>> install multiple versions to the same prefix (especially debug+opt), but
>> it also seems weird to not support -lpetsc (instead -lpetsc-3.5-mpich-opt).
>>
>> What do you think?
>
> I'm sure you're talking to Barry here but I'll chime in anyway :-) I
> have rarely been in a situation where I am compiling PETSc without a
> crapton of other libraries, so saving the extra typing of -lpetsc
> vs. -lpetsc-3.5-mpich-opt is almost meaningless.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140122/73904d6b/attachment.sig>


More information about the petsc-dev mailing list