|
[Sponsors] |
Stuff that is missing in OpenFOAM 1.7 released today... |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 26, 2010, 15:34 |
Stuff that is missing in OpenFOAM 1.7 released today...
|
#1 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Dear OpenCFD developers,
I think it's the 3rd year in a row that you've left out the Make files for libccmio in the ThirdParty folder In other words, the folder "ThirdParty-1.7/wmakeFiles/libccmio", with the files "files" and "options", is missing (again) Best regards, Bruno PS: Sweet work with the release of the Debian packaging! That will make life easier for a lot of beginners Many thanks!! NOTE: This note is just because some user might report aimlessly about this issue in a near future, although it's not a critical error at all: foamInstallationTest doesn't give an OK report with the debian package, because "/opt/ThirdParty-1.7" folder doesn't exist. Additionally, since the system gcc is picked, it looks for it in the folder "/bin/gcc", when in Ubuntu it's "/usr/bin/gcc".
__________________
Last edited by wyldckat; June 26, 2010 at 17:41. Reason: added "NOTE"... |
|
June 27, 2010, 12:36 |
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
I have repacked the ThirdParty-1.7.tgz with the Make file for libccmio.
The foamInstallationTest script is for the source-build installation as described in the README.org file, not for the Debian pack installation. H |
|
July 12, 2010, 19:24 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Henry,
I'm sorry for pulling this thread back up, but it seemed more appropriate to post here, rather then starting a new thread. Oh and thanks again for the quick repackaging! This post is to report that AllwmakeLibccmio will not work with the general shell sh (more specifically, Ubuntu's dash). But it worked with bash, similarly to what use to happen with the All* tutorial scripts. The only fail point with sh was in the function cpMakeFiles, that although it did create the folder Make inside libccmio-2.6.1, but it did not manage to copy the existing files in the folder wmakeFiles/libccmio My apologies for not finding+reporting this sooner and sadly I can't figure out why it doesn't work with dash either Best regards, Bruno
__________________
|
|
July 13, 2010, 06:48 |
|
#4 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
There seems to be a difference of opinion between bash and ash/dash concerning the outcome of the "newer than" conditional "-nt" when one of the files does not exits. To avoid this we can add an explicit test for the existence of the files before using "-nt".
So in cpMakeFiles use the condition: if [ ! -e $dst/$d/Make/$b -o $wmakeFiles/$i -nt $dst/$d/Make/$b ] which seems to work fine with dash. H |
|
July 14, 2010, 03:55 |
|
#5 | ||
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
Quote:
|
|||
July 14, 2010, 06:47 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all,
Henry: thank you for the quick response. It works very well with dash Too bad this wont get to be repackaged in 1.7.0 Olesen: But sadly dash doesn't think the same: Quote:
Don't forget that bash stands for Bourne-Again SHell Best regards, Bruno
__________________
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Version 1.6 Released | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 27, 2009 18:55 |
OpenFOAM Version 1.5 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 14, 2008 19:22 |
OpenFOAM Version 1.4.1 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | August 3, 2007 08:31 |
OpenFOAM Version 1.3 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | March 29, 2006 19:06 |
OpenFOAM Version 1.1 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | March 11, 2005 06:33 |