Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bachelorarbeit
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Cederic Alexander Steininger
Bachelorarbeit
Commits
cd955633
There was an error fetching the commit references. Please try again later.
Commit
cd955633
authored
3 months ago
by
Enno Adler
Browse files
Options
Downloads
Patches
Plain Diff
README.md updated.
parent
0df29cef
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+31
-17
31 additions, 17 deletions
README.md
with
31 additions
and
17 deletions
README.md
+
31
−
17
View file @
cd955633
## build
To use
[
avx-512 instruction
](
https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_popcnt_epi64
)
,
for pop-count, compile with
```
bash
c
c bwt.c data.c tpool.c popcount.c main.c
-o
bwt
-march
=
native
-O3
c
make
-DPOP_COUNT
=
AVX512
```
It's using an avx-512
[
instruction
](
https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_popcnt_epi64
)
,
so it might not be supported by your cpu.
lscpu should contain
`avx512_vpopcntdq`
.
It might not be supported by your cpu.
lscpu should contain
`avx512_vpopcntdq`
, but this only mean it compiles correctly, it can still not work properly.
If avx-512 instructions are not supported, you can instead use avx instructions:
```
bash
cmake
-DPOP_COUNT
=
AVX
```
Falls avx-512 Instruktionen nicht unterstützt werden, kann
`popcount_basic.c`
verwendet werden.
Dies benötigt nur avx Instruktionen
If avx is not supported at all, you can use
```
bash
c
c bwt.c data.c tpool.c popcount_basic.c main.c
-o
bwt
-mavx
-O3
c
make
-DPOP_COUNT
=
BASIC
```
Falls avx überhaupt nicht unterstützt werden gibt es noch folgende Möglichkeit.
The default is
```
bash
c
c bwt.c data.c tpool.c values.c main.c
-o
bwt
-O3
c
make
-DPOP_COUNT
=
DETECT
```
which tries to detect the best option for your system based on the available compile options.
The fastest option is AVX512 followed by AVX.
## run
```
bash
./
bwt[.exe] FILENAME
[
LAYERS
]
./
IBB-cli
[
-i
<input_file>]
[
-o
<output_file>]
[
-t
<temp_dir>]
[
-k
<layers>]
[
-p
<processor_count>
]
```
Layers affects the amount of RAM used. Higher Layers in the implementation use more RAM.
Defaults
*
layers k: 5
*
processors p: 1
*
temp_dir t: directory where output_file o is.
In the temporary directory t, $2
*
2^{Layers-1}$ files will be generated.
# Benötigte Strukturen
## Datei
...
...
@@ -48,9 +67,4 @@ Allgemein:
```
Kommentarzeilen beginnen mit einem > und enden mit dem Zeilenumbruch
Datenzeilen enthalten nur A, C, G oder T und enden mit einem Zeilenumbruch
## Filesystem
Das Programm erzeugt einen
`tmp`
-dir im Ausführungsverzeichnis. In diesen werden die $2
*
2^{Layers-1}$ Temp-Dateien
erstellt und genutzt.
\ No newline at end of file
Datenzeilen enthalten nur A, C, G oder T und enden mit einem Zeilenumbruch
\ No newline at end of file
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