Comments (5)
I have not tried this GPU version but I think it should work in principle -- can you share the cmake configure step here, especially the CUDA compile line. For GTX1060 I think it should look something like this
-D CMAKE_CUDA_FLAGS="-arch sm_61" \
Also, re you launching this with one MPI process per GPU or in some other way? I am not sure if four processes per GPU will work unless cuda MPS is running on your machine.
Sometimes I've seen funny errors if the GPU runs out of memory, so it could be worth confirming that this isn't happening here. Once this is ruled out, the next thing to do is to build with debugging symbols and launch with cuda-memcheck for a single GPU run
mpirun -np 1 cuda-memcheck $LBPM_DIR/lbpm_color_simulator input.db
This should quickly narrow down the location of the illegal memory access.
from lbpm.
The command:
mpirun -np 1 cuda-memcheck $LBPM_DIR/lbpm_color_simulator input.db
gave the following warning:
Warning: Failed to start MPI with necessary thread support, thread support will be disabled
Is this causing the issue?
from lbpm.
No, this just means that MPI_THREAD_MULTIPLE is not enabled (either because it isn't turned on or because the MPI library you are using doesn't support it). This just means the analysis threads will be serialized, and should not impact the results.
from lbpm.
Ok. Here is the rest of the pipe:
Stack Trace:
0x00000000004396ea: lbpm_color_simulator
0x000000000043a2c9: lbpm_color_simulator StackTrace::backtrace()
0x000000000043d411: lbpm_color_simulator StackTrace::getCallStack()
0x000000000042cc2d: lbpm_color_simulator Utilities::abort(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)
0x0000000000426823: lbpm_color_simulator Domain::initialize(std::shared_ptr)
0x0000000000427133: lbpm_color_simulator Domain::Domain(std::shared_ptr, ompi_communicator_t*)
0x0000000000421bcc: lbpm_color_simulator ScaLBL_ColorModel::SetDomain()
0x0000000000419c4f: lbpm_color_simulator main
0x00007fcca5873830: libc.so.6 __libc_start_main libc-start.c:325
0x000000000041aea9: lbpm_color_simulator _start
Failed insist: nprocs == nproc[0]*nproc[1]*nproc[2]
Message: Fatal error in processor count!
from lbpm.
After amending the input.db and run on only one GPU. The build ran. I therefore close this issue
from lbpm.
Related Issues (20)
- Add PCRI functionality
- Problem with building LBPM HOT 7
- morph drain saturation list
- Support for AMD GPU
- Fix abs perm calculation HOT 1
- 404 Not Found on wget commands; invalid reference format: repository name must be lowercase in singularity commands HOT 2
- [Enhancement] Introduction of SYCL backend HOT 3
- Instructions to build GPU-aware MPI HOT 1
- Hi, does LBPM need Silo? HOT 2
- Overloading issue HOT 6
- Endless overshoot/undershoot Capillary number using Fractional Flow Protocol HOT 11
- Building LBPM on TACC Lonestar 6
- Pressure Unit Conversion
- How to do imaging with the result of lbpm_color_simulator input.db HOT 1
- LBPM_Installation Error with cmake of LBPM BUILD HOT 13
- Update input files for bubble test
- Volumetric flux calculation HOT 1
- Ubuntu Version Compatibility HOT 2
- Results Labels Interpretation HOT 2
- Inquiry Regarding Implementing a New LB Model: Nernst-Planck and Poisson Equations HOT 4
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 lbpm.