Re: [deal.II] fata error in pmpi_waitwall:See the MPI_ERROR field in MPI_Status for the error code

2023-03-31 Thread Wolfgang Bangerth
On 3/29/23 07:02, Tom Li wrote: I am using matrix-free technology to solve a phase field problem.When I compile my program everythiong went well, but something went wrong when the program runs for a long time. It seems that this error has some relationships with MPI; Tom: it's impossible to s

Re: [deal.II] writing data to a file changes program output although this file is never used

2023-03-31 Thread Simon Wiesheier
Hello to all, unfortunately, I have no admin rights and can not re-compile the library with -DDEAL_II_WITH_TBB=OFF. But I did export DEAL_II_NUM_THREADS=1 to make sure that nothing like a race condition is involved. However, my program is not parallelized explicitedly by myself. If there is multi

Re: [deal.II] writing data to a file changes program output although this file is never used

2023-03-31 Thread Bruno Turcksin
Simon, Le ven. 31 mars 2023 à 08:58, Simon Wiesheier a écrit : > > > Given that it works fine in debug mode, there are likely no out-of-bound > violations. I just use std::vector and Vector as data structures > which would be detected in debug mode. > > That's optimistic :) It's not because you

[deal.II] Re: Linking error when compiling examples: error: cannot find -lhdf5-shared

2023-03-31 Thread Amit Sharma
Dear Bruno, Yes, I loaded hdf5(version-1.10.7) and I tried same with latest version available on spack. Thanks, Amit On Friday, March 31, 2023 at 6:27:13 PM UTC+5:30 bruno.t...@gmail.com wrote: > Amit, > > Did you load the hdf5 package? You can check using `spack find --loaded`. > > Best, > >

Re: [deal.II] Linking error when compiling examples: error: cannot find -lhdf5-shared

2023-03-31 Thread Ajay Rawat
Hello, It seems hdf5 library still needs to be loaded. Try something like "spack load hdf5**" before compiling your code. With regards Ajay On Fri, Mar 31, 2023 at 2:21 PM Amit Sharma wrote: > Hello everyone, > > I installed dealii using spack manager. I started learning dealii using > example

Re: [deal.II] writing data to a file changes program output although this file is never used

2023-03-31 Thread Simon Wiesheier
Hi Bruno, I do not see my bug in debug mode. So there the print statement has no effect. Given that it works fine in debug mode, there are likely no out-of-bound violations. I just use std::vector and Vector as data structures which would be detected in debug mode. How can I run my program witho

[deal.II] Re: Linking error when compiling examples: error: cannot find -lhdf5-shared

2023-03-31 Thread Bruno Turcksin
Amit, Did you load the hdf5 package? You can check using `spack find --loaded`. Best, Bruno On Friday, March 31, 2023 at 4:51:02 AM UTC-4 amitshar...@gmail.com wrote: > Hello everyone, > > I installed dealii using spack manager. I started learning dealii using > examples but I am getting a li

[deal.II] Linking error when compiling examples: error: cannot find -lhdf5-shared

2023-03-31 Thread Amit Sharma
Hello everyone, I installed dealii using spack manager. I started learning dealii using examples but I am getting a linking error. Scanning dependencies of target step-1 [ 33%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o [ 66%] Linking CXX executable step-1 /home/amit/spack/opt/spack/l