EMS and hosts problem

All issues/questions about EMS v3.4 package, please ask here.
Post Reply
nebojsa
Posts: 133
Joined: Sun Mar 21, 2010 3:40 pm

EMS and hosts problem

Post by nebojsa » Mon Aug 10, 2015 12:30 pm

Hi folks!

I have a problem with host resolving in EMS on OpenSUSE 13.1. This problem was easy to solve in earlier issues of EMS, but with this last one it is not the case.
In /etc/hosts :
127.0.0.1 localhost
192.168.43.22 linux-c5hm

In run_ncpus.conf:
REAL_NODECPUS = 1
WRFM_NODECPUS = 1

Arranged passwordless ssh.

and after ems_run I got this:

Starting EMS routine ems_run (V3.4.1.15.16) on linux-c5hm.site at Mon Aug 10 11:55:36 2015 UTC

I. Preparing your EMS Run experience

* You are running the WRF NMM core. Hey Ho! Let's go! - model'n!

* Simulation start and end times:

Domain Start End

1 2015-08-03_00:00:00 2015-08-03_12:00:00

* Simulation length will be 12 hours

* A large timestep of 8 seconds will be used for this simulation

! Cumulus Scheme

Only the Grell 3D scheme (5) is designed for DX < 10km. Domain 1 DX is 3.87 km.

! Hostname linux-c5hm.site (1) can not be resolved from linux-c5hm.site - bummer no
host with IP 127.0.0.1

I've tried to put all possible options in run_ncpus.conf but it allways crashed.

Any idea folks? What it could be?

nebojsa
Posts: 133
Joined: Sun Mar 21, 2010 3:40 pm

Re: EMS and hosts problem

Post by nebojsa » Mon Aug 10, 2015 4:42 pm

PS
If in run_ncpus.conf is:

REAL_NODECPUS = local:1
WRFM_NODECPUS = local:1

then it stops on line:

II. Creating the initial and boundary condition files for the user domain(s)
* The WRF REAL program shall be run on the following systems and processors:
1 processors on linux-c5hm.site (1 tile per processor)
* Creating WRF initial and boundary condition files
(here it stops)

and in log/run_real.log is notice:

ssh: Could not resolve hostname linux-c5hm.site: Name or service not known

The same happens if I put:
REAL_NODECPUS = linux-c5hm:1:[actual IP]
WRFM_NODECPUS = linux-c5hm:1:[actual IP]

Passwordelss ssh works.

nebojsa
Posts: 133
Joined: Sun Mar 21, 2010 3:40 pm

Re: EMS and hosts problem

Post by nebojsa » Thu Sep 10, 2015 6:47 am

Solved. Problem was in /etc/HOSTNAME

Post Reply