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

[Gmsh] Problem to install gmsh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2008, 08:37
Default Problem to install gmsh
  #1
New Member
 
Dante De Santis
Join Date: Mar 2009
Location: Milano, Milano, Italy
Posts: 6
Rep Power: 17
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, 18: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: 20
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, 10: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: 17
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, 19: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: 20
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


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
BuoyantBoussinesqSimpleFoam_Facing problem Mondal131211 OpenFOAM Running, Solving & CFD 1 April 10, 2019 19:41
Gmsh problem liub Mesh Generation & Pre-Processing 0 December 17, 2015 13:26
[OpenFOAM.com] I have problem in install openFoam 1.5 emadhamdy OpenFOAM Installation 4 October 24, 2015 23:55
[Gmsh] problem converting mesh from gmsh Fried OpenFOAM Meshing & Mesh Conversion 8 October 18, 2011 08:53
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56


All times are GMT -4. The time now is 00:55.