mpirun error could not resolve hostname [resolved]

assalamu’alaikum warahmatullahi wabarakatuh…

sometimes when i am trying to launch a job using mpirun. i got this message

mpirun -np 4 /usr/local/nwchem-6.3/bin/LINUX64/nwchem ni-2h2o.nw

ssh: Could not resolve hostname sol01: Name or service not known

to overcome this problem, we can simply add this option

mpirun -np 4 -host localhost /usr/local/nwchem-6.3/bin/LINUX64/nwchem ni-2h2o.nw

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s