[petsc-users] call petsc real/petsc complex in same application
Darach Golden
darach at tchpc.tcd.ie
Thu Oct 7 05:52:00 CDT 2010
Hi,
Is there any (safe) way of using real and complex compiles of petsc in
different parts of the same application?
something like:
------------------------------------------------------------
Fortran Application main()
call MPI_INIT()
do things...
call routine( uses petsc compiled with --with-scalar-type=real) {petsc initialize ... petsc finalize}
do more things...
call routine( uses petsc compiled with --with-scalar-type=complex) {petsc initialize ... petsc finalize}
keep going...
call MPI_FINALIZE()
stop
------------------------------------------------------------
The intent here is to save memory in the first call above where
complex numbers are not needed.
Or is there any way of achieving this effect?
Darach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101007/9706b8ca/attachment.pgp>
More information about the petsc-users
mailing list