CosmoMC: mpif90 vs (gfortran+num_threads)
Posted: April 13 2020
People helping me with installation of CosmoMC failed to compile mpif90, but succeeded with gfortran. I checked that I can run code, and with num_threads set to e.g. 10 or 20, I get a nice-looking cpu usage of ~1000% on my (24-core) desktop.
Probably a beginner's type question: what is lost in practice in not using mpi? Given I do apparently use multiple cores (which is openmp I assume) in the current configuration without mpi.
Probably a beginner's type question: what is lost in practice in not using mpi? Given I do apparently use multiple cores (which is openmp I assume) in the current configuration without mpi.