Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
particle_methods
hysop
Commits
af14b29e
Commit
af14b29e
authored
8 years ago
by
Franck Pérignon
Browse files
Options
Downloads
Patches
Plain Diff
cleaning
parent
f4fdbc68
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README
+0
-28
0 additions, 28 deletions
README
README.md
+27
-0
27 additions, 0 deletions
README.md
docs/config/hysop.doxyfile.in
+0
-0
0 additions, 0 deletions
docs/config/hysop.doxyfile.in
docs/config/mainpage.doxygen
+0
-0
0 additions, 0 deletions
docs/config/mainpage.doxygen
with
27 additions
and
28 deletions
README
deleted
100644 → 0
+
0
−
28
View file @
f4fdbc68
FAQ:
1. How to get only the code from the git repository?
Create a local directory to clone into
mkdir my_hysop && cd my_hysop
Initialise an empty git local repository
git init
Configure it for sparse checkout
git config core.sparsecheckout true
Add the remote information
git remote add -f origin git+ssh://<USERNAME>@scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/git/hysop/hysop.git
Select the HySoP directory (that contains all the code)
echo HySoP/ >> .git/info/sparse-checkout
Get all files (only from the HySoP directory)
git checkout master
Remarks:
Solution comes from http://stackoverflow.com/questions/4114887/is-it-possible-to-do-a-sparse-checkout-without-checking-out-the-whole-repository
It keeps the directory/files tree as git sees all files as a single unit.
(see http://stackoverflow.com/questions/2336580/sparse-checkout-in-git-1-7-0)
2. How to use a single precision version ?
Apply the patch :
patch -p0 < utils/ToSinglePrecision.patch
To reverse the patch:
patch -p0 -R < utils/ToSinglePrecision.patch
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
27
−
0
View file @
af14b29e
Basics
======
Download last hysop version :
code::
git clone git@gitlab.com:LJK/hysop.git
build::
mkdir build
cd build
cmake path-to-hysop
make
make install
run in python interactive session::
import hysop
or using command-line::
mpirun -np 4 python yourfile.py
check examples directory for complete simulation cases.
This diff is collapsed.
Click to expand it.
DoxyC
onf/hysop.doxyfile.in
→
docs/c
onf
ig
/hysop.doxyfile.in
+
0
−
0
View file @
af14b29e
File moved
This diff is collapsed.
Click to expand it.
DoxyC
onf/mainpage.doxygen
→
docs/c
onf
ig
/mainpage.doxygen
+
0
−
0
View file @
af14b29e
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment