openMP update and PDOS+soc#411
Merged
Merged
Conversation
2. move cout to ofs_warning for "l>4 eggbox warning" in Numerical_Orbital_Lm::extra_uniform()
Now ABACUS can be compiled without OpenMP.
merge updates from Abacus 2.2.0 beta
add PDOS with soc
1. fix bug in ComplexMatrix::print()
merge openmp update and PDOS+soc
wenfei-li
approved these changes
Oct 27, 2021
caic99
reviewed
Oct 28, 2021
| #ifdef __OPENMP | ||
| #ifdef _OPENMP | ||
| #pragma omp parallel for schedule(static) | ||
| #endif |
Member
There was a problem hiding this comment.
Where's the original corresponding #ifdef of this #endif? It seems that only ifdefs are added in this commit.
Collaborator
Author
There was a problem hiding this comment.
linpz said that _OPENMP would be automaticly setup by openmp setup in Makefile
| GlobalV::ofs_warning << " The angular momentum larger than 4 (g orbitals) may be error about eggbox. " << std::endl; | ||
| GlobalV::ofs_warning << " Check file " << __FILE__ << " line " << __LINE__ <<std::endl; | ||
| //std::cout << " The angular momentum larger than 4 (g orbitals) may be error about eggbox. " << std::endl; | ||
| //std::cout << " Check file " << __FILE__ << " line " << __LINE__ <<std::endl; |
Member
There was a problem hiding this comment.
I suggest removing this redundant commented code.
deleted warning of angular momentum output in warning.log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.