mpi pgf90 password

I want to run a program under suse OS using pgf90 with mpirun -np 4 smc, compiling with pgf90 with 12.2 version, but it asks me to put password:

my program si:
!program smc
! use MPI
implicit none
include ‘mpif.h’
integer :: rank, nb, ierr
print ,“MPI_INIT”
call MPI_INIT( ierr )
, fmt="(A)") “MPI_COMM_RANK”
call MPI_Comm_rank( MPI_COMM_WORLD, rank, ierr )
print *,"Hello i’m proc ",rank
print *,“MPI_FINALIZE”
call MPI_FINALIZE( ierr )
I don’t know what is the problem.

Any help
thank you very much.

Hi Joan,

This isn’t a MPI issue, rather the password is being required by secure shell (ssh). You either need to have your IT staff add rsh access, or create a password-less ssh using authentication keys.

I’m not an IT person myself so my recommendation is to do a web search for “SSH login without password” for help, or ask your local IT people.

Also, this post may help: Problem with mpirun from MPICH1

  • Mat

Thank you Mat,
To create a password-less ssh using authentication keys, if I use two machine, but in our case we have one machine and its occurred where I run the same command as root.
mpirun -np 4 smc
I do not understand why I ask the pass, I have never encountered this problem, is the first time.
Some help.
Thank you Mat,