Changes between Version 10 and Version 11 of QuickStart
- Timestamp:
- Oct 8, 2010, 1:45:32 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QuickStart
v10 v11 1 1 = Quick start = 2 3 2 Want to see BOINC in action as fast as possible? 4 3 5 * Run the [ VmServer BOINC virtual server] in a VMWare player. Set up its IP address, say a.b.c.d.4 * Run the [wiki:VmServer BOINC virtual server] in a VMWare player. Set up its IP address, say a.b.c.d. 6 5 * Logged into the server as 'boincadm', create a test project: 7 6 {{{ … … 22 21 * [//download.php Download], install, and run the BOINC client on a Linux computer. 23 22 * Attach the client to your new project: 24 * If you're using the BOINC Manager, enter the URL '''http://a.b.c.d/test/''', and enter an email and password.25 * Otherwise use the command-line tool to create an account and attach:23 * If you're using the BOINC Manager, enter the URL '''http://a.b.c.d/test/''', and enter an email and password. 24 * Otherwise use the command-line tool to create an account and attach: 26 25 {{{ 27 26 $ boinccmd --create_account http://a.b.c.d/test/ email-addr password account-name … … 30 29 }}} 31 30 32 Your BOINC client will immediately being fetching and executing jobs from the server 33 (the jobs are for a sample application that uses 1 minute of CPU time 34 and processes a 4 MB file). 35 You can repeat this on as many computers as you want. 36 Voila! You're doing distributed computing. 31 Your BOINC client will immediately begin fetching and executing jobs from the server (the jobs are for a sample application that uses 1 minute of CPU time and processes a 4 MB file). You can repeat this on as many computers as you want. Voila! You're doing distributed computing. 37 32 38 In a web browser, visit '''http://a.b.c.d/test'''. 39 You will see your project's web site. 40 You can log in (using the same email/password) and access 41 your volunteer account information. 33 In a web browser, visit '''http://a.b.c.d/test'''. You will see your project's web site. You can log in (using the same email/password) and access your volunteer account information. 42 34 43 35 == Running your own application == 36 Suppose that instead of the sample application, you want to run your own. Logged in to the virtual server, type 44 37 45 Suppose that instead of the sample application, you want to run your own.46 Logged in to the virtual server, type47 38 {{{ 48 39 cd ~/projects/test 49 40 html/ops/single_job_setup.php ~/boinc/samples 50 41 }}} 51 and follow the resulting instructions. 52 This configures your project to handle "single job" submissions. 53 Then compile a program in your home directory. 54 Say the program is '''a.out''' and that it writes to stdout. 55 Then, in your home directory, type 42 and follow the resulting instructions. This configures your project to handle "single job" submissions. Then compile a program in your home directory. Say the program is '''a.out''' and that it writes to stdout. Then, in your home directory, type 43 56 44 {{{ 57 45 boinc/tools/boinc_submit --stdout foo a.out 58 46 }}} 59 When this completes, '''foo''' will contain the output of a.out, 60 run on one of the BOINC client hosts. 47 When this completes, '''foo''' will contain the output of a.out, run on one of the BOINC client hosts. 61 48 62 49 == What's next? == 63 64 This demonstrates how you can use BOINC to run programs remotely, 65 but it doesn't show the complete picture. 66 In particular: 50 This demonstrates how you can use BOINC to run programs remotely, but it doesn't show the complete picture. In particular: 67 51 68 52 * This demo uses only Linux clients. BOINC lets you use heterogeneous pools of Windows, Mac OS X, Linux, and other clients. … … 70 54 * In this demo, we trust the client to return correct results. BOINC lets you set things up so that results from faulty or malicious clients are automatically detected and rejected. 71 55 72 ... and many, many other things. 73 Keep reading. 56 ... and many, many other things. Keep reading.