CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] paraFoam not found

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2010, 15:34
Question paraFoam not found
  #1
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Dear Foamers,
i have a problem when compiling Paraview 3.8.0 and typing ./Allclean

Code:
./Allclean > make.log 2>&1
leads to:
HTML Code:
++ rm -rf 'platforms/build-*'
++ cd openmpi-1.4.1
++ make distclean
make: *** No rule to make target `distclean'.  Stop.
++ cd scotch_5.1/src
++ make clean
(cd libscotch ;      make clean)
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/scotch_5.1/src/libscotch'
rm -f *~ *.o lib*.so common2* parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output dummysizes
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/scotch_5.1/src/libscotch'
(cd scotch ;         make clean)
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/scotch_5.1/src/scotch'
rm -f *~ *.o acpl amk_ccc amk_fft2 amk_grf amk_hy amk_m2 amk_p2 atst gbase gcv *gmap gmk_hy gmk_m2 gmk_m3 gmk_msh gmk_ub2 gmtst *gord gotst gout *gpart *gscat *gtst mcv mmk_m2 mmk_m3 mord mtst
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/scotch_5.1/src/scotch'
(cd libscotchmetis ; make clean)
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/scotch_5.1/src/libscotchmetis'
rm -f *~ *.o lib*.so
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/scotch_5.1/src/libscotchmetis'
++ cd metis-5.0pre2
++ make realclean
make -C GKlib/trunk realclean
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/metis-5.0pre2/GKlib/trunk'
rm -f  ../builds/Linux-x86_64/b64.o  ../builds/Linux-x86_64/blas.o  ../builds/Linux-x86_64/dfkvkselect.o  ../builds/Linux-x86_64/dlmalloc.o  ../builds/Linux-x86_64/error.o  ../builds/Linux-x86_64/fs.o  ../builds/Linux-x86_64/getopt.o  ../builds/Linux-x86_64/htable.o  ../builds/Linux-x86_64/io.o  ../builds/Linux-x86_64/memory.o  ../builds/Linux-x86_64/omp.o  ../builds/Linux-x86_64/pdb.o  ../builds/Linux-x86_64/pqueue.o  ../builds/Linux-x86_64/seq.o  ../builds/Linux-x86_64/sort.o  ../builds/Linux-x86_64/string.o  ../builds/Linux-x86_64/timers.o  ../builds/Linux-x86_64/tokenizer.o  ../builds/Linux-x86_64/util.o ; rm -f ../builds/Linux-x86_64/libGKlib.a
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/metis-5.0pre2/GKlib/trunk'
make -C libmetis realclean
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/metis-5.0pre2/libmetis'
rm -f  ../build/Linux-x86_64/libmetis/balance.o  ../build/Linux-x86_64/libmetis/bucketsort.o  ../build/Linux-x86_64/libmetis/ccgraph.o  ../build/Linux-x86_64/libmetis/checkgraph.o  ../build/Linux-x86_64/libmetis/cmetis.o  ../build/Linux-x86_64/libmetis/coarsen.o  ../build/Linux-x86_64/libmetis/compress.o  ../build/Linux-x86_64/libmetis/debug.o  ../build/Linux-x86_64/libmetis/estmem.o  ../build/Linux-x86_64/libmetis/fm.o  ../build/Linux-x86_64/libmetis/fortran.o  ../build/Linux-x86_64/libmetis/frename.o  ../build/Linux-x86_64/libmetis/graph.o  ../build/Linux-x86_64/libmetis/initpart.o  ../build/Linux-x86_64/libmetis/kfmetis.o  ../build/Linux-x86_64/libmetis/kmetis.o  ../build/Linux-x86_64/libmetis/kvmetis.o  ../build/Linux-x86_64/libmetis/kwayfm.o  ../build/Linux-x86_64/libmetis/kwayrefine.o  ../build/Linux-x86_64/libmetis/kwayvolfm.o  ../build/Linux-x86_64/libmetis/kwayvolrefine.o  ../build/Linux-x86_64/libmetis/match.o  ../build/Linux-x86_64/libmetis/mbalance2.o  ../build/Linux-x86_64/libmetis/mbalance.o  ../build/Linux-x86_64/libmetis/mcoarsen.o  ../build/Linux-x86_64/libmetis/memory.o  ../build/Linux-x86_64/libmetis/mesh.o  ../build/Linux-x86_64/libmetis/meshpart.o  ../build/Linux-x86_64/libmetis/mfm2.o  ../build/Linux-x86_64/libmetis/mfm.o  ../build/Linux-x86_64/libmetis/mincover.o  ../build/Linux-x86_64/libmetis/minitpart2.o  ../build/Linux-x86_64/libmetis/minitpart.o  ../build/Linux-x86_64/libmetis/mkmetis.o  ../build/Linux-x86_64/libmetis/mkwayfmh.o  ../build/Linux-x86_64/libmetis/mkwayrefine.o  ../build/Linux-x86_64/libmetis/mmatch.o  ../build/Linux-x86_64/libmetis/mmd.o  ../build/Linux-x86_64/libmetis/mpmetis.o  ../build/Linux-x86_64/libmetis/mrefine2.o  ../build/Linux-x86_64/libmetis/mrefine.o  ../build/Linux-x86_64/libmetis/mrkmetis.o  ../build/Linux-x86_64/libmetis/mutil.o  ../build/Linux-x86_64/libmetis/myqsort.o  ../build/Linux-x86_64/libmetis/ometis.o  ../build/Linux-x86_64/libmetis/parmetis.o  ../build/Linux-x86_64/libmetis/pmetis.o  ../build/Linux-x86_64/libmetis/pqueue.o  ../build/Linux-x86_64/libmetis/refine.o  ../build/Linux-x86_64/libmetis/rkmetis.o  ../build/Linux-x86_64/libmetis/separator.o  ../build/Linux-x86_64/libmetis/sfm.o  ../build/Linux-x86_64/libmetis/srefine.o  ../build/Linux-x86_64/libmetis/stat.o  ../build/Linux-x86_64/libmetis/streamio.o  ../build/Linux-x86_64/libmetis/subdomains.o  ../build/Linux-x86_64/libmetis/timing.o  ../build/Linux-x86_64/libmetis/util.o ; rm -f ../build/Linux-x86_64/libmetis.a
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/metis-5.0pre2/libmetis'
make -C programs realclean
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/metis-5.0pre2/programs'
rm -f  ../build/Linux-x86_64/programs/cepic.o  ../build/Linux-x86_64/programs/cepic-rcb.o  ../build/Linux-x86_64/programs/cmdline_cmetis.o  ../build/Linux-x86_64/programs/cmdline_kfmetis.o  ../build/Linux-x86_64/programs/cmdline_pmetis.o  ../build/Linux-x86_64/programs/cmetis.o  ../build/Linux-x86_64/programs/graphchk.o  ../build/Linux-x86_64/programs/io.o  ../build/Linux-x86_64/programs/kfmetis.o  ../build/Linux-x86_64/programs/kmetis.o  ../build/Linux-x86_64/programs/mesh2dual.o  ../build/Linux-x86_64/programs/mesh2nodal.o  ../build/Linux-x86_64/programs/metis.o  ../build/Linux-x86_64/programs/mmetis.o  ../build/Linux-x86_64/programs/oemetis.o  ../build/Linux-x86_64/programs/onmetis.o  ../build/Linux-x86_64/programs/partdmesh.o  ../build/Linux-x86_64/programs/partnmesh.o  ../build/Linux-x86_64/programs/pmetis.o  ../build/Linux-x86_64/programs/smbfactor.o ../build/Linux-x86_64/metis5.0pre2 ../build/Linux-x86_64/pmetis5.0pre2 ../build/Linux-x86_64/kmetis5.0pre2 ../build/Linux-x86_64/oemetis5.0pre2 ../build/Linux-x86_64/onmetis5.0pre2 ../build/Linux-x86_64/mesh2dual5.0pre2 ../build/Linux-x86_64/mesh2nodal5.0pre2 ../build/Linux-x86_64/partdmesh5.0pre2 ../build/Linux-x86_64/partnmesh5.0pre2 ../build/Linux-x86_64/graphchk5.0pre2 ../build/Linux-x86_64/kfmetis5.0pre2 ../build/Linux-x86_64/cmetis5.0pre2 
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/metis-5.0pre2/programs'
make -C test realclean
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/metis-5.0pre2/test'
rm -f  ../build/Linux-x86_64/test/mtest.o ../build/Linux-x86_64/mtest5.0pre2 
rm -fr ../build/Linux-x86_64 
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/metis-5.0pre2/test'
++ cd ParMetis-3.1
++ make clean
(cd METISLib ; make realclean )
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/ParMetis-3.1/METISLib'
rm -f *.o ; rm -f ../libmetis.a
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/ParMetis-3.1/METISLib'
(cd ParMETISLib ; make realclean )
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/ParMetis-3.1/ParMETISLib'
rm -f *.o ; rm -f ../libparmetis.a
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/ParMetis-3.1/ParMETISLib'
(cd Programs ; make realclean )
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/ParMetis-3.1/Programs'
rm -f *.o ;\
    rm -f ../Graphs/ptest 
rm -f ../Graphs/mtest 
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/ParMetis-3.1/Programs'
++ cd ParMGridGen-1.0
++ make realclean
(cd MGridGen ; make realclean )
make[1]: Entering directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/ParMGridGen-1.0/MGridGen'
(cd IMlib ; gmake realclean )
/bin/sh: gmake: not found
make[1]: *** [realclean] Error 127
make[1]: Leaving directory `/home/maysam/OpenFOAM/ThirdParty-1.7.0/ParMGridGen-1.0/MGridGen'
make: *** [realclean] Error 2
by typing paraFoam in case folder this error is displayed:
Code:
/home/maysam/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam: 135: paraview: not found
What should i do?
thanks
maysmech is offline   Reply With Quote

