Open yys123456 opened 2 years ago
Hello everyone, I tried this on Ubuntu 18.04.6 LTS, RTX2060, CUDA 11.3, LLVM 13.0, I followed the instructions and use the command below:
Ubuntu 18.04.6 LTS, RTX2060, CUDA 11.3, LLVM 13.0
1. Get Opt and terra, set up the project
mkdir Optlang git clone https://github.com/niessner/Opt.git wget https://github.com/zdevito/terra/releases/download/release-2016-03-25/terra-Linux-x86_64-332a506.zip unzip terra-Linux-x86_64-332a506.zip mv terra-Linux-x86_64-3 terra
2. Add terra/bin to PATH and ensure that the terra cuda tests can pass
terra/bin
PATH
3. Go to directory Opt/API and run make
Opt/API
make
4. Change sm_30 in make_template.inc to sm_60
sm_30
make_template.inc
sm_60
5. Go to Opt/examples/image_warping and run make
Opt/examples/image_warping
6. run ./image_warping
And it threw llvm: Invalid value
llvm: Invalid value
I have changed 4 versions of llvm(6.0, 7.0, 9.0, 13.0), and kept building terra from source repeatedly... May anybody help me please?
Hello everyone, I tried this on
Ubuntu 18.04.6 LTS, RTX2060, CUDA 11.3, LLVM 13.0
, I followed the instructions and use the command below:1. Get Opt and terra, set up the project
2. Add
terra/bin
toPATH
and ensure that the terra cuda tests can pass3. Go to directory
Opt/API
and runmake
4. Change
sm_30
inmake_template.inc
tosm_60
5. Go to
Opt/examples/image_warping
and runmake
6. run ./image_warping
And it threw
llvm: Invalid value
I have changed 4 versions of llvm(6.0, 7.0, 9.0, 13.0), and kept building terra from source repeatedly... May anybody help me please?