<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi Satish,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>i would use C. </FONT></DIV>
<DIV><FONT size=2>I mean ... for the single precision i would like to use the
acml library with the intel C compiler as in petsc 2.3.1.</FONT></DIV>
<DIV><FONT size=2>Is this impossibile for the current version or in the next
future?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> Roberto</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=balay@mcs.anl.gov href="mailto:balay@mcs.anl.gov">Satish Balay</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=petsc-users@mcs.anl.gov
href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, June 29, 2007 3:28 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: problems with ACML and
single precision</DIV>
<DIV><BR></DIV>yeah - singleprecision requires cblaslapack, and cblaslapack
can't be<BR>used in conjunction with fortran.<BR><BR>Are you planning to use
single precision PETSc from fortran? If so,<BR>currently its not possible.
[we'll have to figureout how to get this<BR>working].<BR><BR>However if you
wish do this from c, then just use the additional<BR>configure option
--with-fc=0<BR><BR>Satish<BR><BR>On Fri, 29 Jun 2007, Roberto Gori
wrote:<BR><BR>> Thank you Matthew,<BR>> <BR>> I tried,<BR>>
<BR>> now my configure looks like this:<BR>> <BR>>
>config/configure.py --with-mpirun=mpirun.lsf --with-shared=0
--with-precision=single --download-c-blas-lapack=yes<BR>> <BR>> and I
get the following error:<BR>> <BR>>
=================================================================================<BR>>
Configuring PETSc to compile on your
system
<BR>>
=================================================================================<BR>>
TESTING: configureLibrary from
config.packages.BlasLapack(python/BuildSystem/config/packages/BlasLapack.py:384)
*********************************************************************************<BR>>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
for details):<BR>>
---------------------------------------------------------------------------------------<BR>>
Should request f-blas-lapack, not --download-c-blas-lapack=yes since you have
a fortran compiler?<BR>>
*********************************************************************************<BR>>
<BR>> so i changed my configure:<BR>> <BR>> >config/configure.py
--with-mpirun=mpirun.lsf --with-shared=0 --with-precision=single
--download-f-blas-lapack=yes <BR>> <BR>>
=================================================================================<BR>>
Configuring PETSc to compile on your
system
<BR>>
=================================================================================<BR>>
=================================================================================
<BR>> Compiling FBLASLAPACK; this may take several
minutes
=================================================================================
<BR>> TESTING: checkMissing from
config.packages.BlasLapack(python/BuildSystem/config/packages/BlasLapack.py:446)
*********************************************************************************<BR>>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log
for details):<BR>>
---------------------------------------------------------------------------------------<BR>>
Need to use --download-c-blas-lapack when using
--with-precision=longdouble/single<BR>>
*********************************************************************************<BR>>
<BR>> <BR>> I'm in loop.<BR>> <BR>> Moreover to achieve better
performance i would prefer to use acml instead of the BlasLapack
sources.<BR>> Everything works when i build petsc 2.3.1 with the Intel's
compiler. I'm not able to do that with petsc 2.3.2.<BR>>
<BR>> Roberto<BR>> ----- Original
Message ----- <BR>> From: Matthew Knepley <BR>>
To: <A href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</A>
<BR>> Sent: Thursday, June 28, 2007 8:50 PM<BR>>
Subject: Re: problems with ACML and single precision<BR>> <BR>>
<BR>> Yes, you need to let us compile for single precision. Use
the option in the<BR>> error message.<BR>>
<BR>> Thanks,<BR>>
<BR>> Matt<BR>> <BR>>
On 6/28/07, Roberto Gori <<A
href="mailto:r.gori@cineca.it">r.gori@cineca.it</A>>
wrote:<BR>> ><BR>> ><BR>>
> Hi,<BR>> ><BR>> > i'm trying to
install PETSc 2.3.3-p3 on a Linux amd64 cluster.<BR>>
><BR>> > There's no problems wìth double precison but
when I add the single precision<BR>> > option to my
configure command I get the following error:<BR>>
><BR>> >
=================================================================================<BR>>
>
Configuring PETSc to compile on your system<BR>>
><BR>> >
=================================================================================<BR>>
> TESTING: checkMissing from<BR>> >
config.packages.BlasLapack(python/BuildSystem/config/packages/BlasLapack.py:446)<BR>>
><BR>> ><BR>> >
*********************************************************************************<BR>>
> UNABLE to CONFIGURE
with GIVEN OPTIONS (see configure.log
for<BR>> > details):<BR>> >
---------------------------------------------------------------------------------------<BR>>
> Need to use --download-c-blas-lapack when using<BR>> >
--with-precision=longdouble/single<BR>> >
*********************************************************************************<BR>>
><BR>> ><BR>> > This is my
configure:<BR>> > config/configure.py
--with-mpirun=mpirun.lsf --with-shared=0<BR>> >
--with-blas-lib=/cineca/prod/acml/3.6.0/ifort64/lib/libacml.a<BR>>
>
--with-lapack-lib=/cineca/prod/acml/3.6.0/ifort64/lib/libacml.a<BR>>
> --with-precision=single<BR>> ><BR>>
><BR>> > Maybe ACML is not supported for single
precision?<BR>> ><BR>> >
Thanks<BR>> ><BR>>
> Roberto<BR>> <BR>> <BR>> --
<BR>> What most experimenters take for granted before they
begin their<BR>> experiments is infinitely more interesting
than any results to which<BR>> their experiments
lead.<BR>> -- Norbert Wiener<BR>> <BR>>
<BR>></BLOCKQUOTE></BODY></HTML>