CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   paraview compilation error paraview-3.12.0 (http://www.cfd-online.com/Forums/openfoam-installation/95634-paraview-compilation-error-paraview-3-12-0-a.html)

balkrishna December 26, 2011 09:02

paraview compilation error paraview-3.12.0
 
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.

wyldckat December 26, 2011 10:47

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

balkrishna December 27, 2011 03:17

1 Attachment(s)
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.

wyldckat December 27, 2011 07:17

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

balkrishna December 27, 2011 07:28

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.

wyldckat December 27, 2011 07:32

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.

balkrishna December 27, 2011 07:35

Will try it out and post results here ...
Thanks for the help.

balkrishna December 27, 2011 07:54

1 Attachment(s)
The same error again. Attaching the log file with this mail.

Balkrishna.

wyldckat December 27, 2011 09:48

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

continua December 28, 2011 09:42

Thanks
 
I work with balkrishna, and thank you for your help in this.

wyldckat December 28, 2011 16:03

Quote:

Originally Posted by continua (Post 337184)
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

vmsandip2011 January 3, 2012 01:56

Paraview and paraFoam not working
 
1 Attachment(s)
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.

wyldckat January 3, 2012 04:57

Greetings Sandip and welcome to the forum!

Did you follow the steps indicated in post #9?

Best regards,
Bruno

vmsandip2011 January 3, 2012 06:54

Paraview and paraFoam not working
 
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
/************************************************** ***************/

kebi112358 January 4, 2012 03:38

OF documentation
 
I'm just starting to learn OpenFOAM, but I can't find enough documentations.Could anybody help to pass the relevant resources to me?

wyldckat January 4, 2012 17:17

Greetings!

@Sandip:
Quote:

Originally Posted by vmsandip2011 (Post 337653)
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 (Post 337790)
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

vmsandip2011 January 5, 2012 09:11

Paraview and paraFoam not working
 
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

wyldckat January 5, 2012 17:11

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

vmsandip2011 January 6, 2012 12:12

Paraview and paraFoam not working
 
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.

wyldckat January 6, 2012 13:47

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


All times are GMT -4. The time now is 10:39.