msieve_nfsathome's People
msieve_nfsathome's Issues
Memory leak in Square Root
There are consistent memory leak during Square Root process, making the memory usage considerably higher than old version. (160 MB on master vs >8 GB on try_openmp)
Reproduction can be as simple as msieve -nc3 -i N.txt -v
Files for reproduction (2.0 GB): https://mega.nz/file/TkhGRbbL#2sotY_6x93Owxwpckoihdy0XuaYmcomkmD5YispwVNc
I will be running a git bisect in 2022-08-29 9 AM (GMT+8) if it wasn't fixed then.
Segmentation Fault during singleton removal
Tested on commit ef9c03e
Built with make all ECM=1 CUDA=75 NO_ZLIB=1
(gdb) bt
#0 0x00000000004469ce in filter_purge_singletons_core._omp_fn.2 () at common/filter/singleton.c:574
#1 0x00007f556bd560ae in __kmp_api_GOMP_parallel_40_alias () from /usr/lib64/libomp.so
#2 0x0000000000447443 in filter_purge_singletons_core (obj=0x1fbd730, obj@entry=0x7f556bd50e80 <__kmp_GOMP_microtask_wrapper(int*, int*, void (*)(void*), void*)>, filter=filter@entry=0x3000000030) at common/filter/singleton.c:569
#3 0x0000000000447c22 in filter_read_lp_file (obj=0x7f556bd50e80 <__kmp_GOMP_microtask_wrapper(int*, int*, void (*)(void*), void*)>, obj@entry=0x1fbd730, filter=0x3000000030, filter@entry=0x7ffe62a3a870, max_ideal_weight=1654892656,
max_ideal_weight@entry=0) at common/filter/singleton.c:139
#4 0x000000000042b44c in nfs_filter_relations (obj=obj@entry=0x1fbd730, n=n@entry=0x7ffe62a3abf0) at gnfs/filter/filter.c:376
#5 0x0000000000418515 in factor_gnfs (obj=obj@entry=0x1fbd730, input_n=input_n@entry=0x7ffe62a3b0b0, factor_list=factor_list@entry=0x7ffe62a3b260) at gnfs/gnfs.c:153
#6 0x0000000000407cc8 in msieve_run_core (factor_list=0x7ffe62a3b260, n=0x7ffe62a3b0b0, obj=0x1fbd730) at common/driver.c:158
#7 msieve_run (obj=0x1fbd730) at common/driver.c:278
#8 0x000000000040666b in factor_integer (buf=buf@entry=0x7ffe62a3bbc0 "14132808201520204578813892668326213464924067810664854585119702903005027767549631914683", flags=flags@entry=1025, savefile_name=savefile_name@entry=0x0,
logfile_name=logfile_name@entry=0x0, nfs_fbfile_name=nfs_fbfile_name@entry=0x0, seed1=seed1@entry=0x7ffe62a3bba4, seed2=0x7ffe62a3bba8, max_relations=0, cpu=cpu_core, cache_size1=32768, cache_size2=9437184, num_threads=0,
which_gpu=0, nfs_args=0x0) at demo.c:240
#9 0x000000000040624e in main (argc=1654897576, argv=0x7ffe62a3bbc0) at demo.c:617
Reproduce:
https://mega.nz/file/Gxh0jBbR#A_oXvGebJ3ZTXGjK0WkQCiAUWTBG_qJ92pg4DtmnzS0
Command: msieve -nc1 -i N.txt
This error does not occur on commit 2b24147; git bisect shows that this error started occuring after commit dfd59c7.
Error line 1062
This is with Ubuntu 20.04. When I try to run msieve with certain switches, it will fail and display "error line 1062." I assume this is the specific line in a piece of code. This happens with most of the "-n" switches, but not all. "-n" will display a message similar to "unable to write or read polynomials." I do not know if this is related: When msieve starts, the top line will display "SVN unknown." I have had problems with Windows variants which did not have a numeric value there.
Thank you.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.