Repository navigation
Testing the ddCOSMO code - #3
Merged
Merged
Conversation
The code is taken from John Burkardt's website. Unlike the CCL code, the scaling of the weights happens _outside_ the grid generation subroutine, i.e. it now happens in ddcosmo.f90. We enforce Fortran 2003 compliance _via_ the respective compiler flag.
bast
reviewed
Apr 5, 2017
| # we stop the script if the major version is not compatible | ||
| assert version_info.major == 2 | ||
|
|
||
| # construct a filter list which contains two filters |
Member
|
What part about the runtest integration feels clumsy? I had a quick look but wanted to know what feels not completely right to you. |
Member
Author
|
I guess it felt clumsy because there is no launcher script to wrap in |
Member
|
Aha - I see, I overlooked that. I will check what we can do about it. |
ilfreddy
approved these changes
Apr 6, 2017
arnfinn
approved these changes
Apr 6, 2017
Member
Author
|
The compiler flags selection mechanism needs a bit more testing on Intel and PGI. Opening an issue for it. |
Open
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.
This PR aims to add proper testing for the ddCOSMO code.
Description
Rework the example into a test and provide the infrastructure necessary for automated testing.
Todos
set_compiler_flagthat checks that the flags are actually available and working for the current compiler.Questions
Status
IMPORTANT Before merging change the status badge in
README.mdto[](https://travis-ci.org/PCMSolver/ddPCM)to get the correct status badge.