开发者

MPI: how to limit access to file system?

开发者 https://www.devze.com 2023-03-13 05:46 出处:网络
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 onl

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

精彩评论

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

关注公众号