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

[OpenFOAM.org] paraview compilation error paraview-3.12.0

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread 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: 123
Rep Power: 17
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 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: 123
Rep Power: 17
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, 12 views)
balkrishna is offline   Reply With Quote

Old   December 27, 2011, 07:17
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 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: 123
Rep Power: 17
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
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: 123
Rep Power: 17
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: 123
Rep Power: 17
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, 8 views)
balkrishna is offline   Reply With Quote

Old   December 27, 2011, 09:48
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
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, Ivooo and 1 others 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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
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: 14
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, 15 views)
vmsandip2011 is offline   Reply With Quote

Old   January 3, 2012, 04:57
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 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: 14
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: 14
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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!

@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: 14
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 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: 14
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 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


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
Error building ParaVIEW 3.12.0 in CentOS 6.5 wjm OpenFOAM Installation 8 February 17, 2014 11:17
Compiling ParaView 3.12.0 on SUSE Linux Enterprise bmikuz OpenFOAM Installation 1 November 9, 2012 19:55
Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 Wley OpenFOAM Installation 2 September 28, 2012 07:06
[OpenFOAM] [Critical] ParaView 3.12.0 breaks monitor signal in Ubuntu 11.04 v_mil ParaView 5 March 18, 2012 14:39
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 09:26.