dnarayanan / powderday

powderday dust radiative transfer
BSD 3-Clause "New" or "Revised" License
22 stars 16 forks source link

optionally enable MPI in hyperion SED call #216

Closed christopherlovell closed 10 months ago

christopherlovell commented 10 months ago

The mpi flag on m.run means that the MPI version of hyperion is called. When running this interactively on some systems (on a single node) this fails, even if mpi_processes is set to 1, as it contravenes some system policies. This PR avoids this by checking if a multi-node job has been specified