![]() |
|
|
#925 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
2·5·7·67 Posts |
Quote:
%cd '/content/drive/My Drive/cudapm1//' # List files here for x in os.listdir('.'): print (x) %cd '/content/drive/My Drive/cudapm1/cudapm1-0.20/' # List files here too. for x in os.listdir('.'): print (x) # libcufft.so.5.5 is in the list above but in just in case I also copied it to the parent import shutil shutil.copyfile('libcufft.so.5.5', '/content/drive/My Drive/cudapm1/libcufft.so.5.5') # RUN it!!! !./CUDAPm1 61408363 -b1 60000 -b2 1200000 -f 3360k Code:
/content/drive/My Drive/cudapm1 cudapm1-0.20 cudapm1-0.20.tar.gz libcufft.so.5.5 /content/drive/My Drive/cudapm1/cudapm1-0.20 readme.txt CUDAPm1.ini libcufft.so.5.5 CUDAPm1 cudapm1-setup.txt ./CUDAPm1: error while loading shared libraries: libcufft.so.5.5: cannot open shared object file: No such file or directory |
|
|
|
|
|
|
#926 | |
|
"Dylan"
Mar 2017
3×193 Posts |
Quote:
Code:
subprocess.run(“content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1”, “61408363”, “-b1”, “600000”, “-b2”, “120000000”, “-f”, “3360k”) |
|
|
|
|
|
|
#927 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
111228 Posts |
Quote:
Code:
import subprocess
subprocess.run("'/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1'", "61408363", "-b1", "600000", "-b2", "12000000", "-f", "3360k")
Code:
TypeError Traceback (most recent call last)
<ipython-input-17-2cf284193cd6> in <module>()
26
27 #subprocess.run("/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1")
---> 28 subprocess.run("'/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1'", "61408363", "-b1", "600000", "-b2", "12000000", "-f", "3360k")
29 #subprocess.run("'/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1'", "61408363 -b1 600000 -b2 12000000 -f 3360k")
30 # run ./CUDAPm1 -cufftbench 1k to 65536k 2 times
1 frames
/usr/lib/python3.6/subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors)
627 bufsize = -1 # Restore default
628 if not isinstance(bufsize, int):
--> 629 raise TypeError("bufsize must be an integer")
630
631 if _mswindows:
TypeError: bufsize must be an integer
bufsize is set to -1 then checked later for integer and fails??? Code:
def __init__(self, args, bufsize=-1, executable=None,
stdin=None, stdout=None, stderr=None,
preexec_fn=None, close_fds=_PLATFORM_DEFAULT_CLOSE_FDS,
shell=False, cwd=None, env=None, universal_newlines=False,
startupinfo=None, creationflags=0,
restore_signals=True, start_new_session=False,
pass_fds=(), *, encoding=None, errors=None):
"""Create new Popen instance."""
_cleanup()
self._waitpid_lock = threading.Lock()
self._input = None
self._communication_started = False
if bufsize is None:
bufsize = -1 # Restore default
if not isinstance(bufsize, int):
raise TypeError("bufsize must be an integer")
|
|
|
|
|
|
|
#928 | |
|
"Dylan"
Mar 2017
3×193 Posts |
Quote:
So it should read Code:
subprocess.run([“content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1”, “61408363”, “-b1”, “600000”, “-b2”, “120000000”, “-f”, “3360k”]) |
|
|
|
|
|
|
#929 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
2×5×7×67 Posts |
I tried these 3 variations (One at a time all with the same error):
Code:
subprocess.run(["/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1"]) subprocess.run(["/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1", "61408363", "-b1", "600000", "-b2", "12000000", "-f", "3360k"]) subprocess.run(["/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1", "61408363 -b1 600000 -b2 12000000 -f 3360k"]) Code:
CompletedProcess(args=['/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1'], returncode=127) OR from CUDAPm1? It it was from CUDAPm1 can someone familiar with it tell me what that code means, Thx |
|
|
|
|
|
#930 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
9,767 Posts |
Quote:
Your above "error while loading shared libraries: libcufft.so.5.5: cannot open shared object" suggests the executable doesn't like it's home. (Read: perhaps try compiling the code in it's native environment.) |
|
|
|
|
|
|
#931 | |
|
"Dylan"
Mar 2017
3·193 Posts |
Quote:
You might get more information if you add the keyword argument “check=True” to the run command (without the quotes). |
|
|
|
|
|
|
#932 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
2×5×7×67 Posts |
Quote:
Code:
CalledProcessError Traceback (most recent call last)
<ipython-input-28-d81f224b82fc> in <module>()
25 #import subprocess
26
---> 27 subprocess.run(["/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1"],check=True)
/usr/lib/python3.6/subprocess.py in run(input, timeout, check, *popenargs, **kwargs)
436 if check and retcode:
437 raise CalledProcessError(retcode, process.args,
--> 438 output=stdout, stderr=stderr)
439 return CompletedProcess(process.args, retcode, stdout, stderr)
440
CalledProcessError: Command '['/content/drive/My Drive/cudapm1/cudapm1-0.20/CUDAPm1']' returned non-zero exit status 127.
|
|
|
|
|
|
|
#933 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
2×4,909 Posts |
Anyone else think that Colab and the rest of google and amazon, M$, etc should through all their spare cycles at folding@home.
|
|
|
|
|
|
#934 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
5,419 Posts |
Quote:
reference: https://www.techspot.com/news/84492-...stributed.html Which, I suppose, suggests there's room for GIMPS to grow, after the current COVID19 unpleasantness is behind us. Last fiddled with by kriesel on 2020-03-24 at 14:08 |
|
|
|
|
|
|
#935 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
2×5×7×67 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Alternatives to Google Colab | kriesel | Cloud Computing | 11 | 2020-01-14 18:45 |
| Notebook | enzocreti | enzocreti | 0 | 2019-02-15 08:20 |
| Computer Diet causes Machine Check Exception -- need heuristics help | Christenson | Hardware | 32 | 2011-12-25 08:17 |
| Computer diet - Need help | garo | Hardware | 41 | 2011-10-06 04:06 |
| Workunit diet ? | dsouza123 | NFSNET Discussion | 5 | 2004-02-27 00:42 |