[Bug 2238263] Review Request: dbcsr - Distributed Block Compressed Sparse Row matrix library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2238263



--- Comment #19 from Cristian Le <fedora@xxxxxxxxx> ---
> I'm not sure about the processors - but in the koji build I see:
> Tests will run with 3 MPI ranks and 2 OpenMP threads each

I have just ran locally `ctest -j 2 -N -V` and it is reporting
```
19: Test command: /opt/intel/oneapi/mpi/2021.10.0/bin/mpiexec "-n" "8"
"./dbcsr_tensor_test"
19: Working Directory: /dbcsr/cmake-build-debug-intel/tests
19: Environment variables: 
19:  OMP_NUM_THREADS=2
  Test #19: dbcsr_tensor_test
```

My `nproc` is 16, and with `ctest -j 2`, it means that it runs 2 mpi jobs at
maximum nproc. This is not good because the OS scheduler with have to
constantly be switching. Looking at the `%ctest` macro [1], it seems that it
does not explicitly adds `-j 2`, so maybe you can specify it for MPI jobs to be
`%ctest -j 1`. Alternatively you can manually set `TEST_MPI_RANKS` to
`$(nproc)/$TEST_OMP_THREADS/$ctest_jobs`.

[1] https://src.fedoraproject.org/rpms/cmake/blob/rawhide/f/macros.cmake.in#_47


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2238263

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202238263%23c19
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux