-
Notifications
You must be signed in to change notification settings - Fork 99
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
Issue 395 -- Filenames are too long #424
Issue 395 -- Filenames are too long #424
Conversation
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.
There are some odd changes here. Please see below.
Thanks for contributing but finals are important :)
...ons_cpp/abs/KokkosBlas1_abs_eti_spec_inst_Kokkos_cmplx_dbl__LayoutLeft_Cuda_CudaUVMSpace.cpp
Outdated
Show resolved
Hide resolved
How about abreviating the Space names instead? |
Yeah, when we are doing this we could also abbreviate the spaces. |
Some of the comments you have made are outdated. I think I might have pushed my change when you were in middle of your review. I seem to have resolved most of them. I will work on abbreviating the spaces. I will update my work this weekend, after my finals 😄. |
I am ok with having dbl and flt, in addition to the space names @crtrott suggested. Yes, I found some of the changes unexplainable. You might have have cleaned it up already. |
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.
Thanks for fixing these, please see below for two main questions
...cpp/abs/KokkosBlas1_abs_eti_spec_inst_Kokkos_complex_double__LayoutLeft_OpenMP_HostSpace.cpp
Outdated
Show resolved
Hide resolved
...cpp/abs/KokkosBlas1_abs_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Serial_HostSpace.cpp
Outdated
Show resolved
Hide resolved
...ric_eti_spec_inst_Kokkos_complex_float__size_t_int_LayoutRight_Threads_HBWSpace_HBWSpace.cpp
Outdated
Show resolved
Hide resolved
I fixed the issues in the review that you pointed out. The issue was that I forgot to add a conditional to see whether the In addition, I had to delete the original files that were too long on Github's website because they couldn't be cloned on my computer, so each one of those deletions forced me to make a commit. I tried rebasing and squashing locally, but that wasn't possible because the names of the files were too long causing my computer to error out. Also I would like to thank you for your quick responses and also your patience. This is my first open source contribution, so I really appreciate your guidance. Also if there are any issues you think I could tackle please assign them to me. I would be happy to dedicate part of my time to working on those! |
Also I am curious how have y'all not experience this issue? I am assumed you guys use linux machines. Do you use a custom OS that allow longer filename lengths for encrypted hard drives? |
Could you please take a look? |
@akhilpotla : Our spotchecking is broken because of an inadvertent change. We will get this in as soon as we fix the spotchecks and test this one. |
I'll start a spot-check |
I changed the base of the PR to submit to develop instead of master. |
@ndellingwood : Spot check works ? Also, can you or @akhilpotla squash it to one commit ? |
@srajama1 here's spot-check results, sorry for delay in posting
|
@ndellingwood : can you squash the commit too ? I am assuming kokk-dev and bowman are coming soon. I will commit as soon as you give green light. |
d1fa75f
to
319839a
Compare
@srajama1, sorry for the slow response. I was moving. I squashed the commits. Now there is one commit titled "Abbreviated spacenames and types in filenames". I see there are some failing tests. Were those tests expected to break? |
@akhilpotla I don't think any tests are failing. @ndellingwood : Is this ready to be pushed ? |
@srajama1 Yes, this is ready. We shouldn't mark the issue as InDevelop since newer capabilities are coming into develop for 3.0 that will need the same file renaming treatment (sptrsv, spiluk) |
Ready to get this merged in. The conflicts with the CMake system updates are listed in PR #491 and I'll clean those up when updating with the develop branch. sptrsv and spiluk were added after this PR, so I'll put in a PR immediately after with updates to rename those files. I tested this branch with a merge of develop and the sptrsv + spiluk file renaming and all looks good.
|
As an additional follow-on: the associative arrays used in the generate_* bash files are only available for bash >= 4, however it seems by defaults macs have bash 3.2, so this should be updated. |
Thanks @akhilpotla for the PR! |
@srajama1
Issue: #395
Realized there are some errors in this, I have final exams this week. I will have this corrected over the weekend. Apologize for the premature PR.
On Ubuntu 16.04 I get a failure when cloning this repository since some the file names are too long.
The problematic files are:
The longest of these files has a name of 147 characters. Linux typically restricts filename length to 255 characters, but if your hard drive is encrypted (which is a lot of Linux users) this goes down to 143.
I abbreviated a few of the words in the filenames:
double --> dbl
float --> f
complex --> cmplx
After my changes the new names are: