hiker / fab

Flexible build system for scientific software
https://metomi.github.io/fab/
Other
1 stars 0 forks source link

Support dependencies in OMP Sentinels #13

Closed hiker closed 2 weeks ago

hiker commented 4 months ago

Some code contains:

!$ USE compute_chunk_size_mod, ONLY: compute_chunk_size  ! Note OpenMP sentinel

These dependencies are missed atm.

Since fparser is already looking at comments (in order to identify DEPENDS ON: statements), this could also be used to handle these kind of dependencies:

  1. Remove the Sentinel
  2. Try to match the rest using fparser use statements
  3. add the dependencies
hiker commented 4 months ago

While this code works, it was agreed that this should be supported by fparser. I'll leave this ticket open till the next fparser release, which then would only require to enable this support in fparser (since it will be disabled by default).

hiker commented 2 weeks ago

Migrated to new repo.