Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use num_machines * num_mpiprocs_per_machines to set num_cpus (#33)
For backward compatibility where num_machines and num_mpiprocs_per_machine are setting. I only setting the default value as 1 for num_mpiprocs_per_machine because aiida-quantumespresso override resources default with num_machines set to 1 and then get builder with such setting. The num_mpiprocs_per_machine sometime can be read from "Default #procs/machine" of computer setup but if it is not exist the builder can not be properly get without passing option to builder generator. It is anyway a workaround for backward compatibility so this default is implemented despite it is quite specific for the qe plugin.
- Loading branch information