f2cblaslapack with single precision?

Christoph Sprenger christophs at al.com.au
Wed Oct 29 01:43:29 CDT 2008


thanks a lot for pointing me in the right direction. its all working now ;)

Christoph

Satish Balay wrote:
> The old f2cblas is limited to double precision. We have updated
> petsc-dev to use a fuller version of f2cblas..
>
> You can try using this new f2cblas with petsc-2.3.3. [with the following steps:]
>
> cd $PETSC_DIR
> mkdir externalpackages
> cd externalpackages
> wget ftp://ftp.mcs.anl.gov/pub/petsc/externalpackages/f2cblaslapack-3.1.1.tar.gz
> tar -xzf f2cblaslapack-3.1.1.tar.gz
> mv f2cblaslapack-3.1.1 f2cblaslapack
> config/configure.py --download-c-blas-lapack=1 ...
>
> Note: Depending upon the compilers you have - generally fblaslapack
> should work fine [so might not be worth the hassle of trying to avoid
> using it]
>
> Satish
>
> On Wed, 29 Oct 2008, Christoph Sprenger wrote:
>
>   
>> 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,
>> Christoph
>>
>> Animal Logic
>> http://www.animallogic.com
>>
>> 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.
>>
>>
>>
>>
>>     
>
>   


Animal Logic
http://www.animallogic.com

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