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

Only include directives get added as symbols #1403

Open
dschwen opened this issue Nov 19, 2020 · 4 comments
Open

Only include directives get added as symbols #1403

dschwen opened this issue Nov 19, 2020 · 4 comments

Comments

@dschwen
Copy link

dschwen commented Nov 19, 2020

When indexing github.com:idaholab/moose the rdm output does not indicate any errors

[ 81%] 1980/2434 18:23:36 ~/Programs/moose/modules/phase_field/src/interfacekernels/EqualGradientLagrangeMultiplier.C in 12226ms. (6 syms, 10 symNames, 3 includes, 2 of 713 files, symbols: 4 of 35034, 35431 cursors, 53587 bytes written, 1 queried 111ms) (11962/247/7ms). (priority 1)
[ 81%] 1981/2434 18:23:36 ~/Programs/moose/modules/phase_field/src/interfacekernels/EqualGradientLagrangeInterface.C in 12162ms. (6 syms, 10 symNames, 3 includes, 2 of 713 files, symbols: 4 of 35034, 35431 cursors, 52232 bytes written, 1 queried 142ms) (11860/284/8ms). (priority 1)
[ 81%] 1982/2434 18:23:36 ~/Programs/moose/modules/phase_field/src/vectorpostprocessors/EulerAngleUpdaterCheck.C in 13484ms. (10 syms, 18 symNames, 7 includes, 2 of 750 files, symbols: 8 of 41316, 41713 cursors, 68994 bytes written, 2 queried 175ms) (13138/328/9ms). (priority 1)
[ 81%] 1983/2434 18:23:36 ~/Programs/moose/modules/phase_field/src/interfacekernels/InterfaceDiffusionFluxMatch.C in 12087ms. (7 syms, 12 symNames, 3 includes, 3 of 713 files, symbols: 4 of 35033, 35430 cursors, 53499 bytes written, 2 queried 193ms) (11722/338/16ms). (priority 1)
[ 82%] 1984/2434 18:23:37 ~/Programs/moose/modules/phase_field/src/interfacekernels/InterfaceDiffusionBoundaryTerm.C in 13031ms. (5 syms, 8 symNames, 2 includes, 2 of 713 files, symbols: 3 of 35033, 35430 cursors, 48430 bytes written, 2 queried 33ms) (12718/294/7ms). (priority 1)
[ 82%] 1985/2434 18:23:41 ~/Programs/moose/modules/phase_field/src/action/KKSAction.C in 12451ms. (8 syms, 16 symNames, 6 includes, 2 of 686 files, symbols: 6 of 34847, 35244 cursors, 46645 bytes written, 1 queried 24ms) (12216/214/12ms). (priority 1)

but the number of symbols indexed in each source file is unexpectedly small:

> rc -o --path-filter=~/Programs/moose/modules/phase_field/src/interfacekernels/EqualGradientLagrangeMultiplier.C -F --display-name --no-context
modules/phase_field/src/interfacekernels/EqualGradientLagrangeMultiplier.C:1:1:
modules/phase_field/src/interfacekernels/EqualGradientLagrangeMultiplier.C:10:1:	#include EqualGradientLagrangeMultiplier.h
modules/phase_field/src/interfacekernels/EqualGradientLagrangeMultiplier.C:13:1:	#include MooseVariable.h

This is on macOS Catalina (same issue on Mojave) with rtags 2.39.133 (but the issue has been bugging me for months now).

@jhanssen
Copy link
Collaborator

Could you try enabling the compiler manager option (-R) and see if that helps?

@dschwen
Copy link
Author

dschwen commented Nov 19, 2020

I will try that. In the mean time more -v debugging got me to add ad -I option to rdm with a path to some clang includes -I /Users/schwd/miniconda3/pkgs/clang-9.0.1-default_hf57f61e_0/lib/clang/9.0.1/include/. A library was using an SSE3 intrinsics header that rdm did not find before.

@dschwen
Copy link
Author

dschwen commented Nov 19, 2020

Sounds like -R would have helped as well here! Thanks! If there isn't an alternate support channel, how would you feel about enabling GitHub Discussions for this project. We switched over to it and are pretty happy with it.

@dschwen
Copy link
Author

dschwen commented Nov 19, 2020

With -R I get CompilerManager: Cannot extract standard include paths.. In our build process we use an MPI compiler wrapper (mpicxx from mipch 2).

@dschwen dschwen changed the title Only include directives get added as ymbols Only include directives get added as symbols Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants