[petsc-dev] [GPU] Cusp default configuration is broken
Leoni, Massimiliano
Massimiliano.Leoni at Rolls-Royce.com
Fri Jul 24 10:31:44 CDT 2015
Sure, here it is!
> -----Original Message-----
> From: Karl Rupp [mailto:rupp at iue.tuwien.ac.at]
> Sent: 24 July 2015 15:28
> To: Leoni, Massimiliano; petsc-dev at mcs.anl.gov
> Subject: Re: [petsc-dev] [GPU] Cusp default configuration is broken
>
> Hi Massimiliano,
>
> > 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.
>
> Correct. The sample file in config/examples/arch-cuda-double.py uses --
> with-cusp-dir for exactly that reason.
>
>
> > 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.
>
> Thanks for the feedback, I will look into this. We have other libraries
> in use which use a similar folder organization as CUSP, so I suspect
> something system-specific. Could you send us configure.log for the case
> where you configure using -with-cusp-dir=CUSP_DIR?
>
> Thanks and best regards,
> Karli
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 --------------
A non-text attachment was scrubbed...
Name: configure.log.bz2
Type: application/octet-stream
Size: 515129 bytes
Desc: configure.log.bz2
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150724/66b2f37c/attachment.obj>
More information about the petsc-dev
mailing list