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

[OpenFOAM.org] Dependency tetPoints.H --> tetPointRef.H OF-dev

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2017, 01:34
Default Dependency tetPoints.H --> tetPointRef.H OF-dev
  #1
New Member
 
Bernard
Join Date: Feb 2017
Posts: 4
Rep Power: 9
berny.tuegs is on a distinguished road
Edit: with more errors at compilation, I removed all dep files and started the compilation from scratch. that seemed to do the trick.


Hi all,
I encountered an error when pulling and recompiling Weller's OF-dev version. The file "tetPoints.H" is still a dependency for many of the C files in src/OpenFOAM. It seems this file has recently changed to tetPointRef.H and has been pared down, although I checked the commit history and it is a completely new file.

As I type this, "tetPoints.H" is also giving me grief elsewhere in the compilation process.

Here's my solution.

Code:
cd $FOAM_SRC
grep -rl tetPoints.H . | xargs sed -i 's/tetPoints.H/tetPointRef.H/g'
There are some solvers that depend on tetPoints.H as well. You can repeat the process for that.

To anyone higher up, please let me know if this approach is wrong.

Last edited by berny.tuegs; June 2, 2017 at 03:15. Reason: I found a better solution.
berny.tuegs is offline   Reply With Quote

Old   June 4, 2017, 17:52
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: In the following page are instructions on how to update your installation when building from source code: https://openfoam.org/download/source...ling-openfoam/
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
compilation, error, tetpoints.h


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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 04:04
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


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