GeoscienceAustralia / eqrm

Automatically exported from code.google.com/p/eqrm
Other
5 stars 4 forks source link

demo_batchperf.py broken #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. eqrm_core/demo$ python demo_batchperf.py 
2.
3.

It crashes.

Original issue reported on code.google.com by duncan.g...@gmail.com on 7 Dec 2012 at 12:56

GoogleCodeExporter commented 9 years ago
Here's the error message:
STARTING BATCH PERFTEST
Parameter file names =  ['setdata_ProbHaz.py', 'setdata_ScenGM.py', 
'setdata_ScenRisk.py', 'setdata_ScenRisk2.py', 'setdata_ProbHaz.py', 
'setdata_ProbRisk.py']
============================
============================
Doing  setdata_ProbHaz.py
Logfile is './EQRM.log' with logging level of DEBUG, console logging level is 
INFO
WARNING: max_width term in EQRM control file is deprecated. Replaced with 
scenario_max_width=15.
librdmacm: couldn't read ABI version.
librdmacm: assuming: 4
CMA: unable to get RDMA device list
--------------------------------------------------------------------------
[[41197,1],0]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)
  Host: rhe-compute1.ga.gov.au

Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------
Pypar (version 2.1.4) initialised MPI OK with 1 processors
Logfile is './output/prob_haz/log-0.txt' with logging level of DEBUG, console 
logging level is INFO
JS*N{"parallel size": 1}
JS*N{"host name": "rhe-compute1.ga.gov.au"}
JS*N{"system platform": "linux2"}
event_set_handler = generate
P0: Generating event set
Using file ./input/newc_event_control.xml for event_type source
Using file ./input/newc_zone_source.xml for zone source
JS*N{"len_source_zones": 6}
P0: Saving event set to ./output/prob_haz/newc_event_set
P0: Event set created. Number of events=10000
JS*N{"len_events": 10000}
P0: Sites set created. Number of sites=4
JS*N{"len_max_GMPEs": 1}
JS*N{"len_recurrence_models": 1}
JS*N{"pseudo_events": 10000}
P0: do site 1 of 4
P0: do site 2 of 4
P0: do site 3 of 4
P0: do site 4 of 4
JS*N{"time_pre_site_loop_fraction": 0.7466666666666667}
event_loop_time (excluding file saving) 0:00:01.500000 hr:min:sec
JS*N{"event_loop_time_seconds": 1.5}
On node 0, rhe-compute1.ga.gov.au clock (processor) time taken overall 
0:00:01.500000 hr:min:sec.
JS*N{"clock_time_taken_overall_seconds": 1.5}
On node 0, rhe-compute1.ga.gov.au wall time taken overall 0:00:01.693125 
hr:min:sec.
JS*N{"wall_time_taken_overall_seconds": 1.6931250095367432}
On node 0, rhe-compute1.ga.gov.au wall time taken overall 0:00:01.693125 
hr:min:sec.
log_analysis - using log file ./output/prob_haz/log-0.txt

Traceback (most recent call last):
  File "demo_batchperf.py", line 82, in <module>
    run_batch()
  File "demo_batchperf.py", line 58, in run_batch
    run_analysis(setdata=run)
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/perf.py", line 79, in wrapper
    memory_usage_locations = log_analysis()
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/perf.py", line 159, in log_analysis
    _, value = value_line.split('Resource usage: ', 1)
ValueError: need more than 1 value to unpack

Original comment by duncan.g...@gmail.com on 7 Dec 2012 at 12:57