Comments (4)
from altis.
@alice890308 if you set VERBOSE=1
before cmake command what does it show? This way we can see the exact build command and what files make
is expecting. Is it possible to get the complete make log? My speculation is some files are not built due to unspecified SM numbers.
from altis.
@BDHU Hi! It shows the following messages.
root@23cf7bea18ba:/altis/config/cuda_device_attr_gen# make VERBOSE=1
/usr/local/cuda/bin/nvcc -ccbin g++ -I../../Common -m64 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_80,code=compute_80 -o deviceQuery.o -c deviceQuery.cpp
/usr/local/cuda/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_80,code=compute_80 -o deviceQuery deviceQuery.o
mkdir -p ../../bin/x86_64/linux/release
cp deviceQuery ../../bin/x86_64/linux/release
Is this the complete make log you are looking for? Or would you like me to check anything else?
from altis.
@alice890308 Apologies for the late reply. Can you go into the build
directory and remove everything inside? Then execute these two commands:
cmake -DCMAKE_CUDA_ARCHITECTURES=$($SCRIPTPATH/config/get_cuda_sm.sh) ..
and
make VERBOSE=1
I've tested your setup with the exact same docker version and encountered no problem. However, I've only tested on SM61. Therefore, I suspect something has changed in the SM80 series. The above command allows us to see which specific make
command causes the failure.
For example, I noticed you failed to build the maxflops
object file. This is the first workload to build right after libAltisCommon.a
is generated. In my setup, the building command is (that's why we need make VERBOSE=1
to show the message):
[ 5%] Building CUDA object src/cuda/level0/maxflops/CMakeFiles/maxflopsLib.dir/MaxFlops.cu.o
cd /workspace/Desktop/altis/build/src/cuda/level0/maxflops && /usr/local/cuda/bin/nvcc -I/workspace/Desktop/altis/src/cuda/common -I/workspace/Desktop/altis/src/cuda/../common -w -gencode arch=compute_61,code=sm_61 -x cu -c /workspace/Desktop/altis/src/cuda/level0/maxflops/MaxFlops.cu -o CMakeFiles/maxflopsLib.dir/MaxFlops.cu.o
This specific line:
cd /workspace/Desktop/altis/build/src/cuda/level0/maxflops && /usr/local/cuda/bin/nvcc -I/workspace/Desktop/altis/src/cuda/common -I/workspace/Desktop/altis/src/cuda/../common -w -gencode arch=compute_61,code=sm_61 -x cu -c /workspace/Desktop/altis/src/cuda/level0/maxflops/MaxFlops.cu -o CMakeFiles/maxflopsLib.dir/MaxFlops.cu.o
is in charge of generating the MaxFlops.cu.o
file. You can simple copy and rerun it to produce the same error without going through all the cmake generation process.
So in your setup, it might look like this:
[ 5%] Building CUDA object src/cuda/level0/maxflops/CMakeFiles/maxflopsLib.dir/MaxFlops.cu.o
cd /workspace/Desktop/altis/build/src/cuda/level0/maxflops && /usr/local/cuda/bin/nvcc -I/workspace/Desktop/altis/src/cuda/common -I/workspace/Desktop/altis/src/cuda/../common -w -gencode arch=compute_80,code=sm_80 -x cu -c /workspace/Desktop/altis/src/cuda/level0/maxflops/MaxFlops.cu -o CMakeFiles/maxflopsLib.dir/MaxFlops.cu.o
I would first watch for any missing flags or parameters. It's very likely CMake failed to generate some commands.
from altis.
Related Issues (7)
- Softmax benchmark HOT 4
- error: ‘stoi’ is not a member of ‘std’ HOT 1
- ptxas fatal : Value 'sm_30' is not defined for option 'gpu-name' HOT 2
- GEMM out of memory HOT 3
- question about a level2 benchmark
- With texture reference being removed from CUDA 12 version onwards, build gives errors like `DeviceMemory.cu(160): error: texture is not a template` HOT 1
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 altis.