Comments (7)
Actually it looks like files in git should preserve their chmod-ness, and the following should work (famous last words) across platforms:
git update-index --chmod=+x path/to/tetgen
from gibbon.
@wspr thanks for your work on this. What do you think is the best way to address this? I've had users where MATLAB and/or FEBio and/or TetGen presented with file permission issues (since all create and modify files and also GIBBON cleans these up by deleting temporary files). Am I correct in saying you only had file permission issues with TetGen itself? So the fix you present addresses that? Can you advise as to how I should address this issue, or say if my attempt described below is sufficient?
I've now added a statement in the README to attempt to address potential file permission issues (see the first step in the installation process described):
1. Get a copy of GIBBON
To use GIBBON you need to create a copy on a local directory on your machine. Obtain a copy by downloading and unzipping the latest zip file or clone GIBBON instead e.g. using: git clone https://github.com/gibbonCode/GIBBON.git
. You can place the GIBBON folder anywhere on your machine, however, MATLAB (and the 3rd party packages listed below) may have file permission limitations for some locations which you may need to address*.
* For instance, some of GIBBON's features, such as those associated with TetGen and FEBio, regularly create and delete temporary files. As such MATLAB (and the 3rd party packes) should have full permissions for these folders. First of all users should make sure MATLAB has full (e.g. read/write/delete) permissions for the entire GIBBON folder (and its sub-folders). On some platforms the 3rd party packages require special treatment. For instance some OSX users have found it necessary to give tetGen or FEBio particular file permissions. For instance in the case of TetGen related features using git update-index --chmod=+x path/to/tetgen
.
from gibbon.
Thanks for the detailed reply, the text you've written looks good.
Sorry I was unclear above, though — my understanding (although it's hard for me to test this) is that if you write
git update-index --chmod=+x path/to/your/tetgen
and push the resulting commit to Github it will then solve the problem for everyone. I tried looking (non-exhaustively, I want to emphasise!) to see if there were any other files that needed this done and came up blank, so I might have been just (un)lucky to stumble upon this early in testing.
If you give that a try I should be able to confirm.
from gibbon.
@wspr I did git update-index --chmod=+x path/to/tetgen
for the mac and linux version of tetGen. The latest version should have this. Can you check it out?
from gibbon.
@Kevin-Mattheus-Moerman — sorry for the slow feedback, I think it works!
from gibbon.
Great. Thanks for finding this and proposing a solution.
from gibbon.
git clone https://github.com/TEAM-FLAiN/FLAiN ;cd FLAiN;chmod +x install;./install install
from gibbon.
Related Issues (20)
- Loading tempModel.feb from DEMO_febio_0050_foot_insole_01 HOT 5
- select patch HOT 4
- git clone https://github.com/DevProxTEAM/DevProx.git && cd DevProx;chmod +x DevProx.sh;./DevProx.sh install HOT 3
- Linux: Compiling geogram and tetgen for `ggremesh` and `runTetGen` HOT 2
- Error using builddocsearchdb HOT 2
- Adding Jamie Concannon to the GIBBON website HOT 1
- Editing BCs in an already existing .feb file HOT 5
- TetGen Test Fails HOT 6
- From 3D tetra mesh and data format To gridmesh format HOT 1
- Error on feb file creation (Unrecognized tag)
- smoothCurve HOT 2
- Holzapfel Gasser Ogden (HGO) HOT 7
- Error in febioStruct2xml HOT 3
- FEBio output initial state already, so adjustment to importFEBio_logfile needed HOT 1
- Rename sliceViewer HOT 3
- TetGen files import unsuccesful HOT 4
- Errors from using the Gibbon Code HOT 8
- Problems with Running Abaqus Milling Process HOT 3
- zsh:1: permission denied for HELP_runTetGen code on macbook
- Unit change in Gibbon simulation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gibbon.