-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of PetscScalar instead of PetscReal Types #3
Comments
Just a quick update is seems that for some reason, the diagnostic.F90 routines need a few arrays to be PetscScalar. The same is true in populateMatrix.F90. |
Compilation seems fine now. However, the PPPL build of PetSc was done without MUMPS so I need to get that corrected before I make more progress. |
Sam- A complex petsc should not be used with sfincs. This causes the code
to use 2x memory, and the code is already voracious for memory.
-Matt
…On Tue, Jan 2, 2018 at 4:55 AM, Samuel Lazerson ***@***.***> wrote:
Compilation seems fine now. However, the PPPL build of PetSc was done
without MUMPS so I need to get that corrected before I make more progress.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AE_Mgy4T2DzOHExpe1qlenkn3En5vCEKks5tGf0qgaJpZM4RQZzk>
.
--
=======================================
Dr. Matt Landreman
Associate Research Scientist
Institute for Research in Electronics & Applied Physics
University of Maryland
8223 Paint Branch Drive, College Park MD 20742, USA
(+1) 651-366-9306
[email protected]
|
@landreman |
@lazersos Noticed this old issue. Can I close it? |
@amollen Has SFINCS been updated to use the PetscReal? |
@lazersos No it doesn't look like. I don't think anyone is working on it though. Maybe it is straightforward just changing all PetscScalar to PetscReal. Since the issue is more than two years old I thought it had just been left behind. But we can keep it open in case someone gets interested in doing it. |
The code is written using the PetscScalar type, but when linked to the complex version of the Petsc this type is of type COMPLEX making many of the logical statements syntactically incorrect. Also there are some issues with other intrinsic functions. The fix is to use the PetscReal type. However, this may introduce other issues. I'm going to test it out.
The text was updated successfully, but these errors were encountered: