On Tue, 27 May 2003, Di Ling wrote:
> I am using a mpi and the attribute of the file is execute-only. When I
> use mpirun to run the program, it gives this information:
>
> mpirun: cannot start <myprogram> on n0 (o): Permission denied
>
> while the program can be run directly.
>
> I wonder if it's possible that let mpirun to run this executable-only?
> How to do it? Thanks a lot!
Looks like LAM is incorrectly determining that it can't run the program,
and therefore barfs.
Can you just chmod u+r the program? Even though LAM is wrong here, that
would be the simplest solution.
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|