1)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 66203)
Posted 18 Feb 2017 by Brian Neal Post: NBody took a bit of massaging to build. I have a set of diffs that I'll post up soon. As for separation, it tends to work so long as you are running with a custom app_info.xml. |
2)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 64370)
Posted 10 Mar 2016 by Brian Neal Post: I've been getting failures recently, so I'm going to look into updating nbody to 1.56 tonight. |
3)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 64047)
Posted 30 Oct 2015 by Brian Neal Post: NBody 1.52 is now available for FreeBSD 10: https://aceshardware.files.wordpress.com/2015/10/milkyway_1-52_1-36_x86_64-pc-freebsd.zip milkyway_nbody 1.52: % make check Test project milkywayathome_client/nbody/tests Start 1: checkpoint_test 1/4 Test #1: checkpoint_test .................. Passed 2.39 sec Start 2: custom_arg_test 2/4 Test #2: custom_arg_test .................. Passed 7.99 sec Start 3: emd_test 3/4 Test #3: emd_test ......................... Passed 0.80 sec Start 4: invalid_input_test 4/4 Test #4: invalid_input_test ............... Passed 19.99 sec 100% tests passed, 0 tests failed out of 4 Total Test time (real) = 31.18 sec Built target check Cheers! -Brian |
4)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 64043)
Posted 27 Oct 2015 by Brian Neal Post: Hello, it seems that nbody workunits now require version 1.52 of the application: Sure thing. I'll do it tonight. |
5)
Message boards :
Number crunching :
AMD R9 290X does not receive any GPU work
(Message 63463)
Posted 26 Apr 2015 by Brian Neal Post: If the only thing holding back a server upgrade is to integrate the latest version and merge in any local M@H changes, I'd be happy to help with that. Is the server codebase available somewhere? |
6)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 63314)
Posted 2 Apr 2015 by Brian Neal Post: Has anyone else had any issues running the FreeBSD Nbody 1.48 binary? I've gotten 8 validate errors with them so far... they aren't invalids, but they aren't validating. I've switched back over to the linux 32 bit (mt) binary and the issue goes away. Could be bad work units...I've noticed a few that are inconclusive: http://milkyway.cs.rpi.edu/milkyway/workunit.php?wuid=775468075 http://milkyway.cs.rpi.edu/milkyway/workunit.php?wuid=775464620 I've also had several that were successfully validated. |
7)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 63260)
Posted 25 Mar 2015 by Brian Neal Post: NBODY 1.48 is now available: https://aceshardware.files.wordpress.com/2015/03/milkyway_1-48_1-36_x86_64-pc-freebsd.zip milkyway_nbody 1.44: % make check Test project milkywayathome_client/nbody/tests Start 1: checkpoint_test 1/4 Test #1: checkpoint_test .................. Passed 1.01 sec Start 2: custom_arg_test 2/4 Test #2: custom_arg_test .................. Passed 8.00 sec Start 3: emd_test 3/4 Test #3: emd_test ......................... Passed 0.97 sec Start 4: invalid_input_test 4/4 Test #4: invalid_input_test ............... Passed 19.99 sec 100% tests passed, 0 tests failed out of 4 milkyway_separation 1.36: % make test Running tests... Test project milkywayathome_client/separation Start 1: tests 1/1 Test #1: tests ............................ Passed 145.82 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 145.82 sec |
8)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 63256)
Posted 24 Mar 2015 by Brian Neal Post: The source code on Github: https://github.com/Milkyway-at-home/milkywayathome_client Thanks, I'll pull down the updated code and post a new build tonight. |
9)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 62979)
Posted 10 Jan 2015 by Brian Neal Post: Looks like there was an update to NBody. I'll see about building an updated binary for it. |
10)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 62796)
Posted 7 Dec 2014 by Brian Neal Post: Wow those binaries are much faster, possibly faster than running the linux ones. I'm still trying to tackle compiling the binaries myself, as a good learning tool, but have hit a brick wall with undefined references galore while trying to compile separation. What a headache. The code does not compile 100% cleanly on FreeBSD, so I had to make some minor patches. I'll try and reach out to the project admins to see if they'd like to integrate my changes into their mainline to permit easy FreeBSD builds going forward. I also have some slightly faster binaries I'll post soon! |
11)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 62746)
Posted 27 Nov 2014 by Brian Neal Post: It's built with clang, using the flags in the above post. I didn't build it with OpenMP, so both apps are single-threaded. I haven't found this to be a problem for N-Body because BOINC just runs one process per core anyway. I'm testing some minor optimizations to the separation code that's currently saving ~15 seconds per unit/core, or about an hour of CPU time a day for my system. Once I finalize it, I'll post another build and I'll try to include OpenMP-enabled binaries as well. |
12)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 62730)
Posted 23 Nov 2014 by Brian Neal Post: Fantastic, let me know how it goes! |
13)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 62728)
Posted 23 Nov 2014 by Brian Neal Post: Thanks! I had gotten that old code working, but this is much better! I now have optimized separation and nbody binaries: Download: https://aceshardware.files.wordpress.com/2014/11/milkyway_1-44_1-36_x86_64-pc-freebsd.zip CFLAGS (clang 3.4.1): -O3 -fvectorize -static milkyway_nbody: ~/dev/milkywayathome_client % make check Test project /home/brian/dev/milkywayathome_client/nbody/tests Start 1: checkpoint_test 1/4 Test #1: checkpoint_test .................. Passed 1.60 sec Start 2: custom_arg_test 2/4 Test #2: custom_arg_test .................. Passed 8.00 sec Start 3: emd_test 3/4 Test #3: emd_test ......................... Passed 0.80 sec Start 4: invalid_input_test 4/4 Test #4: invalid_input_test ............... Passed 19.99 sec 100% tests passed, 0 tests failed out of 4 Total Test time (real) = 30.40 sec milkyway_separation: ~/dev/milkywayathome_client/separation % make test Running tests... Test project /usr/home/brian/dev/milkywayathome_client/separation Start 1: tests 1/1 Test #1: tests ............................ Passed 145.80 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 145.80 sec The performance is much improved: Before: http://milkyway.cs.rpi.edu/milkyway/result.php?resultid=882142548 882142548 653711462 20 Nov 2014, 12:10:13 UTC 21 Nov 2014, 14:28:12 UTC Completed and validated 51,249.09 51,043.42 106.88 MilkyWay@Home v1.00 After: http://milkyway.cs.rpi.edu/milkyway/result.php?resultid=884981220 884981220 655662031 23 Nov 2014, 4:48:51 UTC 23 Nov 2014, 5:48:13 UTC Completed and validated 3,324.51 3,236.41 106.88 MilkyWay@Home Note that the SSE4.1 codepath is now utilized. I'm also now running NBody work units, which were previously unavailable on FreeBSD. |
14)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 62726)
Posted 22 Nov 2014 by Brian Neal Post: Hi, I've been running the project on both Windows and FreeBSD and have noticed the FreeBSD binaries run substantially slower (~14x) than their Windows counterparts on the same hardware. The v1.00 FreeBSD binary appears to be using an SSE3 codepath whereas Windows is using SSE4.1: Windows: http://milkyway.cs.rpi.edu/milkyway/result.php?resultid=880295284 FreeBSD: http://milkyway.cs.rpi.edu/milkyway/result.php?resultid=882142548 I'd be happy to contribute optimized binaries for FreeBSD. Does anyone know if this is the latest source revision? http://milkyway.cs.rpi.edu/milkyway/download/src/ Thanks! -Brian |
©2024 Astroinformatics Group