On Fri, 26 Feb 2010, Cody Permann wrote:

> Either I don't understand the proper way to enable single precision
> builds or there may be a bug in building libmesh for this
> configuration.  I  replaced the line #define DOUBLE_PRECISION with
> #define SINGLE_PRECISION in the libmesh_common.h file before running
> configure.  Under both the Intel and Gnu compilers certain files
> fail to compile with various "ambigous function overload" errors.
> None of these errors should be too difficult to fix, but I just
> wanted to make sure there was not another step I need to check
> first.

Just one other step I can think of - if you're linking against PETSc,
you'll need to compile that with options to make sure that PetscScalar
is float rather than double.

On the other hand, none of the main libMesh developers use anything
but double frequently, so we may have a regression there.  I'll see if
I can replicate the problem.
---
Roy

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to