Skip to content

[Core] Fix deprecated OMP in scaling solver #13499

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

loumalouomega
Copy link
Member

📝 Description

Fix deprecated warning using parallel utilities:

/home/ubuntu/src/Kratos/kratos/linear_solvers/scaling_solver.h:214:10: required from here /home/ubuntu/src/Kratos/kratos/linear_solvers/scaling_solver.h:368:40: warning: ‘static void Kratos::OpenMPUtils::DivideInPartitions(int, int, PartitionVector&)’ is deprecated: This is legacy, please use the "ParallelUtilities" instead [-Wdeprecated-declarations] 368 | OpenMPUtils::DivideInPartitions(A.size1(),number_of_threads, partition)

🆕 Changelog

@loumalouomega loumalouomega requested a review from a team as a code owner June 6, 2025 09:25
@loumalouomega loumalouomega added Kratos Core Deprecated Parallel-SMP Shared memory parallelism with OpenMP or C++ Threads FastPR This Pr is simple and / or has been already tested and the revision should be fast labels Jun 6, 2025
@loumalouomega loumalouomega enabled auto-merge June 6, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecated FastPR This Pr is simple and / or has been already tested and the revision should be fast Kratos Core Parallel-SMP Shared memory parallelism with OpenMP or C++ Threads
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant