File tree Expand file tree Collapse file tree 4 files changed +1
-24
lines changed Expand file tree Collapse file tree 4 files changed +1
-24
lines changed Original file line number Diff line number Diff line change 1
1
project (
2
2
' pbmm2' ,
3
3
[' c' , ' cpp' ],
4
- version : ' 1.2.0 ' ,
4
+ version : ' 1.2.1 ' ,
5
5
default_options : [
6
6
' buildtype=release' ,
7
7
' warning_level=3' ,
Original file line number Diff line number Diff line change @@ -527,22 +527,6 @@ AlignSettings::AlignSettings(const PacBio::CLI_v2::Results& options)
527
527
<< SortThreads << " threads for sorting, and " << maxMemSortFloat
528
528
<< maxMemSortSuffix << " bytes RAM for sorting." ;
529
529
530
- auto pages = sysconf (_SC_PHYS_PAGES);
531
- auto page_size = sysconf (_SC_PAGE_SIZE);
532
- auto availableMemory = pages * page_size;
533
-
534
- float availFloat;
535
- std::string availSuffix;
536
- MemoryToHumanReadable (availableMemory, &availFloat, &availSuffix);
537
-
538
- if (maxMem > availableMemory) {
539
- std::ostringstream os;
540
- os << " Trying to allocate more memory for sorting (" << maxMemSortFloat
541
- << maxMemSortSuffix << " ) than system-wide available (" << availFloat << availSuffix
542
- << " )" ;
543
- throw AbortException (os.str ());
544
- }
545
-
546
530
BamIdx = BamIndex::_from_string (bamIdx.c_str ());
547
531
548
532
if (noBai) {
Original file line number Diff line number Diff line change 360
360
* Requested more threads for sorting* (glob)
361
361
* Requested more threads for sorting* (glob)
362
362
363
- $ $ __PBTEST_PBMM2_EXE align $ IN $ REF $ CRAMTMP / fail4. bam -j 1 -J 2 -- sort -m 1000 G 2 > &1
364
- * Trying to allocate more memory for sorting* (glob)
365
- [1 ]
366
-
367
363
$ $ __PBTEST_PBMM2_EXE align $ IN $ REF $ CRAMTMP / sort_percentage_4. bam -j 4 -- sort -- log-level INFO 2 > &1 | grep " threads for alignments"
368
364
* Using 3 threads for alignments, 1 threads for sorting, and 768 M bytes RAM for sorting.* (glob)
369
365
Original file line number Diff line number Diff line change 74
74
$ $ __PBTEST_PBMM2_EXE align $ IN $ REF $ CRAMTMP / fail . bam -- zmw -- hqregion 2 > &1; rm -rf $ CRAMTMP / fail . bam
75
75
* Options -- zmw, -- hqregion and -- median-filter are mutually exclusive.* (glob)
76
76
77
- $ $ __PBTEST_PBMM2_EXE align $ IN $ REF $ CRAMTMP / fail . bam -- sort -J 1 -m 1000 G 2 > &1; rm -rf $ CRAMTMP / fail . bam
78
- * Trying to allocate more memory for sorting* (glob)
79
-
80
77
$ $ __PBTEST_PBMM2_EXE align $ IN $ REF $ CRAMTMP / fail . bam -- sort -J 1 -m 1000 P 2 > &1; rm -rf $ CRAMTMP / fail . bam
81
78
* Unknown size multiplier P* (glob)
82
79
You can’t perform that action at this time.
0 commit comments