-
Notifications
You must be signed in to change notification settings - Fork 17
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
CI Overhaul #309
CI Overhaul #309
Conversation
…eation of test_list.yaml, add py-pyyaml as a new TPL to be able to read in the performance test list
…rser from previous commit
…e inputs to adiak, updated testTimer to reflect these changes
…ingParser.py file instead of SpheralOptionParser.py, added ability to specify Adiak data directly from command line as a dictionary, update testTimer with adiakData tests and improved layout
…some new options for Noh tests, slight changes to performance.py
… files, changed SPHERAL_TEST_INSTALL_PREFIX to include tests directory, added tests for viz and restart files in SpheralController, created separate performance analysis python file
… parsing, removed use of None string in all existing tests, removed py-ats patch
…puts using less than symbol
…ht bash executable back for spheral_ats
… spheral_ats check if we are inside an allocation
…lean to host-config call in CI to avoid completely rebuilding when test is rerun
…pt cannot trigger a fail
def _get_arch(self): | ||
host_platform = spack.platforms.host() | ||
host_os = host_platform.operating_system("default_os") | ||
host_target = host_platform.target("default_target") | ||
architecture = spack.spec.ArchSpec((str(host_platform), str(host_os), str(host_target))) | ||
spack_arch = str(architecture) | ||
return spack_arch.strip() | ||
|
||
# Create a name for the specific configuration being built | ||
# This name is used to differentiate timings during performance testing | ||
def _get_config_name(self, spec): | ||
arch = self._get_arch() | ||
config_name = f"{arch}_{spec.compiler.name}_{spec.compiler.version}" | ||
if ("+mpi" in spec): | ||
config_name += "_" + spec.format("{^mpi.name}_{^mpi.version}") | ||
if ("+cuda" in spec): | ||
config_name += "_" + spec.format("{^cuda.name}{^cuda.version}") | ||
return config_name.replace(" ", "_") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not do this in CMake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of this relies on Spack internal methods for determining things. We would have to extract those methods into CMake otherwise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer if we can do this during the CMake config stage at some point rather than relying on spack to generate a CMake string, but this is okay for now.
…ml and install-from-dev-pkg, fixed recursive module bug from last commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a change in install-from-dev-pkg
and I think this will be good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go
Summary
tests
directoryToDo :
RELEASE_NOTES.md
with notable changes.