Old   August 25, 2010, 17:23
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
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:
Originally Posted by http://www.openfoam.com/download/source.php#x4-21000
To install Paraview, execute the following:
  • cd $WM_THIRD_PARTY_DIR
  • ./Allclean
  • ./makeParaView
You didn't read everything You skipped the last line

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 25, 2010, 17:34
Default
  #3
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
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

Last edited by maysmech; August 25, 2010 at 17:51.
maysmech is offline   Reply With Quote

Old   August 25, 2010, 18:31
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
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
And post the compressed makePV.log, similarly to what you did for Allwmake in the other post.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 25, 2010, 19:03
Default
  #5
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
No error occurred.
paraFoam is working now.
Thanks
maysmech is offline   Reply With Quote

Old   December 2, 2010, 15:00
Default
  #6
Member
 
Join Date: Jan 2010
Posts: 44
Rep Power: 16
Argen is on a distinguished road
I met the same problem. But I still could not figure out how maysmech solve it. Could you please let me know?
Argen is offline   Reply With Quote

Old   December 4, 2010, 10:35
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Greetings Argen,

Which exactly was the problem you got? Maysam had two separate issues...

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 4, 2010, 10:59
Default
  #8
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Quote:
Originally Posted by Argen View Post
I met the same problem. But I still could not figure out how maysmech solve it. Could you please let me know?
i am not sure but i think i used sudo apt-get install paraview command and let ubuntu to download and install it iself.
maysmech is offline   Reply With Quote

Old   October 22, 2011, 05:30
Default
  #9
New Member
 
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15
krl29 is on a distinguished road
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!
krl29 is offline   Reply With Quote

Old   October 22, 2011, 06:27
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
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
and then attach the packaged file in your next post.

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
__________________
wyldckat is offline   Reply With Quote

Old   October 22, 2011, 11:59
Default
  #11
New Member
 
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15
krl29 is on a distinguished road
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:
  • cd $WM_THIRD_PARTY_DIR
  • ./Allclean
  • ./makeParaView
The PV3blockMeshReader and the PV3FoamReader ParaView plugins are compiled as usual for OpenFOAM utilities:
  • cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
  • ./Allwclean
  • ./Allwmake
..."
what changes should i make?

again thx a lot for your time and patience!

Last edited by krl29; October 22, 2011 at 12:19.
krl29 is offline   Reply With Quote

Old   October 22, 2011, 12:46
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Hi Karl,

Quote:
Originally Posted by krl29 View Post
sorry i still dont fully understand your instructions ...what does the "makePV.log" file do?
"makePV.log" will have all of the output that makeParaView would otherwise show on screen.
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:
Originally Posted by krl29 View Post
what do you mean by"pack" the file, and
By "pack" I mean:
  • Compress the file;
  • Create a compressed file package.
  • «a group of things wrapped or tied together for easy handling or carrying; a bundle, especially one to be carried on the back of an animal or a person: a mule pack; a hiker's pack.» - Source: http://dictionary.reference.com/browse/pack
The log files are usually larger than 100kB, therefore compression must be used to package the file and make it small enough to be attached on a post here in this forum thread See the next link for more on these terms.

Quote:
Originally Posted by krl29 View Post
"attach the packaged file in your next post"? (what's a post? the line i type in the command window?)

Quote:
Originally Posted by krl29 View Post
just to be crystal clear, the website instructed:
I'm well aware of the official instructions , but those instructions are the bare minimum for building things in the Ubuntu and openSUSE versions available at the time of the written instructions. The more recent versions of Ubuntu and openSUSE have a Qt library version that is far more advanced then what ParaView 3.8.0 and 3.10.1 can handle. That is why I wrote those instructions for using a specific version of Qt!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 22, 2011, 13:22
Default
  #13
New Member
 
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15
krl29 is on a distinguished road
hi ,

ha, i see ...pls see attachments for all my log files

thx Bruno, u r a legend! ^^
Attached Files
File Type: gz Logs.tar.gz (29.6 KB, 2 views)
krl29 is offline   Reply With Quote

Old   October 22, 2011, 13:41
Default
  #14
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
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
As for the error in the file "make.log", don't worry about it, it's just a glitch in the scripts.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 22, 2011, 13:48
Default
  #15
New Member
 
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15
krl29 is on a distinguished road
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
krl29 is offline   Reply With Quote

Old   October 22, 2011, 14:24
Default
  #16
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
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
More packages are probably going to be necessary, depending on the Ubuntu version you have installed.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 22, 2011, 14:31
Default
  #17
New Member
 
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15
krl29 is on a distinguished road
im actually using Ubuntu 11.04
krl29 is offline   Reply With Quote

Old   October 22, 2011, 15:13
Default
  #18
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
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
Then run:
Code:
foam
echo "export WM_CC='gcc-4.4'" >> etc/prefs.sh
echo "export WM_CXX='g++-4.4'" >> etc/prefs.sh
These two lines will override the default compiler version and use the installed 4.4.x.
Additionally you'll need to make a little fix:
Code:
sed -i -e 's=cpp $(GFLAGS)=cpp -traditional-cpp $(GFLAGS)=' wmake/rules/linuxGcc/general
Then you can proceed as anticipated.

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 22, 2011, 16:03
Default
  #19
New Member
 
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15
krl29 is on a distinguished road
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:
  • cd $WM_THIRD_PARTY_DIR
  • ./Allclean
  • ./makeParaView
  • cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
  • ./Allwclean
  • ./Allwmake
Unfortunately, still got the same error messages, including:

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
krl29 is offline   Reply With Quote

Old   October 22, 2011, 16:08
Default
  #20
New Member
 
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15
krl29 is on a distinguished road
and here are the log files
best
Karl
Attached Files
File Type: gz Logs.tar.gz (29.6 KB, 1 views)
krl29 is offline   Reply With Quote

Reply


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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
Gmsh installation on terminal help spitfire Main CFD Forum 4 July 27, 2017 16:11
[Other] Compiling hacFoam (Ubuntu 10.04)(OF2.0.0)(LAMMPS13Jul2010)) Henrik_E OpenFOAM Installation 3 September 29, 2016 17:16
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 94 July 15, 2016 17:14
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 05:42.