开发者

MPI: how to limit access to file system?

We have MPI based on 4 clusters with 16 cores each. We have a folder called notRestricted. We want to limit access of the application we run with mpiexec to file system - limit its access to write only to that one folder on that one machine we ran it from.

We can inject code into app we run but it is not what we really would want to do... and so all wecan tweak is mpi settings/configuration files, and mpiexec command we开发者_如何学编程 call to run our app. Main problemhere is that "Inject a replacement for open(2)" for example would open access to other machines fs which we do not want to.

So how to limit rights of mpi application on mpi cluster we create?

Note: this question is related to that one butis not same.


Can't you just run your application as a user who only has write access to that one directory ?


How about chroot (assuming you are running Unix of some flavor)?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