Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
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
Service Desk
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
TurTLE
TurTLE
Commits
75ff2054
Commit
75ff2054
authored
6 years ago
by
Cristian Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
update installation instructions
parent
ddd90f2e
No related branches found
No related tags found
1 merge request
!23
WIP: Feature/use cmake
Pipeline
#36421
passed
6 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+58
-1
58 additions, 1 deletion
README.rst
with
58 additions
and
1 deletion
README.rst
+
58
−
1
View file @
75ff2054
...
@@ -60,7 +60,8 @@ Use a console; navigate to the ``bfps`` folder, and type:
...
@@ -60,7 +60,8 @@ Use a console; navigate to the ``bfps`` folder, and type:
If you want to run simulations on the machine where you're installing,
If you want to run simulations on the machine where you're installing,
you will need to call `compile_library` before installing.
you will need to call `compile_library` before installing.
Your machine needs to have an MPI compiler installed, the HDF5 C library
Your machine needs to have an MPI compiler installed, the HDF5 C library
and FFTW >= 3.4.
and FFTW >= 3.4 --- a detailed prerequisite installation list is
included at the end of this document.
The file `machine_settings_py.py` should be modified
The file `machine_settings_py.py` should be modified
appropriately for your machine (otherwise the `compile_library` command will most
appropriately for your machine (otherwise the `compile_library` command will most
likely fail).
likely fail).
...
@@ -102,7 +103,63 @@ Comments
...
@@ -102,7 +103,63 @@ Comments
* particles: initialization of multistep solvers is done with lower
* particles: initialization of multistep solvers is done with lower
order methods, so direct convergence tests will fail.
order methods, so direct convergence tests will fail.
* Code is only known to work with HDF5 1.8.x.
* Code is used mainly with Python 3.4 and 3.5.
* Code is used mainly with Python 3.4 and 3.5.
In principle it should be easy to maintain compatibility with Python
In principle it should be easy to maintain compatibility with Python
2.7.x, but as of `bfps 1.8` this is no longer a main concern.
2.7.x, but as of `bfps 1.8` this is no longer a main concern.
-------------------------------
Installation with prerequisites
-------------------------------
These installation steps assume that you have a working MPI compiler,
properly configured on your system (i.e. the various configure scripts
are able to find it).
If this is not the case, please consult the FFTW and HDF5 compilation
instructions for detailed instructions (`./configure --help` should be
enough).
1. Make directory PREFIX on local fast partition.
2. Download, compile, install FFTW (latest version 3.x from http://www.fftw.org/).
Execute the following commands in order, feel free to customize
optimisation flags for your own computer:
.. code:: bash
./configure --prefix=PREFIX --enable-single --enable-sse --enable-mpi --enable-openmp --enable-threads
make
make install
./configure --prefix=PREFIX --enable-sse --enable-sse2 --enable-mpi --enable-openmp --enable-threads
make
make install
3. Download, compile, install HDF5 (version 1.8.x, currently available
at https://support.hdfgroup.org/HDF5/release/obtainsrc518.html.
We are using parallel I/O, therefore we use the plain C interface of HDF5:
.. code:: bash
./configure --prefix=PREFIX --enable-parallel
make
make install
3. This step may be ommited.
I recommend the creation of a virtual python3 environment (also under PREFIX) that will be used for installing bfps and dependencies.
Please see https://docs.python-guide.org/dev/virtualenvs/.
4. Clone bfps repository.
.. code:: bash
git clone git@gitlab.mpcdf.mpg.de:clalescu/bfps.git
5. Tweak host_information.py and machine_settings.py for your user and your machine and place under ~/.config/bfps.
6. Activate virtual environment.
7. Go into bfps repository, execute
.. code:: bash
python setup.py compile_library
python setup.py install
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