Re: [osv-dev] Fail to read data from large file

2020-01-14 Thread Dor Laor
A classical good OSS reporter and a good (!) committer On Tue, Jan 14, 2020 at 2:47 AM Nadav Har'El wrote: > > On Tue, Jan 14, 2020 at 12:41 PM Lewis Tian wrote: >> >> >> >> On Tuesday, January 14, 2020 at 4:45:27 PM UTC+8, Nadav Har'El wrote: >>> >>> >>> Interesting. Smells like a serious

Re: [osv-dev] Fail to read data from large file

2020-01-14 Thread Nadav Har'El
On Tue, Jan 14, 2020 at 12:41 PM Lewis Tian wrote: > > > On Tuesday, January 14, 2020 at 4:45:27 PM UTC+8, Nadav Har'El wrote: >> >> >> Interesting. Smells like a serious stdio bug that needs to be debugged :-( >> I think it's not a coincidence that position is 1025, with stdio's >> BUFSIZ=1024.

Re: [osv-dev] Fail to read data from large file

2020-01-14 Thread Lewis Tian
On Tuesday, January 14, 2020 at 4:45:27 PM UTC+8, Nadav Har'El wrote: > > > On Tue, Jan 14, 2020 at 10:15 AM Lewis Tian > wrote: > >> >> >> On Tuesday, January 14, 2020 at 3:45:09 PM UTC+8, Nadav Har'El wrote: >>> >>> >>> On Tue, Jan 14, 2020 at 9:28 AM Lewis Tian wrote: >>> When I run

Re: [osv-dev] Fail to read data from large file

2020-01-14 Thread Nadav Har'El
On Tue, Jan 14, 2020 at 10:15 AM Lewis Tian wrote: > > > On Tuesday, January 14, 2020 at 3:45:09 PM UTC+8, Nadav Har'El wrote: >> >> >> On Tue, Jan 14, 2020 at 9:28 AM Lewis Tian wrote: >> >>> When I run pagerank on Ubuntu, the code works fine. (the graph data is >>> stored in

Re: [osv-dev] Fail to read data from large file

2020-01-14 Thread Lewis Tian
On Tuesday, January 14, 2020 at 3:45:09 PM UTC+8, Nadav Har'El wrote: > > > On Tue, Jan 14, 2020 at 9:28 AM Lewis Tian > wrote: > >> When I run pagerank on Ubuntu, the code works fine. (the graph data is >> stored in web-NotreDame.txt, 21M) >> > > 21M isn't very large, it shouldn't present any

Re: [osv-dev] Fail to read data from large file

2020-01-13 Thread Nadav Har'El
On Tue, Jan 14, 2020 at 9:28 AM Lewis Tian wrote: > When I run pagerank on Ubuntu, the code works fine. (the graph data is > stored in web-NotreDame.txt, 21M) > 21M isn't very large, it shouldn't present any special problems. We probably have a bug that isn't just about file size: >

[osv-dev] Fail to read data from large file

2020-01-13 Thread Lewis Tian
When I run pagerank on Ubuntu, the code works fine. (the graph data is stored in web-NotreDame.txt, 21M) taseikyo@ubuntu:~/Desktop/osv/apps/my-pagerank-test$ ls Makefile module.py pagerank.c usr.manifest web-NotreDame.txt taseikyo@ubuntu:~/Desktop/osv/apps/my-pagerank-test$ make cc -pie -o