[petsc-dev] [GPU] Cusp default configuration is broken

Leoni, Massimiliano Massimiliano.Leoni at Rolls-Royce.com
Fri Jul 24 03:20:33 CDT 2015

Hi all,

I came across this [alleged] bug when installing petsc with GPU support: if I run configure with option -with-cusp-include=... it complains I should also set -with-cusp-lib, but cusp is a pure template library, so there is no static or shared library to link against.
As an alternative, it offers to specify -with-cusp-dir=CUSP_DIR , and then it tries to guess the include directory as $CUSP_DIR/include, which is wrong as in current CUSP version the directory containing the headers is $CUSP_DIR/cusp.

An easy workaround is to go to $CUSP_DIR and create a symbolic link $CUSP_DIR/include that points to $CUSP_DIR/cusp, but I think the configure script should be corrected [one might not always have permission to create this link.


The data contained in, or attached to, this e-mail, may contain confidential information. If you have received it in error you should notify the sender immediately by reply e-mail, delete the message from your system and contact +44 (0) 1332 622800(Security Operations Centre) if you need assistance. Please do not copy it for any purpose, or disclose its contents to any other person.

An e-mail response to this address may be subject to interception or monitoring for operational reasons or for lawful business practices.

(c) 2015 Rolls-Royce plc

Registered office: 62 Buckingham Gate, London SW1E 6AT Company number: 1003142. Registered in England.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150724/b8af432b/attachment.html>

More information about the petsc-dev mailing list