In Windows, Visual C ++ 6 is used for parallel computing.

Source: Internet
Author: User
1. Know http://www.lasg.ac.cn/cgi-bin/forum/topic.cgi from this post? Forum = 4 & topic = 2256 & START = 15 windows has parallel software/support software for Windows environments. Easy to configure mpich2 in the environment

See what you are using.

OverallLinuxOfClusterAspect RatioWindowsOfClusterBetter performance.

If the overall development strength of your lab is relatively strong, you can set upLinuxParallelCluster.

If youLinuxIf you are not familiar with it, create one.Linux clusterIt's just a painful start. Configuration arrangement should be troublesome from development debugging to version management. The advantage is to train people.

Another option is to buildWindows. We usedWindows MPIBuild a parallel environment. Because most peopleWindowsYou are familiar with the development environment. It is also possible to sacrifice a little performance for the project progress.

Below I will provide some resources that I know and use when doing the parallel operation, and hope to be useful.

WindowsParallel Environment Construction

1.Download mpich2

Http://www-unix.mcs.anl.gov/mpi/mpich/

Two versions can be downloaded:Mpich. nt.1.2.5

Another version isMpich2.0

Recommended downloadMpich2It is more stable than the previous version.

1.1Run the configuration instance:

WINXP + mpich2

1.Each machine must have the same account and password, and the case is correct.,Cannot be a blank password,Best notGuestPermission

2.Firewall

3. wmpiregister.exeRegister the same account of each machine

////////////////////////////

SampleTest

1.Standalone test You only need one machine.

Mpiexec-NP-localonly 4 cpi.exe

2.Online Testing

Set your own machine nameNode1Set a shared directoryRevoke folderSet permissions to allowEveryoneFull Control

Revoke folderIncludingCpi.exeFile

Mpiexec-hosts 2 node1 2 node2 2 \ node1 \ Alibaba Folder \ cpi.exe

This test is performed inNode1 node2Open separately on2Processes\ Node1 \ Alibaba Folder \ cpi.exe

Mpiexec-hosts 2 node1 2 node2 2-map Z: \ node1 \ revoke folder Z: \ cpi.exe

This test is performed in SetNode1OfRevoke folderDirectory ing into network Hard DiskZ:ThenNode1 node2Open separately on2ProcessesCpi.exe,ProgramCancel network hard disk after runningZ:How to map network Hard DisksMPIFile Operations in

UseConfigfile

Mpich2_config.txtThe file content is-Hosts 2 node1 2 node2 2 \ node1 \ Alibaba Folder \ cpi.exe

Mpiexec-configfile mpich2_config.txt

Wmpiexec.exeIt is much more stable than the previous graphic interface.

1.2For specific development environment configurations, see 《MpichIntroduction to the parallel programming environment. PDF"

 

LinuxParallel Environment Construction

1.DownloadMPI

LAM-MPIIs a relatively goodMPIImplement your installationRedHatOrFederalOrSuSEWhen,Full InstallIt has been installed.

If not, download

Http://www.lam-mpi.org/

2.ConfigurationCluster

Using Linux to build a typical Cluster System for High Performance Computing

Http://web.csie.chu.edu.tw /~ Cs87668/cluster.htm

Only this articleArticleUseLinuxUnderMpich. GenerallyMpich LinuxPerformance is slightly inferiorLAM-MPI

3.Configure the development environment

ConfigurationLinuxThe development environment is quite troublesome.

RecommendedEclipse + total view

Http://www.etnus.com/TotalView/MPI.html

 

Forum

Http://www.lasg.ac.cn/cgi-bin/forum/forums.cgi? Forum = 4

Tools

Http://www.intel.com/cd/software/products/asmo-na/eng/cluster/index.htm

Http://www.intel.com/cd/software/products/asmo-na/eng/cluster/mpi/index.htm

 

Http://www.lsc.nd.edu/research/PIPT/

Parallel DebuggingWindowsWe recommend that you useWindbg remoteOrVs2003Or2005.

2. A good article on installing mpich in windows. Introduction to the mpich parallel programming environment"

3. Windows Cluster Server 2003 is a parallel operating system that requires a 64-bit CPU

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.