alphaparrot / ExoPlaSim

Exoplanet Planet Simulator (PlaSim extended for different planet types (including tidally-locked) and evolution on geological timescales--glaciers and carbon cycle)
GNU General Public License v2.0
65 stars 12 forks source link

Add pass-through for mpi_opts runtime arguments and hyperthreading keyword #22

Closed alphaparrot closed 5 months ago

alphaparrot commented 7 months ago

Per #17 it would be nice to have pass-through arguments via a mpi_opts keyword argument for the mpiexec executable. Additionally, non-SLURM and non-PBS run contexts will not by default permit hyperthreading, even if the machine supports it. A hyperthreading=True keyword argument should be added to allow hyperthreading using the mpiexec --use-hwthread-cpus OpenMPI flag.