...
Hi, Christian
I have made a small investigation (see below),
Could you make a little code improvement, because now the only way to use cudaminer with screen
is to run pure screen, and execute cudaminer from screen session. It works fine.
But if you want to have the same, but executed from shell script
- there is a SIGHUP signal, which terminates screen completely.
It would be great do have screen <-> cudaminer full operability.
Regards
JK
root@linux:/opt/miners/cudaminer# gdb screen
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/screen...(no debugging symbols found)...done.
(gdb) set args ./cudaminer
(gdb) run
Starting program: /usr/bin/screen ./cudaminer
[screen is terminating]
Program received signal SIGHUP, Hangup.
0x00007fee0f23d7e0 in __pause_nocancel () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) quit
A debugging session is active.
Inferior 1 [process 7562] will be killed.
Quit anyway? (y or n) y
root@linux:/opt/miners/cudaminer# ./cudaminer
*** CudaMiner for nVidia GPUs by Christian Buchner ***
This is version 2014-02-18 (beta)
based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler
Cuda additions Copyright 2013,2014 Christian Buchner
LTC donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm
BTC donation address: 16hJF5mceSojnTD3ZTUDqdRhDyPJzoRakM