Problem ncpus and cores on fresh install

With soon inclusion of the NEMS NMM-B model into the EMS package, WRF EMS changes its name and becomes UEMS.
Post Reply
theocarter2911
Posts: 61
Joined: Fri Mar 08, 2013 5:22 am

Problem ncpus and cores on fresh install

Post by theocarter2911 » Mon Jul 24, 2017 2:52 pm

Hi All,
I have finally bid nmm goodbye and have done a fresh install EMS 15.99.5. Took a long time to download! Anyway, got the basics sorted and tried to do a single case benchmark. I have a two processor xeon with 8 cores each (not hyper threaded - so 16 logical cores).

On the first benchmark attempt I could see it was only doing real and run on 2 processors, so investigated. In the ../uems/etc/EMS.cshrc file there was an unreasonable amount of processors under the "cores" value of 128. Fixed the two values there to:
setenv NCPUS 2
setenv CORES 8

Then went to .../uems/conf/ems_run/arw/run_ncpus.conf and changed the following:
REAL_NODECPUS = local:15
WRFM_NODECPUS = local:15
# was 2 and 2

When I do a "sysinfo" I get the following under the relevant section:
Processor and Memory Information for localhost
CPU Name : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
CPU Instructions : sandybridge
CPU Type : 64-bit
CPU Speed : 2899.97 MHz
EMS Determined Processor Count
Physical CPUs : 2
Cores per CPU : 8
Total Processors : 16
EMS.cshrc Specified Processor Count
Physical CPUs : 2
Cores per CPU : 8
Total Processors : 16
Hyper-Threading : Off

So in sysinfo it looks fine. But when I do the benchmark again after a logout and back in:

The WRF REAL program shall be run on the following systems and processors:

2 processors on localhost (1 tile per processor)

* Creating WRF initial and boundary condition files

* Initial and boundary conditions created in 18 seconds

Moving on to bigger and better delusions of grandeur


III. Running ARW WRF while thinking happy thoughts


* The WRF ARW core shall be run on the following systems and processors:

2 processors on localhost (1 tile per processor)

* Run Output Frequency Primary wrfout Aux File 1
---------------------------------------------------
Domain 01 : 3 hours Off
And again further along in that same benchmark printout it again confirms that my processors appear fine:
Basic System Information for localhost

System Date : Mon Jul 24 13:45:49 2017 UTC
System Hostname : localhost
System Address : 127.0.0.1

System OS : Linux
Linux Distribution : "Scientific Linux release 6.4 (Carbon)"
OS Kernel : 2.6.32-696.3.2.el6.x86_64
Kernel Type : x86_64

Processor and Memory Information for localhost

CPU Name : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
CPU Instructions : sandybridge
CPU Type : 64-bit
CPU Speed : 2899.97 MHz

EMS Determined Processor Count
Physical CPUs : 2
Cores per CPU : 8
Total Processors : 16

This is making me bang my head, not sure where I am going wrong? Is it possible that the benchmark has been set up to only use two processors? That is not what I remember from previous installs.

Best regards, Theo

meteoadriatic
Posts: 1510
Joined: Wed Aug 19, 2009 10:05 am

Re: Problem ncpus and cores on fresh install

Post by meteoadriatic » Mon Jul 24, 2017 4:20 pm

Hello,

This file: uems/conf/ems_run/arw/run_ncpus.conf does nothing. It is just template for UEMS to create real config files for your domain.

For benchmark, it has it's own config files (in benchmark directory) so you need to change values there.

theocarter2911
Posts: 61
Joined: Fri Mar 08, 2013 5:22 am

Re: Problem ncpus and cores on fresh install

Post by theocarter2911 » Mon Jul 24, 2017 4:51 pm

Aaarghh! :-) That was it, never even thought it would have its very own settings. Thank you kindly!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest