Comments (7)
We will publish soon (probably tomorrow) the version 2.1
, which will include one more feature and will have this bug fixed, so that we can also update it in cp2k :)
from cosma.
@oschuett Thanks for the issue! Is COSMA here built with MKL? Because I see OMP_NUM_THREADS
explicitly set but MKL_NUM_THREADS
not.
from cosma.
It's build with the default toolchain. So, Openblas and Scalapack. We never set MKL_NUM_THREADS
in our tests. The div-by-zero occurred in H2O-32.inp with a single MPI rank and 8 OpenMP threads.
from cosma.
Thanks, I am able to reproduce it. It doesn't seem like a serious bug, just the wrong division strategy is being produced. I will work on it.
from cosma.
I think, it's best to avoid divisions by zero as they gives undefined results.
In CP2K we often use foo / MAX(1,bar)
for these edge cases.
Btw, personally I'm a big fan of floating point exception (which trigger for integers too). They can be very useful while adding virtually no overhead.
from cosma.
Fixed in commit: 808abd7! Not sure if that would just hide these bugs even more?
from cosma.
Thanks! Of course, catching these edge cases in a single place, as you did, is the best solution :-)
from cosma.
Related Issues (20)
- COSMA cublas crash after job finished HOT 5
- Fixing CI/CD issues HOT 1
- timings in comsa_miniapp HOT 2
- GPU-Aware MPI Version HOT 2
- Error crash at the end of the job execution HOT 7
- Unable to use an internal RCCL build HOT 4
- COSMA crash on Perlmutter when dealing with complex values HOT 9
- Crashes with the latest COSMA release HOT 25
- (Still) Excessive memory usage HOT 3
- cmake project version v2.6.1 does not match git tag v2.6.2
- Add ability to disable NCCL at runtime HOT 1
- build failure with nccl HOT 1
- enable overlap comm with computation for cosma_miniapp HOT 2
- Configure fails to find costa submodule and build fails to build with costa-2.2 HOT 1
- Link errors HOT 6
- cmake project version v2.6.4 does not match git tag v2.6.5
- COSMA build fails on CRAY HOT 1
- How to run pdgemm on multiple GPUs? HOT 26
- out-of-memory events HOT 5
- Switching to a proper memory-pool implementation 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 cosma.