Am 26.08.2013 um 12:53 schrieb Federico Carotenuto: > Kind Reuti, > > Thanks for your quick reply! > > > I'm afraid I didn't set a machinefile...that may be the problem: I'm fairly > new to MPI and SSH and I'm still quite confused even after reading some > tutorials.
There is a default. But you can also specify it on the command line to test it: mpiexec -host modelstation -np 2 mpihello -- Reuti > My etc/hosts contains: 127.0.0.1 localhost and 127.0.1.1 modelstation > (modelstation is the machine name I was mentioning in the previous mail) > > if I type hostname the terminal returns modelstation > > Cheers > > > > Reuti <re...@staff.uni-marburg.de> ha scritto: > >> Am 26.08.2013 um 12:15 schrieb Federico Carotenuto: >> >>> I'm currently having this issue with mpirun: I want to launch a program >>> only on the cores of the local machine, but every time I run an mpi program >>> it says that the host 127.0.0.1 <local_machine_name> with it's associated >>> key is unkown and asks me if I want to add it to the list of ssh known >>> hosts. >>> >>> By chowing/chmodding the .ssh file I was able to permanently add this >>> "host" to the list of known hosts, but my problem is that every program >>> that I try to run ask me to insert a password (the actual local user >>> password) n times where n is equal to the -np parameter (i.e.: if I run the >>> program on 8 cores I receive 8 successive password pronts). >>> >>> If I insert the password everything runs fine, but it's quite annoying and >>> I wish to bypass such step: is there a way to have mpirun memorize the >>> password? Or make him understand that the 8 nodes are actually 8 cores on >>> the local machine and not 8 different hosts? >> >> Which hostname do you specify in your machinefile? >> Which hostnames are set in /etc/hosts for your local machine? >> What is the output of `hostname`? Does it match the one in the machinefile? >> >> For systemd there is a new command `hostnamectl --static set-hostname >> [NAME]` to set it. >> >> -- Reuti >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users >> > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users