E3SM-Project / HOMMEXX

Clone of ACME for CMDV-SE project to convert HOMME to C++
11 stars 0 forks source link

Fix MPI and Kokkos init order. #285

Closed ambrad closed 6 years ago

ambrad commented 6 years ago

This fixes the unit test initialization.

Also put the Kokkos config printing inside of a root() check so that only the root rank prints out Kokkos data. Printing on all ranks doesn't scale.

ambrad commented 6 years ago

It's just in the unit tests, and we happened never to need MPI access at initialization in those tests before.