[petsc-users] SUPERLU_DIST in single precision

Barry Smith bsmith at petsc.dev
Fri Jul 31 14:11:09 CDT 2020


   Felix,

   Sorry for the delay. Another issue came up with building SuperLU_DIST for this formulation that Sherry has to look at.

   We haven't forgotten you,

   Barry

duplicate symbol '_FormFullA' in:
    CMakeFiles/superlu_dist.dir/sreadhb.c.o
    CMakeFiles/superlu_dist.dir/dreadhb.c.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [SRC/CMakeFiles/superlu_dist.dir/build.make:2072: SRC/libsuperlu_dist.6.2.0.dylib] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:930: SRC/CMakeFiles/superlu_dist.dir/all] Error 2
gmake: *** [Makefile:164: all] Error 2



> On Jul 27, 2020, at 2:10 PM, flw at rzg.mpg.de wrote:
> 
> Hi Shery,
> Yes, ideally we would like to compile PETSc in single precision and simply run a single precision version of SUPERLU_DIST just like e.g. MUMPS.
> 
> Best regards and thanks,
> Felix
> Zitat von "Xiaoye S. Li" <xsli at lbl.gov>:
> 
>> Barry,
>> 
>> I have a branch 'Mixed-precision' working with single precision FP32. I
>> assume Felix wants to use superlu_dist from petsc.  How do you want to
>> incorporate it in petsc?
>> 
>> https://github.com/xiaoyeli/superlu_dist
>> 
>> PS1:  in this version, FP32 only works on CPU.  FP64 and complex-FP64 all
>> work on GPU.
>> 
>> PS2: currently there is no mixed-precision yet, but it is the branch we are
>> adding mix-prec support.  Will take a while before merging to master.
>> 
>> Sherry
>> 
>> 
>> On Wed, Jul 22, 2020 at 6:04 AM <flw at rzg.mpg.de> wrote:
>> 
>>> Hi Barry,
>>> for now I just want to run everything in single on CPUs only with
>>> SUPERLU_DIST. Maybe we will also incorporate GPUs in the future, but
>>> there are no immediate plans yet. So if you could provide the support,
>>> that would be awesome.
>>> 
>>> Best regards,
>>> Felix
>>> 
>>> Zitat von Barry Smith <bsmith at petsc.dev>:
>>> 
>>> > Felix,
>>> >
>>> >     What are your needs, do you want this for CPUs or for GPUs?  Do
>>> > you wish to run all your code in single precision or just the
>>> > SuperLU_Dist solver while the rest of your code double?
>>> >
>>> >     If you want to run everything on CPUs using single precision
>>> > then adding the support is very easy, we can provide that for you
>>> > any time. The other cases will require more thought.
>>> >
>>> >     Barry
>>> >
>>> >
>>> >> On Jul 21, 2020, at 8:58 AM, flw at rzg.mpg.de wrote:
>>> >>
>>> >> Dear PETSc support team,
>>> >> some time ago you told me that you are planning on releasing a
>>> >> version that supports SUPERLU_DIST in single-precision soon. Can
>>> >> you tell me roughly what time frame you had in mind?
>>> >>
>>> >> Best regards,
>>> >> Felix
>>> >>
>>> 
>>> 
>>> 
>>> 
> 
> 
> 



More information about the petsc-users mailing list