unsigned int n_threads = 1;
Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, n_threads);
unsigned int n_threads = 1;Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv, n_threads);
But when I run this code, each process is using 1700% of CPU. The code does not progress in its iterations also. What am I doing wrong ?
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Praveen,
Do you happen to use a BLAS that uses threading? I recommend
switching to non-threaded BLAS (or "export OMP_NUM_THREADS=1").
deal.II applies threading on a higher level and a threaded BLAS is
counter-productive in 98% of cases.
Best,
Martin
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
openblas@0.2.19%gcc@6~openmp+pic+shared arch=linux-opensuse20161217-x86_64
Hello MartinI am using openblas installed using spack. openmp seems to be disabledopenblas@0.2.19%gcc@6~openmp+pic+shared arch=linux-opensuse20161217-x86_64