Replies: 5 comments 3 replies
-
I should add that I have tried several different systems (Ubuntu 22.04 Docker, Ubuntu 24.04 Docker, Ubuntu 22.04 bare metal, Windows WSL) with the same results. |
Beta Was this translation helpful? Give feedback.
-
I have narrowed it down a bit. It works for me if I use cuda 12.6.3 and fails with cuda 12.8.0. 12.8 came out a couple of months ago so it lines up with when I started seeing the issue. If I don't specify a version, spack will install 12.8 now. |
Beta Was this translation helpful? Give feedback.
-
I've gotten a similar issue here: trilinos/Trilinos#14225 I'm building with cuda 12.9. |
Beta Was this translation helpful? Give feedback.
-
I will add an option to explicitly disable the use of termios even if the include file is found. It will disable the command-line editing, but the code will compile and still function. Also looking into whether anyone else has seen this issue with newer cuda releases... |
Beta Was this translation helpful? Give feedback.
-
should be fixed by #706 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am trying to compile trilinos via spack and am having issues with linking and the termios library:
ld: aprepro: hidden symbol tcgetattr isn't defined
. This is specifically for when I am compiling with the GPU enabled. My spack command for adding trilinos is:spack add trilinos@master ~amesos ~amesos2 ~anasazi ~aztec ~belos ~epetra ~epetraext ~ifpack ~ifpack2 ~ml ~muelu ~sacado ~shared +cuda +cuda_rdc +exodus +gtest +hdf5 +stk +zoltan +zoltan2 cxxstd=17 cuda_arch=75
I don't have a problem when I create a CPU build using:
spack add trilinos@master ~amesos ~amesos2 ~anasazi ~aztec ~belos ~cuda ~epetra ~epetraext ~ifpack ~ifpack2 ~ml ~muelu ~sacado ~shared +exodus +gtest +hdf5 +mpi +stk +zoltan +zoltan2 cxxstd=17
I have tried [email protected] and @develop with the same results. Also, I have verified the termios headers and libraries are on my system. This issue just started showing up in the last month or so. I had been successfully building trilinos with the same scripts before that time. I have been trying to configure spack to help it find the termios files with no luck. It does seem to find them okay for other packages, e.g., it builds cmake successfully, which needs ncurses.
Any ideas? Thanks.
Error message:
Beta Was this translation helpful? Give feedback.
All reactions