View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000353 | OpenFOAM | Bug | public | 2011-12-09 16:12 | 2011-12-19 09:59 |
Reporter | nsf | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | All | OS | Ubuntu | OS Version | 11.10 |
Summary | 0000353: Instructions for git install on ubuntu 11.10 are incomplete | ||||
Description | Two necessary steps are missing for a complete compilation in the instructions at http://www.openfoam.org/git.php. 1) Bison is not installed in ubuntu by default. Packages to install under "Dependent packages required for Ubuntu " should be complemented with bison 2) Missing include statement in ParaView-3.10.1/VTK/Utilities/vtkmetaio/metaUtils.cxx The line #include <stddef.h> must be added to the above file. This is discussed in this thread http://www.cfd-online.com/Forums/openfoam-installation/93405-openfoam-2-0-x-ubuntu-11-10-a.html#post327946 | ||||
Steps To Reproduce | Clean install of Ubuntu 11.10 then follow the instructions at http://www.openfoam.org/git.php | ||||
Tags | No tags attached. | ||||
|
FYI: Point 2 is resolved using ParaView 3.12 (you need to correct the version of ParaView set into ~/OpenFOAM/OpenFOAM-2.0.x/etc/config/paraview.sh). |
|
Hey Alberto, thank you for the tip. 3.12 seems to bring some nice features so I think I'll upgrade. I saw that there still was some activity in the thread at cfd-online so I thought I'd contribute since point 1 is really easy to fix. Best Regards Nicolas |
|
Just a little question: I haven't checked this yet for myself, but "bison" is needed to build what exactly? OpenFOAM code or ParaView code? |
|
You are right it's not OpenFOAM that needs bison but the decomposition library scotch. It's needed when compiling "parser.c" |
|
Could you post the actual error message when compiling scotch? There is a last_resort folder containing a precompiled parser. If scotch does not find bison then it simply copies those files from the last_resort folder. |
|
This was a while back and I'm not entirely sure I've got the right log file but the relevant parts are included below. I would seem you are right, it does copy files from the last_resort folder. However as I recall the .../scotch_5.1.11/bin folder was empty after compilation, though I cannot be sure. It's also possible I just got spooked by the make: Error message. gcc -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -Drestrict=__restrict -fPIC -c parser.c -o parser.o parser.c: In function ‘_SCOTCHstratTestSave’: parser.c:593:7: warning: format not a string literal and no format arguments parser.c:595:7: warning: format not a string literal and no format arguments parser.c:599:9: warning: format not a string literal and no format arguments parser.c:601:9: warning: format not a string literal and no format arguments (bison -pscotchyy -y -b y -d -v parser_yy.y && \ mv y.tab.c parser_yy.c && \ mv y.tab.h parser_ly.h) || \ cp last_resort/parser_ly.h last_resort/parser_yy.c . /bin/sh: bison: not found And way down: cp -f ../bin/[agm]* /home/nico/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc/scotch_5.1.11/bin cp: cannot stat `../bin/[agm]*': No such file or directory make: [install] Error 1 (ignored) what are your thoughts? |
|
Could you put the whole log up? It's not clear the make install error is related. |
|
|
|
There is a bug in the scotch Makefile, where 'make install' will not copy the binaries to the install prefix for ptscotch (the binaries begin with 'd' but the regex only looks for [agm]). OpenFOAM doesn't use the binaries so you can ignore the error. Thanks for the report. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-09 16:12 | nsf | New Issue | |
2011-12-11 04:28 | albertop | Note Added: 0000835 | |
2011-12-11 14:45 | nsf | Note Added: 0000836 | |
2011-12-14 11:28 | wyldckat | Note Added: 0000838 | |
2011-12-14 20:51 | nsf | Note Added: 0000844 | |
2011-12-15 10:52 |
|
Assigned To | => user17 |
2011-12-15 10:52 |
|
Status | new => assigned |
2011-12-15 11:21 |
|
Note Added: 0000845 | |
2011-12-15 18:28 | nsf | Note Added: 0000846 | |
2011-12-15 18:53 |
|
Note Added: 0000847 | |
2011-12-17 07:43 | nsf | File Added: Allwmake.log.tgz | |
2011-12-19 09:57 |
|
Note Added: 0000849 | |
2011-12-19 09:58 |
|
Note Edited: 0000849 | |
2011-12-19 09:59 |
|
Status | assigned => resolved |
2011-12-19 09:59 |
|
Resolution | open => no change required |