Project

General

Profile

Task #2351

Avoid the SIMD module depending on non-trivial parts of Gromacs

Added by Erik Lindahl about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
uncategorized
Close

Description

We have already discussed having the SIMD module work independently of the rest of Gromacs so it can be used by other projects.

First, we should avoid adding any new dependencies on the code (don't include any more headers, and don't use more stuff from existing ones).
Simple things like classhelpers and real definitions should be trivial to fix.

Apart from this, the only major dependency introduced is ArrayRef. If this is absolutely necessary to have for SIMD, it should likely be moved out of the SIMD module.

History

#1 Updated by Mark Abraham about 1 month ago

The python scripts behind make check-source have the ability to check for this and fail the build, but making that work is not a priority just now.

#2 Updated by Erik Lindahl about 1 month ago

  • Target version set to future

Just to clarify - this is a long-term task. It's definitely not relevant for release-2018.

#3 Updated by Mark Abraham about 1 month ago

Agree. Also things like separating utility module into some more layers (and adding checks to enforce that), and resolving dependency suppressions introduced between 2016 and 2018 need to go into such work plans. gpu_utils makes some sense sitting above utility, but perhaps not for all parts of it.

Also available in: Atom PDF