I think I found the answer to my question regarding the network drive. According to this post: http://lists.mcs.anl.gov/pipermail/mpich-discuss/2009-January/004440.html, this is due to the process manager of MPICH2. MPICH2 has a "-map" option to map a network drive temporarily, but I did not find a corresponding option in Intel MPI.
So I guess I was ableto access the network drive when I_MPI_AUTH_METHOD=delegate because in that two cases, my domain login credentials were used for the authentication for the network drives? But why could I still access the network drive when I_MPI_AUTH_METHOD=impersonate?
The mapped drives use the same username/password as the one provided to wmpiregister. I found that setting -mapall option actually solves the problem. Still, I have no idea why using impersonate allows access to the network drives.
Yes, my computer is part of a domain. My user account is part of the local administrator group, but I am not running the program as administrator. Does this mean that my user account still have delegation turned on?
Also, could you explain to me a little more how the I_MPI_AUTH_METHOD=delegate works? What authentication process does it go through? Is it safe for me to allow someone else use that option on my machine? Thanks.
|Password||Username/password stored in registry or obtained at prompt|
|Delegate||Domain login credentials stored by Windows* for current user|
|Impersonate||Login credentials stored by Windows*, passed as if in a domain even if not|
I know this is an old thread but I found it very helpful. I tested it with -delegate parameter and it worked when running a simple example:
mpiexec -n 2 -delegate hostname
However, it does not work in the following situation:
mpiexec -n 1 -delegate master
then "master" spawns a "slave" process with "mpi_comm_spawn". The master process starts without problem but the slave always returns an error message:
abort: Unable to connect to machine.domain.com
I even tried setting the I_MPI_AUTH_METHOD=delegate environment variable and make sure it is exported by MPI using the "-genvlist I_MPI_AUTH_METHOD" command line parameter but to no avail. Is there any special to be done in such a case?