Re: [petsc-users] Calling single-precision MUMPS from PETSC

2015-06-07 Thread Evan Um
Dear Hong, Thanks for your reply. In the modified mumps.c, I replaced zmumps_c.h with cmumps_c.h because I want to use a single precision complex mumps in my double-precision PETSC application. In my PETSC application (double precision real and complex versions), I want to always call a

Re: [petsc-users] Calling single-precision MUMPS from PETSC

2015-06-07 Thread Hong
Evan, The data types are defined as s: single real d: double real c: single complex z: double complex see

Re: [petsc-users] Calling single-precision MUMPS from PETSC

2015-06-07 Thread Barry Smith
On Jun 7, 2015, at 12:23 PM, Evan Um eva...@gmail.com wrote: Dear Hong, Thanks for your reply. In the modified mumps.c, I replaced zmumps_c.h with cmumps_c.h because I want to use a single precision complex mumps in my double-precision PETSC application. In my PETSC application

Re: [petsc-users] Calling single-precision MUMPS from PETSC

2015-06-05 Thread Evan Um
Dear Barry and PETSC users, I am revisiting a problem about how to call a single precision MUMPS from double precision real/complex PETSC. After taking a look at mumps.c, I feel that the following changes (attached) can make it possible to always call a single precision MUMPS from PETSC. The

[petsc-users] Calling single-precision MUMPS from PETSC

2014-10-22 Thread Evan Um
Dear PETSC users, When MUMPS is used inside PETSC, The default MUMPS driver seems to be double-precision MUMPS (i.e. DMUMPS). To reduce memory costs, I want to test a single-precision MUMPS (SMUMPS) from PETSC. Does anyone know how to switch from double to single-precision MUMPS inside PETSC? In

Re: [petsc-users] Calling single-precision MUMPS from PETSC

2014-10-22 Thread Barry Smith
There is no support for this. You can only call single precision MUMPS from single precision PETSc and double precision MUMPS from double precision PETSc. You could try to hack the interface that calls MUMPS from PETSc to use the single precision version but we don’t support that.

Re: [petsc-users] Calling single-precision MUMPS from PETSC

2014-10-22 Thread Jed Brown
Evan Um eva...@gmail.com writes: Dear PETSC users, When MUMPS is used inside PETSC, The default MUMPS driver seems to be double-precision MUMPS (i.e. DMUMPS). To reduce memory costs, I want to test a single-precision MUMPS (SMUMPS) from PETSC. Does anyone know how to switch from double to