![]() |
|
|
#23 | |
|
May 2008
Worcester, United Kingdom
10000101002 Posts |
Quote:
The default directory is traditionally set to the directory containing all the files associated with the number being tested. But the CUDA version of msieve then looks for its *.ptx support files in this default directory, which is not where they will normally be located. In an effort to solve problem, I changed the default directory when msieve is being run to the msiieve binary path. But this messes up files listed on the msieve command line since these are expeccted to be in the default directory. I'll update the program to put the normal default directory behaviour back and look for another solution to the *.ptx issue. Brian |
|
|
|
|
|
|
#24 |
|
Aug 2009
Magdeburg, Germany
1111012 Posts |
version 0.3, dated 15 January 2010.
Code:
Traceback (most recent call last):
File "../factmsieve.py", line 1952, in <module>
run_siever(CLIENT_ID, NUM_THREADS, fact_p, lats_p)
File "../factmsieve.py", line 1594, in run_siever
procs.append(run_exe(lats_p['siever'], args, wait = False))
File "../factmsieve.py", line 263, in run_exe
al['preexec_fn'] = NICE_BIN_PATH
NameError: global name 'NICE_BIN_PATH' is not defined
Code:
line 72: NICE_PATH = '' line 263: al['preexec_fn'] = NICE_BIN_PATH |
|
|
|
|
|
#25 | |
|
May 2008
Worcester, United Kingdom
22×7×19 Posts |
Quote:
Brian |
|
|
|
|
|
|
#26 |
|
Aug 2009
Magdeburg, Germany
61 Posts |
please change line 217-220 to
Code:
with open(fr, 'rb') as in_file: out_file = gzip.open(to, 'ab') # a for appending out_file.writelines(in_file) out_file.close() |
|
|
|
|
|
#27 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
|
|
|
|
|
|
#28 |
|
May 2008
Worcester, United Kingdom
22·7·19 Posts |
|
|
|
|
|
|
#29 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
You just have to pass the right flag ('-cubin'?) to nvcc, and it will turn the ptx file into a giant string and use the MS tools to compile into a COFF .obj file. Unfortunately, the program then has to get a pointer to the string and pass it to the driver call, rather than pointing to a file. I guess it isn't so easy :)
|
|
|
|
|
|
#30 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Okay, I took another whack at restarting my C114 job after a forced shutdown and it still started from the very beginning. But, I got some good information possibly indicating the root of the problem, and this time I had a backup so I didn't lose anything.
I noticed that after I restarted the script, and it went back to q=1750000 (the beginning of the job), the contents of the test.RESUME file were as follows: Quote:
I was able to rather easily fix this up by changing Q0 in the test.RESUME file to the value shown in QLAST0 above, and concatenating the spairs.out.T0 from my backup to the spairs.add file in the main directory. |
|
|
|
|
|
|
#31 | |
|
May 2008
Worcester, United Kingdom
21416 Posts |
Quote:
The problem is that, for some reason, the QLAST0 value doesn't satify Q0 <= QLAST0 <= Q0 + QSTEP. So it looks like Q0 is not being updated properly when each range is completed. Thanks ffor the detective work! Brian |
|
|
|
|
|
|
#32 | |
|
May 2008
Worcester, United Kingdom
22·7·19 Posts |
Quote:
Brian |
|
|
|
|
|
|
#33 | |
|
May 2008
Worcester, United Kingdom
21416 Posts |
Quote:
Brian |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Msieve & ggnfs on MacOS | xilman | Msieve | 8 | 2017-05-20 00:12 |
| Factorizing with MSIEVE, GGNFS & Factmsieve.py | Romuald | Msieve | 24 | 2015-11-09 20:16 |
| Infinite loop for ggnfs or msieve | Greebley | Aliquot Sequences | 4 | 2013-02-06 19:28 |
| Error running GGNFS+msieve+factmsieve.py | D. B. Staple | Factoring | 6 | 2011-06-12 22:23 |
| A new driver? (or type of driver?) | 10metreh | Aliquot Sequences | 3 | 2010-02-15 15:57 |