Re: [O-MPI users] mpirun sets umask to 0

2006-02-08 Thread Brian Barrett
On Feb 6, 2006, at 2:14 PM, Glenn Morris wrote: mpirun (v1.0.1) sets the umask to 0, and hence creates world-writable output files. Interestingly, adding the -d option to mpirun makes this problem go away. To reproduce: mpirun -np 1 --hostfile ./hostfile --mca pls_rsh_agent ssh ./a.out where a

[O-MPI users] mpirun sets umask to 0

2006-02-06 Thread Glenn Morris
mpirun (v1.0.1) sets the umask to 0, and hence creates world-writable output files. Interestingly, adding the -d option to mpirun makes this problem go away. To reproduce: mpirun -np 1 --hostfile ./hostfile --mca pls_rsh_agent ssh ./a.out where a.out is compiled from: #include #include #inclu