f2cblaslapack with single precision?

Christoph Sprenger christophs at al.com.au
Tue Oct 28 22:52:29 CDT 2008

Hello everyone,

i'm new here and have a first question concerning the building of petsc.
i try to build the libraries with single precision, to reduce the memory 
profile, but having troubles to do so.
i get an undefined reference to saxpy_  and other blas bits and pieces, 
since the f2cblaslapack.tar.gz doesn't seem to contain any single 
precision files.
not sure if i am missing something fundamental though.

here is my config i used to build the lot:
--with-cc=mpicc --with-fc=0 --with-cxx=mpicxx --download-c-blas-lapack=1 
--with-mpi-dir=/home/users/christophs/mpich2 --with-clanguage=cxx 
--with-sudo=sudo --with-shared=1 --with-debugging=1 
--with-scalar-type=real --with-precision=single

it would be great to get a hint whats going on and what the best 
solution for this would be without going through the fortran side of things.
are there other c packages than f2cblaslapack that have the individual 
single precision files ?

apologies for the rather newbie style questions.

Kind Regards,

Animal Logic

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.

More information about the petsc-users mailing list