CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Problem to install gmsh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 24, 2008, 09:37
Default Hi, I'm installing gmsh follow
  #1
New Member
 
Dante De Santis
Join Date: Mar 2009
Location: Milano, Milano, Italy
Posts: 6
Rep Power: 8
dante is on a distinguished road
Hi, I'm installing gmsh following this wiki page :

http://openfoamwiki.net/index.php/Contrib_gmshFoam

but when I do

patch -p1 < $WM_PROJECT_USER_DIR/applications/utilities/gmshFoam/gmsh-2.0.8-foam-YYYYMMDD.di ff

I receive the following error:

can't find file to patch at input line 1417
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gmsh-2.0.8/Post/Views.h 2007-07-09 22:54:37.000000000 +0900
|+++ gmsh-2.0.8.new/Post/Views.h 2007-08-20 13:01:16.000000000 +0900
--------------------------
File to patch:

why? Can anyone help me?
dante is offline   Reply With Quote

Old   February 24, 2008, 19:59
Default Hi, Dante, If you are sure yo
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi, Dante,
If you are sure you replaced $WM_PROJECT_DIR and YYYYMMDD as appropriate, it might be a version incompatibility of diff and patch. I had another report stating the same problem on this forum but still haven't got conclusion. What version of patch are you using (patch --version)?

Takuya
7islands is offline   Reply With Quote

Old   February 25, 2008, 11:33
Default Hi Takuya, Of course I use th
  #3
New Member
 
Dante De Santis
Join Date: Mar 2009
Location: Milano, Milano, Italy
Posts: 6
Rep Power: 8
dante is on a distinguished road
Hi Takuya,
Of course I use the correct names for $WM_PROJECT_DIR and YYYYMMDD. The pathc version on my computer is: "patch 2.5.9".
dante is offline   Reply With Quote

Old   February 25, 2008, 20:56
Default Hi Dante, I tried 2.5.9 but
  #4
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 11
7islands is on a distinguished road
Hi Dante,

I tried 2.5.9 but could not reproduce the problem... Meanwhile I changed the way to take diffs to a standard manner since the diff included in the gmshFoam package was taken in a bit unusual way. Could you try it and report how it works?

gmsh-2.0.8-foam-20070905-patchFix.diff.bz2

Takuya
7islands is offline   Reply With Quote

Reply

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
Problem with Gmsh nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 18 April 22, 2015 08:43
Gmsh problem with cyclic bcbs sripplinger Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 September 28, 2010 09:29
gmsh jojo Main CFD Forum 5 August 31, 2009 23:11
Install problem in linux navaladi OpenFOAM Installation 11 July 17, 2008 02:24
Install problem of X-windows for Tascflow Alex Deng CFX 2 November 1, 2001 12:33


All times are GMT -4. The time now is 01:38.