Commit Graph

11761 Commits

Author SHA1 Message Date
Rom Walton 82983c00dc - DIAG: Include the PDB filename that is linked to the EXE at
compile time to the module information dumped during a crash.
        
      NOTE: This should give a project admin a tickle that the PDB
        and EXE names need to be set before compiling and not renamed
        after the fact.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=15165
2008-05-09 17:41:07 +00:00
David Anderson e55f8249e8 - client (Unix): when running app, open fd 0 to /dev/null
rather than just closing it (from Gabor Gombas)

svn path=/trunk/boinc/; revision=15164
2008-05-09 17:05:26 +00:00
Rytis Slatkevičius 78de217b37 Ops pages: add missing error numbers.
svn path=/trunk/boinc/; revision=15163
2008-05-09 16:47:42 +00:00
David Anderson b13ad4da38 David May 9 2008
- client: increase <abort> timeout from 5 sec to 60;
        this gives the diagnostic system time to download
        symbol files (which may be several MB) and write a stack trace.

svn path=/trunk/boinc/; revision=15162
2008-05-09 16:27:20 +00:00
Rom Walton b146c3b68a - DIAG: Include the list of libraries loaded as well as their locations
when the runtime debugger is engaged.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=15161
2008-05-09 09:23:24 +00:00
Charlie Fenton c5b228493b MGR: Update comments on linking with Development / debug build of wxWidgets; add this info to build documentation
svn path=/trunk/boinc/; revision=15159
2008-05-09 07:00:36 +00:00
Rom Walton f20ae55690 - DIAG: Passing a null value to fclose in VS 2005 will cause a crash, so
check to make sure that stdout_file and stderr_file are not null before
        attempting to close them. If they are null return ERR_FOPEN so that
        the next message logged can attempt to cycle the log without error.
    - CLIENT: Make sure the diagnostics framework is initialized before
        the config file is parsed or the command line is parsed, that way
        if and unexpected XML tab or command line parameter is found the
        client doesn't crash.
        
        NOTE: The client would only crash if the log file was already greater
          than 2MB which would cause the client to attempt to cycle the
          log files. Since the diagnostics framework wasn't initialized yet
          nothing was logged to the log file, no call stack was generated, 
          and the default Windows debugging environment was fired up.
          
    client/
        main.C
    lib/
        diagnostics.C

svn path=/trunk/boinc/; revision=15157
2008-05-09 05:57:11 +00:00
Rom Walton fd5d31ff71 - LIB: Windows 9X doesn't like it when you specify a security descriptor, so
special case Win9X so that it'll pass a NULL to CreateFileMapping.
    
    lib/
        shmem.C

svn path=/trunk/boinc/; revision=15152
2008-05-08 20:10:20 +00:00
David Anderson a0be700d20 svn path=/trunk/boinc/; revision=15150 2008-05-08 18:47:49 +00:00
David Anderson 6ff5f3a829 initial commit
svn path=/trunk/boinc/; revision=15149
2008-05-08 18:43:41 +00:00
David Anderson e6a5d0cbfb - scheduler: add new log flags debug_edf_sim_workload, debug_edf_sim_details
for getting info on EDF simulation;
    change output from seconds to hours
- API: remove extern "C" from graphics API
    (convince me it's needed before restoring)

svn path=/trunk/boinc/; revision=15148
2008-05-08 17:48:40 +00:00
Charlie Fenton 9126894098 client: Fix compiler warning
svn path=/trunk/boinc/; revision=15146
2008-05-08 01:42:21 +00:00
David Anderson 9aa348660c - client: added some file_xfer_debug messages for file upload
svn path=/trunk/boinc/; revision=15144
2008-05-07 23:14:26 +00:00
David Anderson 58645a3be1 - client (Unix): linking libcudart.so wasn't working,
so CUDA detection failed.
    For reasons I don't understand,
    adding "/usr/local/cuda/lib" to LD_LIBRARY_PATH
    and then doing dlopen("libcudart.so") wasn't working,
    even though the library is in that dir.
    I worked around this by calling
    dlopen("/usr/local/cuda/lib/libcudart.so") and if that fails call
    dlopen("libcudart.so"),
- Unix: commented out Eric's setenv() stuff.
    After doing a configure, HAVE_SETENV is not in config.h,
    so something's messed up with it.
- client: trimmed down "pre-release software" message


svn path=/trunk/boinc/; revision=15143
2008-05-07 21:46:49 +00:00
Jens Seidler 99daa3814b BOINC Manager language files updated: Chinese Simplified(zh_CN)
svn path=/trunk/boinc/; revision=15142
2008-05-07 21:38:15 +00:00
Charlie Fenton b61533df1d MGR: Statistics and Disk tab panes: clear when disconnected from Client, update quickly when connecting to a (different) Client.
svn path=/trunk/boinc/; revision=15139
2008-05-07 10:15:53 +00:00
Rom Walton 22ab4577f1 Quick Updates
svn path=/trunk/boinc/; revision=15138
2008-05-07 03:44:56 +00:00
David Anderson 418cce805c - scheduler: finished support for job size matching.
Let x be the host speed (expressed in stdevs from mean)
    Let y be the job size (expressed in stdevs from mean)
    Decrement score by (x-y)^2

svn path=/trunk/boinc/; revision=15137
2008-05-06 20:09:07 +00:00
David Anderson 05f703559f - scheduler: add preliminary support for "job size matching"
(attempt to send big jobs to fast hosts, small jobs to slow hosts).
    - have "census" compute mean/stdev of host speeds,
        write it to a file perf_info.txt
    - have feeder compute mean/stdev of sizes of jobs in shmem
    - have feeder read perf_info.txt into shmem
- scheduler: add some debugging messages for app version selection
- Add LGPL license to a few files
- upgrade/setup scripts: copy census to bin/


svn path=/trunk/boinc/; revision=15136
2008-05-06 19:53:49 +00:00
Rom Walton 32536e5194 Quick Updates
svn path=/trunk/boinc/; revision=15135
2008-05-06 18:44:30 +00:00
Eric J. Korpela 8b72dc9370 - Added implementation of setenv() for systems without it.
- Fixed bug in x_opengl.C.  On systems where putenv() adds the string to
      the environment rather than copies it, the environment would end up
      containing a random peice of the stack where the DISPLAY variable had
      been temporarily stored.



svn path=/trunk/boinc/; revision=15134
2008-05-06 17:10:44 +00:00
David Anderson 98041a4866 - Added command-completion script for bash
svn path=/trunk/boinc/; revision=15133
2008-05-06 04:20:32 +00:00
Charlie Fenton 8f937bd8e2 client: Fix compiler warning. MGR: allow showing graphics with or without sandbox for Mac, UNIX, Linux
svn path=/trunk/boinc/; revision=15131
2008-05-06 00:38:18 +00:00
Rom Walton f5acace913 Quick Updates
svn path=/trunk/boinc/; revision=15129
2008-05-05 17:17:36 +00:00
David Anderson 0e4eb7f6e7 - client: if we request that an app exit,
and it doesn't do so within 10 seconds, kill it.
        This deals with the situation where the app is ignoring messages
        (e.g. because it forgot to end a critical section).
    - client: if either the FP or int benchmark runs less than
        3 CPU seconds (out of 10 seconds of wall time) ignore the benchmark.
        This is an effort to deal with a problem where (for unknown reasons)
        the int benchmark runs for a tiny amount of CPU time,
        leading to an absurdly large result
    - Manager: don't prepend "[error]" to MSG_INTERNAL_ERROR messages;
        the client already does this.

    THESE ARE ALL BUG FIXES

svn path=/trunk/boinc/; revision=15128
2008-05-05 00:51:20 +00:00
Charlie Fenton dfe2b81518 Fix a comment
svn path=/trunk/boinc/; revision=15127
2008-05-02 23:35:41 +00:00
David Anderson 0480a38586 - web: improve error messages if login link fails
(URL may have been truncated in email reader)

svn path=/trunk/boinc/; revision=15126
2008-05-02 20:29:32 +00:00
David Anderson 6e6fab3e7c - scheduler: clean up message log.
Merge redundant messages.
    Condition various messages on config flags.
- client (Unix) fix to CUDA detection if LD_LIBRARY_PATH is ""

svn path=/trunk/boinc/; revision=15122
2008-05-02 17:48:29 +00:00
Rom Walton 2411314ddc - Bump version to 6.3.0
- Branch Source Tree 
      boinc_core_release_6_2

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=15118
2008-05-02 16:18:58 +00:00
Rom Walton 3dc77154e5 - MGR/CLI: remove direct references to CreateEnvironmentBlock and
DestroyEnvironmentBlock since Win98 doesn't support them. This
        functionality is only required for the Windows sandbox implementation
        anyway.
    - LIB: Remove direct reference to OpenThread in win_util.C since it
        isn't supported on Win98.
    - MGR: Another fix for CC execution on a Linux machine.
        
    client/
        app_start.C
    clientgui/
        BOINCClientManager.cpp
    lib/
        proc_control.C
        win_util.C

svn path=/trunk/boinc/; revision=15117
2008-05-02 15:59:37 +00:00
David Anderson d9645557a5 - scheduler: matchmaking scheduler now works;
uncomment MATCHMAKER to enable it.
    More testing needed.
- client (unix): avoid crash if LD_LIBRARY_PATH not set
    (port to 6.1 branch)


svn path=/trunk/boinc/; revision=15115
2008-05-01 22:11:08 +00:00
Reinhard Prix 20e686d54c - commented-out AM_MAINTAINER_MODE in configure.ac to *activate* all maintainer-mode
features by default


svn path=/trunk/boinc/; revision=15113
2008-05-01 17:23:29 +00:00
Charlie Fenton 72df062b6c implement Mac CUDA detection; fix compiler errors and warnings; change boinc_cmd to boinccmd/
svn path=/trunk/boinc/; revision=15111
2008-05-01 09:25:51 +00:00
David Anderson a850123b39 - boinc_cmd: changed help strings to say "boinccmd".
I'd like to change the filename too but can't figure out Makefile stuff

svn path=/trunk/boinc/; revision=15110
2008-04-30 21:59:46 +00:00
David Anderson 938d77ce4c - client (Unix) Add /usr/local/cuda/lib/ to LD_LIBRARY_PATH
before looking for CUDA library
- scheduler: some additional work on matchmaker scheduling
    Changed check_app_filter() so that it doesn't depend on
    the current multi-phase approach;
    move that logic to scan_array()


svn path=/trunk/boinc/; revision=15109
2008-04-30 20:31:33 +00:00
Rom Walton 7da4959dff - API: Fix build break from my last check-in.
api/
        graphics2_unix.C
        graphics2_win.C

svn path=/trunk/boinc/; revision=15108
2008-04-30 19:27:24 +00:00
David Anderson 8d61ca0ad6 - client: Win: fix CUDA detection:
look in the registry to find the CUDA install directory,
		and look for cudart.dll in that dir.
	- client: for CUDA, don't confuse coproc.name ("CUDA")
		from coproc.prop.name (e.g., "Device Emulation (CPU)" on my PC,
		which doesn't have a recent-enough GPU)
	- client: if no coprocessors present, say so in startup messages

svn path=/trunk/boinc/; revision=15107
2008-04-30 19:18:51 +00:00
Rom Walton 4ee6262ca7 - API: If the diagnostics framework hasn't been initialized for
the graphics application, initialize it.
        
    api/
        graphics2_unix.C
        graphics2_win.C

svn path=/trunk/boinc/; revision=15106
2008-04-30 05:50:10 +00:00
Rom Walton e796847658 - DIAG: Add an easy way for projects to initialize the diagnostics
framework for graphics applications.
    - DIAG: Make SetDllDirectory work for Win2k3, Vista, and Win2k8
    
    lib/
        diagnostics.C, .h
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=15105
2008-04-30 05:42:06 +00:00
Rom Walton db1079aeb2 Quick Updates
svn path=/trunk/boinc/; revision=15103
2008-04-28 19:45:48 +00:00
Rom Walton 971b353699 - Tag for 6.1.17 release, all platforms
boinc_core_release_6_1_17

    /
        configure.ac
        version.h

svn path=/trunk/boinc/; revision=15102
2008-04-28 17:31:09 +00:00
David Anderson fbabb7cee7 - web: tweaks to host list
- scheduler: condition lots of log file writes on config flags
    (i.e. divide "debug" output into a bunch of categories, individually selectable)

svn path=/trunk/boinc/; revision=15101
2008-04-26 23:34:38 +00:00
Frank Thomas dca7f84cab Renamed man pages according to the new names for the BOINC binaries:
boinc_client -> boinc, boinc_cmd -> boinccmd

svn path=/trunk/boinc/; revision=15100
2008-04-26 13:35:41 +00:00
David Anderson 9a29a80161 web fix
svn path=/trunk/boinc/; revision=15099
2008-04-26 03:04:36 +00:00
David Anderson d13824a47f web fixes
svn path=/trunk/boinc/; revision=15098
2008-04-26 00:13:38 +00:00
David Anderson c3ea696662 - web: restore OS/CPU details to host list; add Tasks link
fixes #630


svn path=/trunk/boinc/; revision=15097
2008-04-25 23:56:39 +00:00
David Anderson 3abc3de32f - client: fix bugs with scheduling app that use coprocessors
- client: factor out "schedule_if_possible()" logic from
        two places in schedule_cpus()

svn path=/trunk/boinc/; revision=15096
2008-04-25 21:44:47 +00:00
Rom Walton 226a78443d - MGR: On Linux, start the manager from the current directory instead
of using argv[0] to build the path.
    
    clientgui/
        BOINCClientManager.cpp

svn path=/trunk/boinc/; revision=15093
2008-04-25 18:36:41 +00:00
David Anderson 68f535d033 - user web: send no-cache headers except if we're doing
whole-page caching.  Fixes #626

svn path=/trunk/boinc/; revision=15089
2008-04-24 16:16:36 +00:00
David Anderson 5fd6c676cf - scheduler: fix bug where scheduler sends a WU when
an app version is not available for that platform

svn path=/trunk/boinc/; revision=15088
2008-04-23 23:34:26 +00:00