-
Notifications
You must be signed in to change notification settings - Fork 12
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
segmenation fault with ifort 2018 routine psb_spasb #11
Comments
Thanks for the bug report and for testing the workaround. I will check what happens with other versions of IFORT, and will investigate a general solution. |
The need for the POINTER assignment can be worked around in a better way when we introduce SUBMODULES in the library. Because SUBMODULES would be a choice purely on the implementation side, with no changes to the user/visible interface, they could be introduced in version 3.6.1/3.6.2. However, they would require a bump of the GCC minimum version to 6, so maybe it's best to do it in version 3.7.0. |
@sfilippone You will of course also need to do some testing. After |
@rouson a quick test with 6.4.0, which is the current release, seems to give positive results. |
I am using psblas3-development on the AMU mesocentre, with ifort 2018. I obtained segmetation fault errors on executing my application (either in debug mode or optimized). The error appeared in different parts of the code whether or not I was doing different stuffs in my application (such as, for example, saving my unknown vector). I realized the fault was caused by the routine psb_spasb (commenting this routine the code used to run without problem).
The problem was solved by modifying the file: base/modules/serial/psb_d_mat_mod.F90
replacing the following line (~line 248)
with
and also the file: base/serial/impl/psb_d_mat_impl.F90
replacing the following line (~line 1265)
allocate(altmp, mold=psb_get_mat_default(a),stat=info)
with
The text was updated successfully, but these errors were encountered: