|
[Sponsors] |
August 25, 2010, 15:34 |
paraFoam not found
|
#1 |
Senior Member
|
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-*' ++ 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 Code:
/home/maysam/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam: 135: paraview: not found thanks |
|
August 25, 2010, 17:23 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||
August 25, 2010, 17:34 |
|
#3 |
Senior Member
|
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. |
|
August 25, 2010, 18:31 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
December 4, 2010, 10:35 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Argen,
Which exactly was the problem you got? Maysam had two separate issues... Best regards, Bruno
__________________
|
|
October 22, 2011, 05:30 |
|
#9 |
New Member
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15 |
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! |
|
October 22, 2011, 06:27 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
October 22, 2011, 11:59 |
|
#11 |
New Member
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15 |
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! Last edited by krl29; October 22, 2011 at 12:19. |
|
October 22, 2011, 12:46 |
|
#12 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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" By "pack" I mean:
Quote:
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
__________________
|
|||
October 22, 2011, 13:22 |
|
#13 |
New Member
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15 |
hi ,
ha, i see ...pls see attachments for all my log files thx Bruno, u r a legend! ^^ |
|
October 22, 2011, 13:41 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
October 22, 2011, 13:48 |
|
#15 |
New Member
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15 |
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 |
|
October 22, 2011, 14:24 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
October 22, 2011, 14:31 |
|
#17 |
New Member
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15 |
im actually using Ubuntu 11.04
|
|
October 22, 2011, 15:13 |
|
#18 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 echo "export WM_CC='gcc-4.4'" >> etc/prefs.sh echo "export WM_CXX='g++-4.4'" >> etc/prefs.sh 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
__________________
|
|
October 22, 2011, 16:03 |
|
#19 |
New Member
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15 |
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 |
|
October 22, 2011, 16:08 |
|
#20 |
New Member
Karl
Join Date: Oct 2011
Posts: 10
Rep Power: 15 |
and here are the log files
best Karl |
|
|
|
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 |