Skip to content

Tinker9 Compilation with newer nvhpc versions (>24.5) #260

@jeremyleung521

Description

@jeremyleung521

#259 suggested that I had to comment out certain lines for cc89, but I also struggled with getting the -ta and -Mcudalib flags running, which was removed in recent nvhpc versions (I tried 25.1).

They way I got around it is this:

  • modify these lines: I replaced -ta=... flag with -acc -gpu.
  • comment out these lines and change line 4 from -Mcudalib to -cudalib.

Not at all familiar with cmake, so hope these changes make sense (and may actually help someone)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions