Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DISCUSSION] Profiling GCHP Performance using external utilities #233

Open
lizziel opened this issue Jun 28, 2022 · 1 comment
Open

[DISCUSSION] Profiling GCHP Performance using external utilities #233

lizziel opened this issue Jun 28, 2022 · 1 comment
Labels
category: Discussion An extended discussion of a particular topic topic: Performance Related to GCHP model speed and/or memory

Comments

@lizziel
Copy link
Contributor

lizziel commented Jun 28, 2022

Discussed in https://github.com/geoschem/GCHP/discussions/142

Originally posted by WilliamDowns May 11, 2021
This issue is intended for discussing profiling GCHP performance using various external utilities such as TAU, IPM, Intel VTune, etc.

In my testing I found that using TAU causes GCHP to hang during ExtData initialization when using the -ebs -ebs_resolution=function option with tau_exec. I've successfully completed runs using mpirun -np ${SLURM_NPROCS} tau_exec ./gchp >> ${log}, which outputs profiling data at the MPI call level.

I'm unable to compile GCHP with TAU, as CMake hangs when I set my Fortran compiler variables to TAU's requested compiler script (whether through setting FC=$(spack location -i tau)/bin/tau_f90.sh or using DCMAKE_Fortran_COMPILER=$(spack location -i tau)/bin/tau_f90.sh).

My system + run config:

  • AWS ParallelCluster 2.10.1, centos7
  • GNU Compilers 9.3.0
  • Intel MPI 2019U10
  • TAU 2.30.1
  • GCHP 13.0.2
  • c90
  • 9 nodes / 324 cores (8 model nodes and 1 output node)
  • Emissions, Metrics, SpeciesConc diagnostics
  • 1 week simulation

I also found that IPM does not compile with GCC 9.3.0, but does compile when using ifort 2021.2.

@lizziel lizziel added the category: Discussion An extended discussion of a particular topic label Jun 28, 2022
@lizziel
Copy link
Contributor Author

lizziel commented Jun 28, 2022

We are switching from GitHub Discussions to GitHub Issues. I am going to delete the Discussion now. The history of the thread is as follows:

@lizziel:

@mathomp4, @tclune: could you comment on what tools you currently use to profile GEOSgcm / GEOSctm performance?

@mathomp4:

I'm going to ping @aoloso here as well as he's done more profiling recently compared to me. I think the last few times I did so was with ARM MAP and Intel Vtune. TAU has always been my archenemy. You get it working and then the next day it doesn't work.

@lizziel:

@mathomp4, did you hear back form anyone about tools recently used for profiling GEOS?

@mathomp4:

@lizziel As I said, MAP, VTune and TAU are the three tools I and @aoloso have used for GEOS. I tend to use MAP first as it is usually the most user friendly, though it can't get the detail that TAU does.

@lizziel lizziel added the topic: Performance Related to GCHP model speed and/or memory label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Discussion An extended discussion of a particular topic topic: Performance Related to GCHP model speed and/or memory
Projects
None yet
Development

No branches or pull requests

1 participant