Giter Site home page Giter Site logo

Comments (5)

rhornung67 avatar rhornung67 commented on July 22, 2024 1

@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.

cyrush avatar cyrush commented on July 22, 2024

Well, it turns out all folders seem to show "possibly read only", so this might not be the source of my problem.

from raja.

cyrush avatar cyrush commented on July 22, 2024

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.

cyrush avatar cyrush commented on July 22, 2024

totally understand, long paths are reasonable -- just sad that windows doesn't concur :-(

from raja.

rhornung67 avatar rhornung67 commented on July 22, 2024

Closing since issue is understood. Can re-open if becomes a bigger problem.

from raja.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.