16 Cores: HPC And F#

So I managed to get my hands on Mac Pro, which when running Windows Server 2008 DataCenter shows 16 cores:

So doing a quick google I found this PDF that provide an MPI F# application to run on the HPC:

open MPI

do
  let cmdArgs = System.Environment.GetCommandLineArgs()
  use mpi = new MPI.Environment(ref cmdArgs)
  printf "Hello, from process number %d of 0..%d\n"
    MPI.Communicator.world.Rank (MPI.Communicator.world.Size - 1)

Advertisement

~ by mdavey on April 19, 2010.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 273 other followers