[petsc-users] CUDA with complex number
Barry Smith
bsmith at mcs.anl.gov
Mon Jan 23 15:23:19 CST 2012
This is an installation issue, please send all installation issues to petsc-maint at mcs.anl.gov with the entire configure.log
You can try editing config/PETSc/packages/cuda.py and removing the two lines
if self.scalartypes.scalartype == 'complex':
raise RuntimeError('Must use real numbers with CUDA')
As it says we have never tested for complex so I do not know how far it is from working.
Barry
On Jan 23, 2012, at 1:24 PM, recrusader wrote:
> Dear PETSc Developers,
>
> I am compiling PETSc-dev using GPU in complex number mode.
> However, when I configure PETSc-dev, I get the following errors
> "
> *******************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
> for details):
> -------------------------------------------------------------------------------
> Cannot use cuda with complex numbers it is not coded for this capability
> *******************************************************************************
> "
> I have checked CUSP. The latest version can support complex number.
> What should I do for CUDA?
> Thank you very much.
>
> Best,
> Yujie
More information about the petsc-users
mailing list