[petsc-users] flag -citations to PETSc

Barry Smith bsmith at mcs.anl.gov
Thu Feb 6 06:46:11 CST 2014


   Sorry, we changed these to match the “PETSc type” so it is now PETSC_DEFAULT_REAL; the reasoning is that this works when you build PetscReal as single precision, double, or quad while the name PETSC_DEFAULT_DOUBLE_PRECISION is tied to double only which was never the intention.

   Barry

On Feb 6, 2014, at 6:31 AM, Åsmund Ervik <asmund.ervik at ntnu.no> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Thanks guys. I tried master and it works as expected.
> 
> However, I had to make a small change to my code when using
> petsc-master. Previously I had
> 
> call KSPSetTolerances(ksp,resid,PETSC_DEFAULT_DOUBLE_PRECISION,
> PETSC_DEFAULT_DOUBLE_PRECISION,maxiter,ierr)
> 
> but with petsc-master I got
>   Error: Symbol 'petsc_default_double_precision' at (1) has no
> IMPLICIT type
> when compiling. For now I just hard-coded in the old defaults 10^-50
> and 10^5.
> Is this due to an upcoming change in 3.5?
> 
> Regards,
> Åsmund
> 
> 
> On 05. feb. 2014 15:35, Karl Rupp wrote:
>> Hi Åsmund,
>> 
>> this is not yet in the release, you need to use PETSc master or
>> PETSc next for the citation flag to work.
>> 
>> Best regards, Karli
>> 
>> 
>> On 02/05/2014 03:33 PM, Åsmund Ervik wrote: Good people of PETSc,
>> 
>> I see on the internet 
>> (http://www.mcs.anl.gov/petsc/documentation/referencing.html) that
>> one may use the flag "-citations file.bib" to a program using PETSc
>> to get some useful references e.g. for citing in an article.
>> However, this does nothing when I try it, and I can't find any
>> mention of this in the manual. Has this flag been removed?
>> 
>> Best regards, Åsmund
>>> 
>> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iQEcBAEBAgAGBQJS84CQAAoJED+FDAHgGz19kewH/RRhf01bWcslZuershtGOqCb
> 6xyJn5d4JJpTcIQGYBUeJMjwZ5dKEH+5OHYK3QYeTQZQoNdvdVySNnLI9rGDz144
> 9mBTS1bTcs9RjX8dRdSH6I/TBGq7OwDgRyWlTrmzHsRewGUhXt+wZ8PXhgyvswA+
> QOIjRQEMHCZ8Ur52d5Obl692gPR8hP4yyR9tgoDy3dbka5j7P/OtYudstPcthVPc
> tPR2niY/roc+YhzNLwrPCbT6+gkAZrGZDlczvtk5+bMHquX0blbeToxJM0eFHK95
> mP9E11NNcCDUZVOT8V3VPeDvpAcbpPLN9bVWwYfJcjpQyDG1xWZZ7wPhvO5nZ3U=
> =jc0e
> -----END PGP SIGNATURE-----



More information about the petsc-users mailing list