![]() |
|
|
#1 |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
I haven't touched ECMNet in about four years, so it's probably time for me to do a few updates to it. It doesn't appear that much needs to be done as I haven't gleaned much from what I've read in this forum (or others). I have a few things that I intend to do for the next release including:
I have a few other ideas for the next release, so I'm posting them here to see what users are interested in. These include:
I'm open to other ideas. Please post them here. |
|
|
|
|
|
#2 | |
|
Sep 2009
977 Posts |
Before giving up on MacOS X and installing my favorite Linux distro on my work's Mac, I remember having to make minor tweaks to the code and/or building system for the compilation on MacOS X to compile the *nix version (instead of the Windows version).
Quote:
Maybe, at least, sqlite could be used instead of MySQL ?
|
|
|
|
|
|
|
#3 | |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
I'm not familiar with sqlite. MySQL is really easy to get going and runs on multiple platforms. I (and many others) use it for PRPNet without any problems. Any database I use would have to support transactions, i.e. no auto-commit. |
|
|
|
|
|
|
#4 | |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
Quote:
On the other hand, sqlite might be an option for the client, which is apparently what it is more intended for, a client-side database. I don't see a need for a client-side database at this time. |
|
|
|
|
|
|
#5 | |
|
Oct 2006
Berlin, Germany
61910 Posts |
Quote:
E.g. I get a file with <server> <number> <requied curves>, than I create a number of Boinc Wus out of it. When parts of them are finished (days/weeks later) I send them back. Of course I have to filter them if they fit to my requirements, because I support only a defined range of digit-length and B1. yoyo |
|
|
|
|
|
|
#6 | |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
|
|
|
|
|
|
|
#7 | |
|
Aug 2005
Seattle, WA
25×5×11 Posts |
Quote:
I assume other people like to run multiple clients. What do you all do? Have a different directory for each client, each with a slightly different config file? |
|
|
|
|
|
|
#8 | |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
|
|
|
|
|
|
|
#9 | |
|
Aug 2005
Seattle, WA
6E016 Posts |
Quote:
So it seems that the only way to run multiple clients is for each client to have its own directory containing a slightly different config file, and each client process has to run out of its directory. Needless to say, this is a giant pain. So I made some changes in my local copy that allow multiple clients to share the same config file without any stomping. They can all therefore run from the same directory. The changes are:
So now I just set the suffix in the ecmclient.cfg to $ID, and I can fire off any number of clients from the same directory with "ecmclient -ID <string>" and they will all happily coexist (as long as each one has a different <string>, of course). I've been running it this way for the last year or so. If you want my diffs, let me know. |
|
|
|
|
|
|
#10 | |
|
"Mark"
Apr 2003
Between here and the
11000110100002 Posts |
Quote:
|
|
|
|
|
|
|
#11 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
47·229 Posts |
Quote:
Second create a shell script which contains lines: Code:
#! /bin/sh cd /path/to/cl1 /path/to/ecmclient & cd /path/to/cl2 /path/to/ecmclient & cd /path/to/cl3 /path/to/ecmclient & ... cd /path/to/cln /path/to/ecmclient & If you wish, you could get clever and write the script as a loop which runs from 1 to $1, thereby starting a user-selected number of clients. but I couldn't be bothered. If you wanted to get really clever, you could write a script (probably easier in Perl than sh) which writes customized config files in each directory, creating the directory if required. Again, I couldn't be bothered but if there's interest I could write one easily enough. Paul |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Featured request | bsquared | YAFU | 260 | 2019-12-10 10:30 |
| Requests? | Xyzzy | Forum Feedback | 104 | 2017-04-02 22:20 |
| Collaboration Requests | robert44444uk | Prime Gap Searches | 2 | 2017-01-17 07:57 |
| a few simple requests for v5 | ixfd64 | PrimeNet | 44 | 2010-01-11 20:21 |
| New Year requests | masser | Sierpinski/Riesel Base 5 | 22 | 2007-09-24 21:05 |