[petsc-dev] tao and complex numbers

Lisandro Dalcin dalcinl at gmail.com
Sun Feb 8 11:11:25 CST 2015

On 8 February 2015 at 19:39, Barry Smith <bsmith at mcs.anl.gov> wrote:
>   Since all the TAO implementations seem to have
> #requiresscalar    real
> in the makefile why don't we just move that up to the tao directory level and put an error generator in tao.h if included with complex so users see immediately and clearly they cannot us tao with complex instead of having to send us email?

I'm afraid this will break petsc4py in a hard-to-fix way. Why not to
just generate an error at TaoCreate()?

Lisandro Dalcin
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Numerical Porous Media Center (NumPor)
King Abdullah University of Science and Technology (KAUST)

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 4332
Thuwal 23955-6900, Kingdom of Saudi Arabia

Office Phone: +966 12 808-0459

More information about the petsc-dev mailing list