Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nifty_tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
ift
nifty_tutorial
Commits
51829a68
Commit
51829a68
authored
3 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
11/n
parent
5c07f3af
No related branches found
No related tags found
1 merge request
!2
Draft: Nifty5 to nifty7
Pipeline
#107725
passed
3 years ago
Stage: build_docker
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+11
-10
11 additions, 10 deletions
README.md
nifty
+1
-1
1 addition, 1 deletion
nifty
with
12 additions
and
11 deletions
README.md
+
11
−
10
View file @
51829a68
# Installation
# Installation
There are two methods to install the environment which is needed for following
There are two methods to install the environment which is needed for following
the NIFTy tutorial. First, install it regularly into the home folder of your
the NIFTy tutorial. First, install it regularly into the home folder of your
machine. Second, use a Docker container. The advantage of the second approach is
machine. Second, use a Docker container. The advantage of the second approach is
that it is going to work without any problems most likely. Its downsides are:
that the chance that it runs on a variety of machines is relatively high. The
Root access to start the Docker container (security implications), a full Docker
downsides are: You need root access to build and start the Docker container
installation (security implications), you need to be familiar with Docker in
(security implications), a full Docker installation (security implications) and
order to get your results out of the container.
you need to be familiar with Docker in order to get your results out of the
container.
## Standard
## Standard
...
@@ -17,10 +19,10 @@ order to get your results out of the container.
...
@@ -17,10 +19,10 @@ order to get your results out of the container.
# apt-get install git python3-pip python3-scipy python3-matplotlib
# apt-get install git python3-pip python3-scipy python3-matplotlib
```
```
-
I
nstall our Fouier transform package
`
pypocketfft
`
:
-
Optionally, i
nstall our Fou
r
ier transform package
`
ducc0
`
:
```
```
$ pip3 install
--user git+https://gitlab.mpcdf.mpg.de/mtr/pypocketfft.git
$ pip3 install
ducc0
```
```
-
Clone this repository:
-
Clone this repository:
...
@@ -33,15 +35,15 @@ $ git clone --recursive https://gitlab.mpcdf.mpg.de/ift/nifty_tutorial.git
...
@@ -33,15 +35,15 @@ $ git clone --recursive https://gitlab.mpcdf.mpg.de/ift/nifty_tutorial.git
```
```
$ cd nifty_tutorial/nifty
$ cd nifty_tutorial/nifty
$ pip3 install
--user
.
$ pip3 install .
```
```
## Docker
## Docker
-
Build the image:
-
To build the image, run the following command inside the
`nifty_tutorial`
folder.
```
```
$ git clone https://gitlab.mpcdf.mpg.de/ift/nifty_tutorial.git
# docker build -t niftytutorial .
# docker build -t niftytutorial .
```
```
...
@@ -56,4 +58,3 @@ $ git clone https://gitlab.mpcdf.mpg.de/ift/nifty_tutorial.git
...
@@ -56,4 +58,3 @@ $ git clone https://gitlab.mpcdf.mpg.de/ift/nifty_tutorial.git
Run the scripts
`*_solution.py`
from the repository, check that they run through
Run the scripts
`*_solution.py`
from the repository, check that they run through
and look at the output plots.
and look at the output plots.
This diff is collapsed.
Click to expand it.
nifty
@
55974d18
Compare
b07033aa
...
55974d18
Subproject commit
b07033aa8221b419cd0e5de671a199025afcb659
Subproject commit
55974d18cc25277d882b2f2678011ccff6cbbeec
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