Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

ExternalCode needs method to access allocated hosts #1

Open
fzahle opened this issue Apr 25, 2012 · 0 comments
Open

ExternalCode needs method to access allocated hosts #1

fzahle opened this issue Apr 25, 2012 · 0 comments

Comments

@fzahle
Copy link
Owner

fzahle commented Apr 25, 2012

Realised that the actual ExternalCode instance needs a way to get hold of the resource allocated to the case by the CaseIterator. Rather than having the MPI_Allocator reserve the CPUs through its deploy() function, it should simply just return an ObjectServer and let the ExternalCode call get_hostnames, which will reserve the hosts. Guess the allocator's release function should still be responsible for the release of the CPUs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant