Skip to content
Snippets Groups Projects
Commit 2807e107 authored by Felix Tomski's avatar Felix Tomski
Browse files

Add CuSan for nvompi/2022.07

parent cee4756b
No related branches found
No related tags found
1 merge request!7RWTH tools nvompi 2022.07
diff '--color=auto' -uNr cusan-old/CMakeLists.txt cusan-main/CMakeLists.txt
--- cusan-old/CMakeLists.txt 2024-08-08 10:17:32.000000000 +0200
+++ cusan-main/CMakeLists.txt 2024-09-02 08:57:23.357038304 +0200
@@ -28,11 +28,6 @@
add_subdirectory(lib)
add_subdirectory(scripts)
-if(PROJECT_IS_TOP_LEVEL)
- enable_testing()
- add_subdirectory(test)
-endif()
-
write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/cusanConfigVersion.cmake
VERSION ${PROJECT_VERSION}
easyblock = 'CMakeMake'
name = "CuSan"
version = "0.1-beta"
homepage = 'https://github.com/ahueck/cusan'
description = """ CuSan is tool to find data races between (asynchronous) CUDA calls and the host.
To that end, we analyze and instrument CUDA codes to track CUDA domain-specific memory accesses and synchronization semantics during compilation using LLVM.
Our runtime then passes these information appropriately to ThreadSanitizer (packaged with Clang/LLVM) for the final data race analysis.
"""
toolchain = {'name': 'nvompi', 'version': '2022.07'}
source_urls = ['https://hpc.rwth-aachen.de/must/files/']
sources = [{
"filename": '%(name)s-v%(version)s.tar.gz',
"git_config": {
'url': 'https://github.com/ahueck',
'repo_name': 'cusan',
'commit': '39c51c013e8f8047069dcc4808357e77ef07e0b5',
'recursive': True,
'keep_git_dir': True,
}
}]
patches = [
'CuSan-0.1-beta-disable-tests.patch',
]
checksums = ['90a6debe4d76b5aaf5c9a95098753386f020c9abcf05f697a9c6c75088bde151',
'1995f68824bddd81d74cc892bdeeb12e76c355daa8ec506ff38a6de6473dd362']
builddependencies = [
('CMake', '3.24.3'),
('Python', '3.10.4'),
]
dependencies = [
#('Graphviz', '2.49.3'),
('Clang', '13.0.1', '-CUDA-11.7.0'),
]
preconfigopts = 'export CC=clang CXX=clang++ OMPI_CC=clang OMPI_CXX=clang++ CFLAGS="" CXXFLAGS="" FCFLAGS="" && '
configopts = '-DCMAKE_BUILD_TYPE=Release -DCUSAN_LOG_LEVEL_RT=0 -DCUSAN_FIBERPOOL=OFF'
sanity_check_paths = {
'files': ["bin/cusan-clang", "lib/cusanTransformPass.so"],
'dirs': [],
}
moduleclass = 'perf'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment