Skip to content
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

Inconsistent INTENT for nullified pointer DATA #415

Open
vzecca opened this issue Dec 29, 2020 · 1 comment
Open

Inconsistent INTENT for nullified pointer DATA #415

vzecca opened this issue Dec 29, 2020 · 1 comment
Milestone

Comments

@vzecca
Copy link

vzecca commented Dec 29, 2020

In most test cases at dbcsr_array_types.F line 93 and 155 the pointer DATA is nullified.
However in calling procedures the corresponding pointer is an INTENT(IN) formal argument.
It is called row_blk_size or col_blk_size
in dbcsr_work_operations.F and in dbcsr_test_methods.F lines 327 and 328.

INTENT(IN) should then be INTENT(INOUT).

@alazzaro
Copy link
Member

Thanks for reporting this problem.
For any future problem related to DBCSR (anything file inside the exts/dbcsr), please post on the DBCSR page (https://github.com/cp2k/dbcsr/issues)

@oschuett oschuett transferred this issue from cp2k/cp2k Dec 30, 2020
@alazzaro alazzaro added this to the v2.2 milestone Sep 14, 2021
@hfp hfp modified the milestones: v2.2, v2.3 Dec 24, 2021
alazzaro added a commit that referenced this issue Apr 13, 2022
alazzaro added a commit that referenced this issue Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants