paraFoam not found
Dear Foamers,
i have a problem when compiling Paraview 3.8.0 and typing ./Allclean Code:
./Allclean > make.log 2>&1 HTML Code:
++ rm -rf 'platforms/build-*' Code:
/home/maysam/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam: 135: paraview: not found thanks |
Hi Maysam,
I think you got the scripts confused :( The Allclean script is for cleaning/removing the files used for building the libraries. The makeParaView script is for building ParaView! ... Wait, now I understand why you got stuck: Quote:
Best regards, Bruno |
Thanks dear Brunu,
when i type ./Allclean the errors (2 and 127) i told are displayed. i wrote ./makeParaView too but in case folder typing paraFoam leads to "not found" error:confused: |
Hi Maysam,
Don't worry about the errors in Allclean. But if makeParaView failed to build, then please run: Code:
./makeParaView > makePV.log 2>&1 Best regards, Bruno |
No error occurred.:D
paraFoam is working now. Thanks |
I met the same problem. But I still could not figure out how maysmech solve it. Could you please let me know?
|
Greetings Argen,
Which exactly was the problem you got? Maysam had two separate issues... Best regards, Bruno |
Quote:
|
hi all,"
i have exactly the same problem as maysmech: error 2, error 127 when makeParaView, and 135: paraview: not found. am i right in understanding that your suggestion is to replace the line ./makeParaView with: ./makeParaView > makePV.log 2>&1? and run everything else as before? (sorry im brand new into OpenFOAM) ....it didnt work for me unfortunately :( Thank you in advance! |
Greetings Karl and welcome to the forum!
Ah, the idea is to pack the "makePV.log" file: Code:
tar -czf makePV.log.tar.gz makePV.log But this is now an old thread. What version of OpenFOAM and ParaView are you trying to build? Also, since I don't know which version exactly you are trying to build, check this blog post of mine: Related issues to ParaView with OpenFOAM - Fixes and solutions - it has several solutions for building and working with ParaView. Best regards, Bruno |
iv got openfoam 1.7.0 and paraview 3.8.0.
sorry i still dont fully understand your instructions :(...what does the "makePV.log" file do? what do you mean by"pack" the file, and "attach the packaged file in your next post"? (what's a post? the line i type in the command window?) just to be crystal clear, the website instructed: "... to install Paraview, execute the following:
what changes should i make? again thx a lot for your time and patience! |
Hi Karl,
Quote:
Meaning of "Log": «any of various records, made in rough or finished form, concerning a trip made by a ship or aircraft and dealing with particulars of navigation, weather, engine performance, discipline, and other pertinent details; logbook.» - Source: http://dictionary.reference.com/browse/log Therefore, the naming of the "makePV.log" file stands for "log of the output messages made by makeParaView" ;) Quote:
Quote:
Quote:
Best regards, Bruno |
1 Attachment(s)
hi ,
ha, i see :)...pls see attachments for all my log files thx Bruno, u r a legend! ^^ |
Hi Karl,
Mmm... your system is missing cmake (you need to install it) and something else... but I can't figure out what that something else is :( Which Linux distribution are you using? Ubuntu, openSUSE, Fedora, RHEL or some other distribution? And which architecture do you have installed? Run the following command to find out: Code:
uname -m Best regards, Bruno |
arr, this is getting awfully complex for me (i literally installed Ubuntu a few days ago for a project which requires openfoam 1.7) :(...can you give me more tips as to how to install cmake?
im using Ubuntu and architecture = i686 |
Hi Karl,
Mmm... I suppose that you are using Ubuntu 11.10? Can you please confirm which version of Ubuntu you have? For now, you should install the necessary packages like this: Code:
sudo apt-get install build-essential flex cmake zlib1g-dev gnuplot libreadline-dev libxt-dev Best regards, Bruno |
im actually using Ubuntu 11.04
|
Hi Karl,
Mmm... any chance you can use OpenFOAM 1.7.1 instead of 1.7.0? Because 1.7.0 will not compile properly with the default gcc 4.5.2 that comes with Ubuntu 11.04 :( If you can install 1.7.1, it just be easy enough to build everything after you installed those packages I've written in the previous post. If you must really install 1.7.0, then you'll need a few more packages: Code:
sudo apt-get install gcc-4.4 g++-4.4 Code:
foam Additionally you'll need to make a little fix: Code:
sed -i -e 's=cpp $(GFLAGS)=cpp -traditional-cpp $(GFLAGS)=' wmake/rules/linuxGcc/general Best regards and good luck! Bruno |
unfortunately, i might have to stick to 1.7.0 :(
in summary, after having built the sources, i did the following as u suggested: sudo apt-get install build-essential flex cmake zlib1g-dev gnuplot libreadline-dev libxt-dev sudo apt-get install gcc-4.4 g++-4.4 foam echo "export WM_CC='gcc-4.4'" >> etc/prefs.sh echo "export WM_CXX='g++-4.4'" >> etc/prefs.sh sed -i -e 's=cpp $(GFLAGS)=cpp -traditional-cpp $(GFLAGS)=' wmake/rules/linuxGcc/general Then:
created temporary 'cavity.OpenFOAM' /home/karl/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam: 135: paraview: not found thanks so much for your help so far, im really grateful! Best Karl |
1 Attachment(s)
and here are the log files
best Karl |
All times are GMT -4. The time now is 11:32. |