E3SM-Project / pace

Performance Analytics for Computational Experiments
https://pace.ornl.gov
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

preview_run.log : Capture number of nodes info from this file #98

Closed sarats closed 2 years ago

sarats commented 2 years ago

Example: https://pace.ornl.gov/exp-details/106118

Parse the file to get the following info:

preview_run.log.556061.220506-194028.gz

CASE INFO:
  nodes: 1
  total tasks: 36
  tasks per node: 36
  thread count: 1
  ngpus per node: 0
....

    MPIRUN (job=case.run):
      srun  -l -n 36 -N 1 --kill-on-bad-exit  --cpu_bind=cores -c 1 -m plane=36 /lcrc/group/e3sm/ac.boutte3/scratch/anvil/test_perf_archive/build/e3sm.exe   >> e3sm.log.$LID 2>&1

Also record the full command line for MPIRUN: srun -l -n 36 -N 1 --kill-on-bad-exit --cpu_bind=cores -c 1 -m plane=36 /lcrc/group/e3sm/ac.boutte3/scratch/anvil/test_perf_archive/build/e3sm.exe >> e3sm.log.$LID 2>&1