CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

paraview compilation error paraview-3.12.0

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   December 26, 2011, 09:02
Default paraview compilation error paraview-3.12.0
  #1
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 122
Rep Power: 8
balkrishna is on a distinguished road
Hi ,
On running makeParaView in the Third Party folder i get the following error :
Code:
make: *** No targets specified and no makefile found.  Stop.
Command exited with non-zero status 2
0.00user 0.00system 0:00.00elapsed 200%CPU (0avgtext+0avgdata 4048maxresident)k
0inputs+0outputs (0major+305minor)pagefaults 0swaps
The OpenFOAM installation proceeds without any problems. Does anyone have a clue to this ?

Thanks.
balkrishna is offline   Reply With Quote

Old   December 26, 2011, 10:47
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Balkrishna,

OK... since my crystal ball is broken, so I'll have to ask:
  1. Which Operating System are you using? Or better yet, which Linux distribution/version are you using?
  2. Which OpenFOAM version are you trying to install?
  3. That is only the very final lines of the build output. Please provide the complete log by following these steps:
    1. Run it like this:
      Code:
      ./makeParaView > makePV.log 2>&1
    2. Edit the log file "makePV.log" and replace any sensitive data, such as user names and paths.
    3. Package the log:
      Code:
      tar -czf makePV.log.tar.gz makePV.log
    4. Attach "makePV.log.tar.gz" on your next post.
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 27, 2011, 03:17
Default
  #3
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 122
Rep Power: 8
balkrishna is on a distinguished road
Thanks for the prompt reply. I shd have included the details in the previous post. Anyways the details are as follows :

i) OS : Ubuntu 10.04 32 bit
ii) OpenFOAM version : 2.1.0 - source pack

The file is attached with this post.

Thanks,
Balkrishna.
Attached Files
File Type: gz makePV.log.tar.gz (5.7 KB, 10 views)
balkrishna is offline   Reply With Quote

Old   December 27, 2011, 07:17
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Balkrishna,

Mmm, this is odd... the specific error is this:
Quote:
Code:
CMake Error at CMakeLists.txt:70 (determine_version):
  determine_version Function invoked with incorrect arguments for function
  named: determine_version
I've tested in a virtual machine with Ubuntu 10.04 i686 and I didn't get this error. Which cmake version are you using?
Code:
cmake --version
Additionally, which version does Ubuntu say it's installed?
Code:
dpkg-query -W cmake
I've got this version:
Code:
cmake version 2.8.0
cmake    2.8.0-5ubuntu1
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 27, 2011, 07:28
Default
  #5
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 122
Rep Power: 8
balkrishna is on a distinguished road
Hi,

I have got this version :
Code:
cmake version 2.8.0
cmake 2.8.0-5ubuntu1
It seems there is no difference in the cmake versions.

Balkrishna.
balkrishna is offline   Reply With Quote

Old   December 27, 2011, 07:32
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Mmm... then I recommend that you erase the "ParaView-3.12.0" folder from "ThirdParty-2.1.0" and replace it with the official version available from here: http://www.paraview.org/files/v3.12/ - namely: http://www.paraview.org/files/v3.12/...-3.12.0.tar.gz

There shouldn't be any big differences between them, but sometimes downloading and unpacking packages fails in some point during the download or unpacking process, so it's either necessary to download the package again or unpack it again.

Last edited by wyldckat; December 27, 2011 at 07:33. Reason: typo
wyldckat is offline   Reply With Quote

Old   December 27, 2011, 07:35
Default
  #7
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 122
Rep Power: 8
balkrishna is on a distinguished road
Will try it out and post results here ...
Thanks for the help.
balkrishna is offline   Reply With Quote

Old   December 27, 2011, 07:54
Default
  #8
Senior Member
 
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 122
Rep Power: 8
balkrishna is on a distinguished road
The same error again. Attaching the log file with this mail.

Balkrishna.
Attached Files
File Type: gz makePV.Log.tar.gz (5.7 KB, 7 views)
balkrishna is offline   Reply With Quote

Old   December 27, 2011, 09:48
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
OK, then lets try building a custom CMake with a more recent version:
  1. Go into the ThirdParty folder, get a script for downloading the CMake source code and make it executable:
    Code:
    foam3rdParty
    wget "http://www.openfoam.com/mantisbt/file_download.php?file_id=143&type=bug" -O getCmake
    chmod +x get*
  2. Build CMake:
    Code:
    ./getCmake
    ./makeCmake > mkcmake.log 2>&1
  3. Update the shell environment:
    Code:
    wmSET
  4. Confirm that you now have a different and more up-to-date version:
    Code:
    cmake --version
  5. Try to build ParaView once again:
    Code:
    ./makeParaView > makePV.log 2>&1
Hopefully this will fix the problem!


Good luck!
Bruno
linch, maysmech and Ivooo like this.

Last edited by wyldckat; January 4, 2012 at 17:04. Reason: there was a missing line break on point #2
wyldckat is offline   Reply With Quote

Old   December 28, 2011, 09:42
Smile Thanks
  #10
New Member
 
Join Date: Oct 2011
Posts: 1
Rep Power: 0
continua is on a distinguished road
I work with balkrishna, and thank you for your help in this.
continua is offline   Reply With Quote

Old   December 28, 2011, 16:03
Default
  #11
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by continua View Post
I work with balkrishna, and thank you for your help in this.
You're both welcome! I'm glad I could help.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   January 3, 2012, 01:56
Default Paraview and paraFoam not working
  #12
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 5
vmsandip2011 is on a distinguished road
i am tring to install the OpenFOAM-2.1.0 on Ubuntu10.04 using Virtual Box.
OpenFOAM-2.1.0 is installed properly but I am having problem in running Paraview and ParaFOAM.
I tried to follow the steps in this link http://www.openfoam.org/download/source.php .
But if I ran the command ./makeParaView paraview is not getting installed .
I tried to follow the above link written by wyldckatdownloading new Paraview , but the messgae log is ame .
I have attached here with makePV.log.
Please let me know the problem.
Attached Files
File Type: txt makePV.txt (31.6 KB, 10 views)
vmsandip2011 is offline   Reply With Quote

