[mpich-discuss] Running an mpi program that needs to access /dev/mem

Pavan Balaji balaji at mcs.anl.gov
Sat Jun 15 11:02:37 CDT 2013


On 06/14/2013 04:43 PM, Lee, Eibhlin wrote:
> sorry when I do run mpiexec id the output is
> uid=1000(pi) gid=1000(pi)
> groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),105(netdev),999(input)

This is the crux of the problem.  Your application processes are being 
launched as the regular user (uid=1000) instead of as root (uid=0).  I 
assume this is how you ran the program; can you confirm?

/* Login as root */
% su

% mpiexec [whatever_options] id

  -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



More information about the discuss mailing list