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

cmake: No such file or directory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2009, 20:58
Default cmake: No such file or directory
  #1
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Everything works when I install OpenFOAM 1.5 on ubuntu 8.10 (64 bit) except for paraFoam. When I try to view the cavity flow results, it opens, but there's nothing useful being displayed, and it crashes when I try to do streamlines. So I assume it is my paraView conflicting with Qt (4.4.3 on my installation).

Here's the thing that really gets me. When I try to compile paraview, it doesn't understand the cmake command in the script. Typing 'cmake' in the terminal gives:

bash: /home/dave/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake: No such file or directory

But it's there. The cmake application and directories are there, exactly where it says it isn't. Does anyone have any idea what's going on here?
marupio is offline   Reply With Quote

Old   April 28, 2009, 18:11
Default update
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
I got cmake to behave. All I did was update my video driver with ATI supplied drivers. That seems totally unrelated, but that's the only thing I did between [not-working] and [working] reboots.
marupio is offline   Reply With Quote

Old   May 1, 2009, 02:29
Default
  #3
Senior Member
 
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 17
chiven is on a distinguished road
how about the results of running foamInstallationTest?

please run the command in the terminal:

which cmake

I have ever install cmake by myself. you also can do it, it is very simple.
chiven is offline   Reply With Quote

Old   May 1, 2009, 10:21
Default Before and after:
  #4
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
I have 2 installations of Ubuntu - one where I (somehow) solved the problem, and the other where I haven't yet solved it.

Problem solved machine:
which cmake
/home/dave/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake

Problem not solved machine:
which cmake
/home/dave/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake

cmake
bash: /home/dave/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/bin/cmake: No such file or directory
marupio is offline   Reply With Quote

Old   May 1, 2009, 16:15
Default Update
  #5
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
I just installed Ubuntu on my laptop. Ran into the cmake problem again. Switching to the ATI supplied drivers solved it. Bizare.
marupio is offline   Reply With Quote

Old   June 15, 2009, 13:11
Default
  #6
New Member
 
Matteo Carpentieri
Join Date: Mar 2009
Posts: 28
Rep Power: 17
mcarpe is on a distinguished road
Hello, I've got the same problem on a 64 bit Ubuntu machine. Unfortunately I cannot try the solution above because I've got an nvidia card

Any other solution? It seems a really odd problem.....
mcarpe is offline   Reply With Quote

Reply

Tags
cmake, parafoam


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
OpenFOAM 15 and openSUSE 111 paraview works OK alberto OpenFOAM 10 March 6, 2009 05:52
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
Gerris software installation mer Main CFD Forum 2 November 12, 2005 08:50


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