Tell me more ×
Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

I'm installing PETSc for complex numbers with C99 standard. I'd like to have it installed using a higher precision than default (double, I presume) since that will most likely make the LU preconditioner run better. I've tried several different commands that I could google, but it doesn't work. I've searched the manual but haven't found anything on the subject.

I tried invoking ./configure with the

precision=longdobule

and

precision=__float128

with

download-f-blas-lapack

and

download-f2cblaslapack

in all four different combinations. The one time I used "download-f2cblaslapack" and "precision=__float128" it did configure successfully but at the next stage when I compiled the libraries I got the following error for every library being compiled:

error: unknown type name ‘PetscScalar’

What do I have to write to have it configured at a higher precision?

share|improve this question
1  
this sounds like a bug in PETSc itself. Can you send the complete configure and make/test logs to petsc-maint@mcs.anl.gov for the case where you specified: --with-precision=__float128 --download-f2cblaslapack (as suggested by the PETSc documentation here). – Aron Ahmadia Aug 2 '12 at 12:57

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.