Old   January 3, 2012, 04:57
Default
  #13
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Sandip and welcome to the forum!

Did you follow the steps indicated in post #9?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   January 3, 2012, 06:54
Default Paraview and paraFoam not working
  #14
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 5
vmsandip2011 is on a distinguished road
Thanks for quick reply.
i tried to follow the steps in #9 but still the log generated is same as attached in previous post.
Following message is getting created:
/************************************************** ***************/
make: *** No targets specified and no makefile found. Stop.
Command exited with non-zero status 2
0.00user 0.00system 0:00.00elapsed 133%CPU (0avgtext+0avgdata 4064maxresident)k
0inputs+0outputs (0major+308minor)pagefaults 0swaps
Done make
Installing ParaView to /home/user/OpenFOAM/ThirdParty-2.1.0/platforms/linuxGcc/paraview-3.12.0
make: *** No rule to make target `install'. Stop.
---
Installation complete for paraview-3.12.0
Set environment variables:

export ParaView_DIR=/home/ravindra/OpenFOAM/ThirdParty-2.1.0/platforms/linuxGcc/paraview-3.12.0
export PATH=$ParaView_DIR/bin:$PATH
export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.12
---

Done
/************************************************** ***************/
vmsandip2011 is offline   Reply With Quote

Old   January 4, 2012, 03:38
Smile OF documentation
  #15
New Member
 
hust
Join Date: Jan 2012
Posts: 12
Rep Power: 5
kebi112358 is on a distinguished road
I'm just starting to learn OpenFOAM, but I can't find enough documentations.Could anybody help to pass the relevant resources to me?
kebi112358 is offline   Reply With Quote

Old   January 4, 2012, 17:17
Default
  #16
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings!

@Sandip:
Quote:
Originally Posted by vmsandip2011 View Post
Thanks for quick reply.
i tried to follow the steps in #9 but still the log generated is same as attached in previous post.
I've finally managed to reproduce the same problem you guys were and are having! I had to install Ubuntu 10.04 i686 on VirtualBox to achieve the same bug! I was using VMPlayer... not sure why that would make such a difference.

Anyway, after following my own suggestions/instructions, I noticed that on post #9 I forgot a line break on point #2! So, please follow once again the updated instructions from post #9!



@kebi112358:
Quote:
Originally Posted by kebi112358 View Post
I'm just starting to learn OpenFOAM, but I can't find enough documentations.Could anybody help to pass the relevant resources to me?
Go to the link on my signature and start following the links starting from the line: "Finally, a few links for starting to use OpenFOAM".

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   January 5, 2012, 09:11
Default Paraview and paraFoam not working
  #17
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 5
vmsandip2011 is on a distinguished road
Thanks for the reply with your changes in #9 everything working fine for OpenFoam2.1.0
But if you follow the steps given at this link :
http://www.openfoam.org/download/source.php

OpenFoam2.0 is getting installed properly but not 2.1.0 version.
Anyway thanks for the information.

with regards,
sandip
vmsandip2011 is offline   Reply With Quote

Old   January 5, 2012, 17:11
Default
  #18
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Sandip,

According to your description, my guess is that you have at least two OpenFOAM installations. If this is the case, then edit your "$HOME/.bashrc" file and change the following lines (this is an example):
Code:
source $HOME/OpenFOAM/OpenFOAM-2.0.0/etc/bashrc
source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
To this:
Code:
alias of200='source $HOME/OpenFOAM/OpenFOAM-2.0.0/etc/bashrc'
alias of210='source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc'
Start a new terminal window/tab and run the respective alias command. For example, to have OpenFOAM 2.0.0 active in the terminal window/tab you've just opened, run:
Code:
of200
Does this solve your problem? If not, I'll need a bit more information... otherwise I'll just be trying to guess what the problem might be

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   January 6, 2012, 12:12
Default Paraview and paraFoam not working
  #19
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 5
vmsandip2011 is on a distinguished road
Hi ,
Thanks for the reply.
I am not saying 2.1.0 is not getting installed.
With your update to #9 , 2.1.0 is getting installed properly.
But with the steps written at link http://www.openfoam.org/download/source.php ,
OpenFoam 2.0.0 is getting installed properly , but paraview/paraFoam for 2.1.0 is not getting installed , this was just information i was sharing for somebody whoever is going to follow the steps at above link.

with regards.
vmsandip2011 is offline   Reply With Quote

Old   January 6, 2012, 13:47
Default
  #20
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Sandip,

Thanks for clearing that up! Indeed, Ubuntu 10.04 is already becoming outdated, when it comes to modern software such as ParaView 3.12.0.

To complement your posts, the older instructions are available here: http://www.openfoam.org/download/archive.php

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
installation, paraview 3.12

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paraview compilation error: Openfoam-1.6-ext turbomachinery OpenFOAM Installation 22 February 27, 2015 16:26
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Installation of OpenFoam 15 Compilation paraview soeren_brot OpenFOAM Installation 45 January 12, 2009 07:39
Compilation error with paraview quartzian OpenFOAM Installation 0 September 21, 2008 08:32
Error building DICOMAppHelper during ParaView compilation geoffjay OpenFOAM Installation 1 May 7, 2008 13:07


All times are GMT -4. The time now is 19:47.