CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

List all dependencies using a shell command

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2016, 21:17
Default List all dependencies using a shell command
  #1
New Member
 
toboto
Join Date: Jun 2016
Posts: 20
Rep Power: 9
toboto is on a distinguished road
Dear Foamers,

In previous I've used a shell command to list all dependencies for a specific class or header file which was very helpful. Unfortunately I didn't use this command for long time and I forgot it.

Can anyone help me with this command or any similar tool/command to recursively get the dependencies list

Best regards.
toboto is offline   Reply With Quote

Old   October 12, 2016, 10:12
Default
  #2
New Member
 
Sergej
Join Date: Aug 2015
Location: Cologne, Germany
Posts: 10
Rep Power: 10
tonky is on a distinguished road
I am not really sure, but was it maybe "foamList"?

http://cfd.direct/openfoam/user-guid...ard-utilities/
tonky is offline   Reply With Quote

Old   October 12, 2016, 17:25
Default
  #3
New Member
 
toboto
Join Date: Jun 2016
Posts: 20
Rep Power: 9
toboto is on a distinguished road
Dear Sergej

Thanks for your contribution but unfortunately "foamList" isn't what I need (at least to the best of my knowledge). The command that I have used was even before release of version 4.0 when foamList first appearance.

The command that I need is something similar to:

Code:
gcc -H dimensionedTensor.H
or
Code:
gcc -M dimensionedTensor.H
Obviously this will not work with OpenFOAM header files. In this specific case it returns the following error:
Code:
dimensionedTensor.H:38:31: fatal error: dimensionedVector.H: No such file or directory
 #include "dimensionedVector.H"
So, If some one know any similar command/tool that have the same functionality as the above command please let me know.

Regards.
toboto is offline   Reply With Quote

Reply

Tags
dependencies list, shell command


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
Read inside a class tonyuprm OpenFOAM 12 July 14, 2010 02:35
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 04:41


All times are GMT -4. The time now is 13:39.