diff --git a/README.md b/README.md index 370081d..e2a8274 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ In the current version, all the modules are optimized using **AVX-512** and **AV ### System requirement Operating System: Linux mm2-fast was tested using g++ (GCC) 9.2.0 and icpc version 19.1.3.304 -Architecture: x86\_64 CPUs with [AVX512][AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) +Architecture: x86\_64 CPUs with [AVX512, AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) Memory requirement: ~30GB for human genome ### Installation diff --git a/options.c b/options.c index 43cb956..0b1c29d 100644 --- a/options.c +++ b/options.c @@ -94,8 +94,8 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo) mo->bw = mo->bw_long = 2000; mo->occ_dist = 0; } else if (strcmp(preset, "map10k") == 0 || strcmp(preset, "map-pb") == 0) { - #if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) - enable_vect_dp_chaining = false; + #if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) && (!defined(__AVX512BW__)) + enable_vect_dp_chaining = false; #endif io->flag |= MM_I_HPC, io->k = 19; } else if (strcmp(preset, "ava-pb") == 0) { @@ -105,8 +105,8 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo) mo->bw_long = mo->bw; mo->occ_dist = 0; } else if (strcmp(preset, "map-hifi") == 0 || strcmp(preset, "map-ccs") == 0) { - #if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) - enable_vect_dp_chaining = false; + #if defined (PARALLEL_CHAINING) && (defined(__AVX2__)) && (!defined(__AVX512BW__)) + enable_vect_dp_chaining = false; #endif io->flag = 0, io->k = 19, io->w = 19; mo->max_gap = 10000;