Comments (5)
@cyrush thanks for the info. Although it's not perfect, our system of naming each test file attempts to make clear what RAJA features are being tested. Our tests are highly parametrized where we minimize the amount of test code we maintain and specialize based on features that are tested by generating files during CMake configuration. It helps preserve our sanity, but clearly we did not think about name length constraints in different environments. This will require some mulling to resolve.
from raja.
Well, it turns out all folders seem to show "possibly read only", so this might not be the source of my problem.
from raja.
I found the source of the problem.
The generated file names are simply too long.
Windows APIs have a default max length of 260 chars.
Example of not working: Path that is 263 chars long:
C:\Users\cyrus\Documents\GitHub\ascent\scripts\build_ascent\build\raja-v2022.10.4\test\functional\kernel\basic-single-loop\test-kernel-resource-basic-single-loop-Segments-Sequential.exe.dir\Debug\test-kernel-resource-basic-single-loop-Segments-Sequential.exe.log
Example of working: Path that is 253 chars long:
C:\Users\cyrus/Documents/GitHub/ascent/scripts/build_ascent/build/raja-v2022.10.4/test/functional/kernel/basic-fission-fusion-loop/test-kernel-basic-fission-fusion-loop-Sequential.exe.dir/Release\test-kernel-basic-fission-fusion-loop-Sequential.exe.log
I hand edited to reduce the size of the filename of one of the cases and yes, I was able to to build.
Also:
- I tried to enable some windows policies to get around the issue, but that wasn't fruitful.
- I tried setting
CMAKE_OBJECT_PATH
, which did not help.
Maybe we should employ a remove all vowels from source file names policy? :-)
from raja.
totally understand, long paths are reasonable -- just sad that windows doesn't concur :-(
from raja.
Closing since issue is understood. Can re-open if becomes a bigger problem.
from raja.
Related Issues (20)
- Review disabled tests
- fix SYCL example
- Remove set/getQueue methods for SYCL, part 1
- CMAKE with RAJA CUDA backend HOT 4
- Compilation issue with new clang/Intel HOT 3
- Remove SYCL set/getQueue methods, part 2
- Atomics wishlist HOT 1
- Improving RAJA integration with perf tools HOT 1
- Add SYCL support for scan
- Add sort support for SYCL
- OpenMP Target CI Checks
- Require explicit initialization values for reductions
- Reduce redundant code in examples
- error: ‘CudaKernel’ is not a member of ‘RAJA::statement’ HOT 5
- Add examples with gpu global indexing for both kernel and launch
- Update CI compilers
- Update User and Dev Guides
- SYCL reduction support
- Support new reduction interface in RAJA::kernel
- Improve RAJA layout documentation when using unit stride
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raja.