error building swak4foam
I am building swak4foam on a cluster with OpenFOAM 2.2.0. Here is my steps:
- I load my OpenFOAM environement first, then go to $WM_PROJECT_USER_DIR directory - I donwload https://github.com/wyldckat/swak4foa...ive/master.zip and unpack it - I loaded Flex and Bison modules - cd swak4foam-master/; ./Allwmake 2>&1 > make.log My 'make.log' is attached. It contains errors like: Code:
could not open file polyMesh.H for source file repositories/SurfacesRepository.C Code:
SOURCE=repositories/SurfacesRepository.C ; icpc -std=c++0x -Dlinux64 -DWM_DP -w Can anyone help please? |
Quote:
Quote:
|
Quote:
m/2.2.0/intel-11.1/intel-4.0/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude)? No idea (and I don't have an Intel-compiler to test it) |
Quote:
Code:
echo $FOAM_SRC |
Quote:
Code:
ls blalaPath/polyMesh.H Some people have compiled swak with the Intel-compiler. So it should be feasible. Maybe one of them can assist you |
Quote:
Thanks for your advice. I checked those files again. While the path is indeed correct, I found that the files in $FOAM_SRC/src/OpenFOAM/lnInclude/ are actually symbolic links pointing to files elsewhere. I then found that some of those files have incorrect permissions so that they cannot be read by a normal user on the system. So basically my OpenFOAM installation is somewhat broken. I will ask the system people to correct those file permissions first. I will report back the outcome later. |
After fixing the file permission problem, my compiling can go a bit longer, until it stopped with another error, related to the Intel compiler, as discussed in this thread (http://www.cfd-online.com/Forums/ope...ion-2-0-a.html). I am not exactly clear after reading that thread: is the problem completely fixed by using a new version of Intel compiler? I am using an old cluster with OpenFOAM built with intel compiler version 11.x. But new versions 12.x and 13.x are also available.
|
Hello dear Bernhard,
sorry for propound this here, but could you introduce me for some line about historty of groovyBC and the creator( I mean you!) I need these information for my thesis.I sent an email to you too before.thanks. |
Quote:
a) I don't have an Intel-compiler b) didn't want to read through all 50 Postings in the thread to find out which one you meant. Hint: for linking to a specific posting use the #23 link that every posting has |
Quote:
|
Error in installation
Hi Bernhard,
Thank you very much for your help in this post. I am trying to compile swak4foam but running into a little problem of one of the files in Gcc46 folder not found. I did check the source and the file was there, so I am really not sure what went wrong. Attached below is the log of my compilation. Could you please take a look? Thank you very much for your help. Quote:
|
Quote:
|
Quote:
There are no proper papers on it (I'm not in academia so I don't have to write a paper on EVERYTHING I do). People in the past when referencing it either referred to the Wiki-page (this is the 21st century. URLs can be used as references. They might change, I'm aware of that) or one of the presentations listed on the swak-page. Reason why I wrote groovyBC was that before that I had written a utility to set a parabolic inlet condition. People were asking questions on that ("How do I use it for a different orientation") and I figured "with that thing people don't have to write C++ so they'll ask less questions". Turned out that I was wrong … (that is the interesting part on the history of groovyBC as far as I'm concerned) |
Quote:
Are you one of these people who already updated to Mavericks (which I believe is darwin13). MacPorts recommends reinstalling the whole MacPorts-tree after a OS-Upgrade like this (my theory: you installed gcc46 on 10.8, upgraded to 10.9 now gcc46 doesn't know where to find stuff). Even if I'm wrong: try uninstalling gcc46 and reinstalling it |
Quote:
By the way, after I installed the development version of swak4Foam, the space problem disappeared. |
Quote:
a) there is documentation b) more people need the "other" average. So I decided to name this function differently than the OF-convention About the space: strange. Don't remember fixing that |
Quote:
|
Hi Bernhard,
The problem was exactly what you pointed out. I've reinstalled everything and it can compile smoothly now. Thank you very much for your help. |
Quote:
|
Greetings to all!
Quote:
But I'd like to point out an important detail - @macelee: you should have downloaded from the OF22X branch, not the master branch, as explained here: http://www.cfd-online.com/Forums/ope...tml#post434217 post #8 Best regards, Bruno |
All times are GMT -4. The time now is 07:16. |