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

lammps experiment.py #446

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

lammps experiment.py #446

wants to merge 7 commits into from

Conversation

rfhaque
Copy link
Collaborator

@rfhaque rfhaque commented Nov 24, 2024

No description provided.

@rfhaque rfhaque requested a review from pearce8 November 24, 2024 04:44
@github-actions github-actions bot added experiment New or modified experiment application New or modified application labels Nov 24, 2024
@@ -9,10 +9,22 @@

class Lammps(BuiltinLammps):

depends_on("kokkos+openmp", when="+openmp")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this not in the upstreamed package? Did ORNL not need this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a standalone openmp mode in lammps where we disable the kokkos pacakge and just enable the openmp one (~kokkkos+openmp-package) With this spack spec, we always enable kokkos with the desired backend (+kossos+openmp)
We can ask ORNL which one of +kokkos+openmp or +openmp-package+openmp is preferable.

@@ -20,8 +20,8 @@ compilers:
modules: []
environment:
prepend_path:
LD_LIBRARY_PATH: /opt/cray/pe/cce/16.0.0/cce/x86_64/lib
extra_rpaths: [/opt/cray/pe/cce/16.0.0/cce/x86_64/lib/, /opt/cray/pe/gcc-libs/]
LD_LIBRARY_PATH: "/opt/cray/pe/cce/16.0.0/cce/x86_64/lib:/opt/rocm-5.5.1/lib"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this works on both the static and dynamic tioga?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will not work on static tioga. I'll need to add the LD_LIBRARY_PATH

Copy link
Collaborator

@pearce8 pearce8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please add a dry run
  • Does this work on any system other than Tioga at this point?

@rfhaque
Copy link
Collaborator Author

rfhaque commented Nov 28, 2024

  • Please add a dry run
    Will do that
    • Does this work on any system other than Tioga at this point?
      The code works on tioga(openmp, rocm) and ruby(openmp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application New or modified application experiment New or modified experiment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants