Windows SMP cliënt installatie (MPICH versie)

Let op: Door de manier waarop de Windows-SMPcliënt is geschreven, is het een gecompliceerder proces geworden bij de installatie. Om deze reden, graag eerst de hele handleiding doornemen, voordat u met de installatie gaat beginnen! Er zijn een aantal belangrijke dingen om zorgvuldig mee om te gaan, zoals bijvoorbeeld de -smp flag toevoeging, anders zal het niet goed gaan werken.

Als u de DEINO versie wenst te installeren, kijkt u dan op deze handleiding.

Inhoudsopgave

Beta Cliënt waarschuwing.

Wij stellen vaak nieuwe cliënten eerder beschikbaar voor donoren om deze te Beta-testen. Deze Beta-versies hebben vaak nog wat ruwe kantjes, maar zij werken meestal goed voor de meeste donors. Bekijk de respectievelijke installatie handleiding voor meer details en eventuele haken en ogen van de betreffende beta-versies.

Zoals bij het gebruik van alle Beta software, zorg ervoor een back-up van de harde schijf te maken, voor het installeren. DRAAI GEEN Beta-cliënt als uw machine ook maar een teken van instabiliteit of probleem vertoond. Beta cliënten kunnen met de prestaties behoorlijk verschillen van standaard FAH cliënten: gedurende het ontwikkelings proces, soms met WU tekorten, ook kunnen server-downtimes optreden door snelle server upgrades, ook kunnen er ineens onverwachte cliënt upgrades optreden, dan zijn er nog de Punten per Dag (PPD), die kleine of grote verschillen ten opzichte van het ontwikkelings-benchmarknivo te zien kunnen geven.

Uiteindelijk, komt het er op neer dat de punten per dag (PPD) veel hoger zijn dan die van de klassieke cliënt, maar kunnen zij ook behoorlijk veel onderhoud vergen door hun experimentele Beta karakter. Als u liever een cliënt heeft die makkelijk en probleemloos draait, dan kunnen wij u de Main cliënt aanbevelen en niet een Hoge Prestatie Cliënt . Als u toch een Hoge Prestatie Cliënt wilt draaien, verwacht dan een complexere ervaring + meer werk en kennis om hem ook draaiende te houden! Wat wordt gecompenseerd, door een veel groter aantal punten per dag (PPD) :)

In aanvulling op de onderstaande instructies, stellen wij voor dat u hier ook even bij deze instructies over FAH op deze Wikipagina een kijkje neemt.

Aanpassingen ter installatie

Voordat u het installatie proces start van de SMP console cliënt, zijn er een paar controles noodzakelijk, voordat de cliënt goed zal functioneren:

  1. U heeft een computer met minstens een dual-core of nog beter een Quad-core om de SMP cliënt te draaien. Dit betekend dat de oudere enkele processors niet in staat zijn deze te draaien. Omdat het een hoge prestatie cliënt is, kunt u merken dat na de installatie, de deadlines moeilijk te halen zijn, gebruikt u in dat geval dan liefst de uni-processor.
  2. Als u installeert onder Windows XP, is het noodzakelijk ook Microsoft .NET framework v2.0 te installeren. U kunt dat hier downloaden : Microsoft. Windows Vista heeft dit reeds in zich, dus is het overbodig het hiervoor te downloaden.
  3. Het Windows gebruikers-account waaronder u de cliënt installeert, MOET een wachtwoord hebben met administrator rechten. Blanco wachtwoorden worden niet geaccepteerd, zij zullen ook niet werken zonder de volgende geldige tekens : A-Z, a-z en 0-9. Speciale leestekens kunnen niet gebruikt worden om mogelijke problemen te voorkomen. Als u het wachtwoord wijzigt van het Windows gebruikers account, dient u opnieuw install.bat. te draaien. Het wachtwoord welke bij de installatie wordt gebruikt is "versleuteld" in het register en wordt niet verzonden naar de Stanford servers.

Installatie

Note: Under Windows, antivirus software can interfere with the Folding@home client files and cause errors. We suggest configuring antivirus software to exclude the FAH client directory and especially the Work directory from the antivirus scanning list. This can be done by going into the exclusion list panel that every antivirus should have. The work subdirectory contains semi-random binary data and can confuse overly aggressive heuristic virus scanning.

Allereerst, maak een nieuwe map op C:\Users\[username]\ of in de root van C:\ (wat hierbij belangrijk is om de map niet in C:\Program Files\ aan te maken om te voorkomen dat er problemen ontstaan met gebruikersrechten,dit in het bijzonder bij Vista) met een simpele naam zonder spaties of bijzondere (lees)tekens. Een goede suggestie is om de map FAH te noemen. De reden hiervoor is dat Vista strenge regels heeft, wanneer een programma vanuit de Programma bestanden map gedraaid wordt. Op deze manier omzeilt u meerdere problemen.

Ga naar de Hoge Prestatie cliënten download pagina. Daar zijn de SMP een DEINO of MPICH beschikbaar ter download. Kies in dit geval voor de MPICH versie.

Nadat u het heeft gedownload, ziet u een .exe bestand, dus klikt u hierop. U zult dit scherm daarna aantreffen:

Klik op Next om naar het volgende scherm te gaan, wat een "readme" is met de cliënt mededelingen. Klik weer op Next om het volgende scherm te laten zien:

Het is aan u welke optie u kiest. Ik beveel de eerste keuze aan, voor "All Users", om de installatie te vergemakkelijken maar als u niet wilt dat andere gebruikers dit zien, laat dan de standaard instelling zoal hij is. Hierna, klik op Next om u naar het volgende scherm te brengen:

Als u de aanbeveling om een nieuwe map te maken hebt gevolgd, kies dan deze door de Browse knop aan te klikken om het volgende scherm te krijgen:

Nadat u de gewenste map heeft geselecteerd waar u de de cliënt gaat installeren, klik dan op Ok dan op Next bij het vorige scherm.Op dit moment kent de installeer alles om verder te gaan met de installatie. Klik op Next om te installeren. Als dit gebeurd is, klik op Finish om de installer af te sluiten.

Met Windows Explorer, gebruik de verkenner om naar de nieuwe map te gaan en je zult deze bestanden aantreffen:

Om de volgende stappen te vergemakkelijken, is het aan te bevelen om de executable .exe (met de gekleurde eiwitten) de volgende naam te geven fah6.exe (rechter muisklik en dan selecteert u Rename en wijzigt de oude bestandsnaam in de nieuwe naam).

MPICH configuratie

Open het command prompt scherm door op Start te klikken van het Start menu tijp dan cmd.exe in de "Run box" en kik op Ok. Als je Vista hebt, moet je dit doen met Run as administrator optie aan anders heb je niet voldoende rechten om de volgende stappen te doen.(om deze te verkrijgen, rechter klik op de Command Prompt icoon dan selecteert u Run as administrator). Bij Windows XP, is het voldoende cmd.exe gewoon te draaien.

Hieronder hoe het er in Vista uit zou moeten zien (Getypt is cmd.exe dan een rechter klik erop):

U kuntCD gebruiken om van directory te wisselen en dan bv D:\ te selecteren (of een andere drive letter) om van drive te veranderen mocht de cliënt niet standaard op C:\ geïnstalleerd zijn. Met deze commando', kunt u FAH versie verhuizen naar de folder die u eerder heeft aangemaakt. (C:\FAH vanuit ons voorbeeld). Als u hier bent aangeland, typ install.bat en u zult onderstaande berichten zien:

 MPICH2 Process Manager, Argonne National Lab installed.
 account (domain\user) [FAH\Username]:

Let op : Als u install.bat opstart, dan kunt u een firewall melding krijgen welke om toestemming vraag voor de volgende 2 bestandsnamen, een voor mpiexec.exe en een voor smpd.exe. U dien u ervan te verzekeren dat deze beide permanente toestemming krijgen, (vaak ook een hokje hiervoor aanvinken)anders gaat het programma niet werken.

Als het domein en gebruikers-account klopt, klik dan gewoon op Enter maar als je een ander account wilt gebruiken, vul dan de benodigde informatie in (Als je in het de Actieve Directory bent, vul dan de domeinnaam in, maar als dit niet het geval is, dan is het de computernaam die je in moet voeren). Nadat je op Enter hebt gedrukt, dan zie je een wachtwoord vraag:

 password:

Toets het Windows gebruikers password in (u ziet hier niets van op het scherm, maar typ en enter gerust verder). Het vraagt om een bevestiging, dus voer het password nogmaals in. Als u dit correct heeft gedaan, zult u de volgende mededeling zien:

 password:
 confirm password:
 Password encrypted into the Registry.
 If you see this twice, MPI is working
 If you see this twice, MPI is working
 Press a key to continue...

Het belangrijkste is dat u dit ziet If you see this twice, MPI is working dit wordt 2x getoond. Mocht u dit niet zien of een andere foutmelding doemt op, controleer waarom en repareer dit voordat u het opnieuw probeert. Als MPICH correct werkt, dan is het tijd om de cliënt zoals onderstaand te configureren.

Cliënt configuratie

The next step is to configure the client. Open a Command Prompt and change directory to the location where you unzipped the FAH client. Type this command to begin (assuming you renamed the FAH executable to "fah6"):

 fah6 -configonly -smp

The client will display some information and then prompt you for answers to configuration questions. Note that for most answers, the default setting is the recommended setting. Here is an example of what is displayed on screen, with an explanation of each option:

 Launch directory: C:\FAH
 Executable: fah6
 Arguments: -configonly -smp

 [16:25:22] Configuring Folding@Home...  

 User Name [Anonymous]?
Enter your FAH User Name (not the Windows user name). Or press enter to accept the default user name Anonymous. Almost everyone selects a personalized user name.
 Team Number [0]?
Enter your FAH Team #. Or press enter to accept the default Team # 0. You can join a team at any time by configuring the client again and entering the new team number. This applies to all client settings.
 Passkey []?
Enter your Passkey. Or press enter to leave it blank and go to the next option. You can find more information about Passkeys here. Optional, but may be required in the future.
 Ask before fetching/sending work (no/yes) [no]?
If you have a dialup internet connection, you may want to set this to yes. Then the client will prompt for your permission to upload / download work units. if you have a full time internet connection, just press enter to accept the default setting of no. Because of the short deadlines on SMP work assignments, persistent connections are strongly recommended and this option should be set to no.
 Use proxy (yes/no) [no]?
If you are connected to a proxy, enter yes and configure the proxy options for proxy user name, password, address, etc. Or press enter to skip.
 Acceptable size of work assignment and work result packets (bigger units
 may have large memory demands) -- 'small' is <5MB, 'normal' is <10MB, and
 'big' is >10MB (small/normal/big) [normal]?
This option states a preference for the size of work units downloaded and uploaded to the project servers. Bigger units will also have bigger memory requirements. If you run on a slower broadband or dialup internet connection, small is the recommended setting to ease your bandwidth usage. Note that all SMP WUs are large in size, so big is the recommended setting.
 Change advanced options (yes/no) [no]? yes
If you want to change the advanced options, enter yes but it's not mandatory.
 Launch automatically, install as a service in this directory (yes/no) [no]?
You can install the SMP client as a service, but currently it is not recommended or supported. If you insist, there are special steps to do after installing the service but before running it for the first time. See below for detailed instructions.
 Core Priority (idle/low) [idle]?
This adjusts the FAH client priority level. This is not the same as the Windows priority setting. In most cases, the default setting is recommended.
 CPU usage requested (5-100) [100]?
This will adjust the percentage of CPU usage. The FAH client only users spare CPU cycles not used by other programs, so reducing this setting is not typically necessary. However, if you want to lower system temperatures, or reserve CPU cycles for more intensive computer tasks, enter a number below 100.In the SMP client, changing this setting does not reduce CPU usage.
 Disable highly optimized assembly code (no/yes) [no]?
If you are having issues running the client, disable this. For 99.9% of the users, leave this at the default setting since this reduces the client performance a lot.
 Pause if battery power is being used (useful for laptops) (no/yes) [no]?
If you run a laptop, set this to yes to pause if the laptop is not plugged on the wall. This will avoid the client draining the battery.(if name WinSMP*:)In the SMP client, this setting may not behave as expected.
 Interval, in minutes, between checkpoints (3-30) [15]?
Number of minutes between each checkpoint where the client is writing the client progress to disk in case of unexpected interruption. 15 is the recommended setting.
 Memory, in MB, to indicate (1013 available) [1013]?
Sets the amount of memory seen by the work servers. By default, it shows the full system memory amount. Note that reducing this setting does not reserve more memory for other programs. However, reducing this setting will prevent the client from downloading memory intensive work units. A setting too low may prevent the client from getting any new work.
 Set -advmethods flag always, requesting new advanced
 scientific cores and/or work units if available (no/yes) [no]?
This is the same as using the -advmethods command line flag. This option states a preference to request newer late stage beta work units. Because newer work units tend to be larger, this setting my slightly increase your points per day. But because the mix of work units changes from week to week, using this setting might also reduce your PPD, or have no affect at all. For the SMP client, this only applies to late stage testing.
 Ignore any deadline information (mainly useful if
 system clock frequently has errors) (no/yes) [no]?
Only set this to yes if your local computer clock is having issues keeping the correct date and time.
 Machine ID (1-16) [1]?
This is the Machine Number of the client. If you are running more than one client under the same operating system, you need to have a different Machine ID for each client on that machine. If you are installing a single client on multiple computers, you do not need to change this since this is only for installing multiple clients on the same computer.
 The following options require you to restart the client before they take effect
 Disable CPU affinity lock (no/yes) [no]?
Not useful for SMP since it use all cores.
 Additional client parameters []?
You can enter the client flags here so you don't have to type the flag each time. I strongly suggest you enter the -smp -verbosity 9 flag here to make things easier to setup. Don't enter -config or -configonly or any single-use flag in this field to avoid problems.
 IP address to bind core to (for viewer) []?
For future use when the Viewer is working better. Specifies the IP address of the machine of which the viewer should display the client output.

When you press enter after the last question, the configuration will end and you will be back to the command prompt. You have successfully configured the client so the next step is to start the client. Here are 3 ways:

  • By clicking on the executable icon (this assumes you entered the proper flags during configuration).
  • By typing fah6 on the same command prompt window. Enter the necessary flags (including the mandatory -smp flag) if you didn't enter those during configuration.
  • Create a new shortcut to the FAH executable, and double click that shortcut icon (assuming you added all needed flags to the client setup).

Normally, if everything is done correctly, the client will be folding along fine. To verify the client is progressing, open the task manager and make sure there is 4 instances of FahCore_ax.exe in the list. Or you can open the fahlog.txt file to see the client progress.

Configuren van de SMP-cliënt als een service

Warning: If you want to run the SMP client as a service, be aware this is currently unsupported by the developers. A bad configuration can cause the client to have issues and lose work units.

Note: The guide is validated with Windows Vista. A lot of people have a problem starting the service under XP so follow the steps at your own risks.

In addition to this guide, there is also a very detailed guide available on the Folding Forum which is a bit outdated but still valid.

The first step is to start the client in configuration mode with the -configonly flag. When prompted, answer yes to modify the Advanced Options. When you are in the Advanced options section, look for this prompt:

 Launch automatically, install as a service in this directory (yes/no) [no]?

Enter yes to confirm the service installation. Continue (edit the options if needed) until you reach this line :

 Additional client parameters []?

Since the client will be running as a service, the additional flags must be entered here to make it work in SMP mode. In our case, enter -smp -verbosity 9 then finish the configuration. Please note, it is no longer necessary to enter the service path variable with v6.23 and above.

At this stade, don't start the service yet because it must be edited to run with the proper parameters and permissions. For this, open the Services MMC by clicking on the start menu then type services.msc in the Run... box (XP) or the search field (Vista). When the Services console is started, find the newly added F@H service, which should be called Folding@Home-CPU-[1] :

If you didn't see, restart the client in configuration mode again and double-check that the service is being installed. Now, double-click on it and it will bring the Properties window. Click on the Log On tab to get this :

Select the This Account button then enter the same account you used to configure the MPICH client above. To make sure the account name is correct, it's suggested to click on the Browse button and find the account. Even if the password fields seems populated, delete them and enter the corresponding password.

When you are done, you can either start the service yourself (suggested) by clicking on the first tab then click on the Start button or by rebooting. Check if it is started correctly and if not, double-check the account details.


Voor meer informatie, kijk op:


Laatst bijgewerkt op October 26, 2008, at 02:42 PM door Hans van der Leer