Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.01 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.01 KB

Vagrant VM instructions

Hopefully this will be unnecessary in a month or so; but right now, packages for GCC 5.1 and OpenCoarrays aren't common.

This is a vagrantfile for building or using a VM that has OpenCoarrays, GCC 5.1, and MPICH3 installed. OpenCoarrays, for simplicity, has been built with the less-performant MPI backend.

To use this Virtual Machine,

  • Install Vagrant
  • Install VirtualBox
  • To build the VM yourself,
    • Type vagrant up in this directory and the base VM will install, as will the software
    • The gcc build can take about an hour.
  • Otherwise, in a seperate directory,
    • Type vagrant init ljdursi/opencoarrayVM
    • Type vagrant up; this will download and start the binary VM.
  • Once the VM is up and runnning, type vagrant ssh in that directory to log into the VM.
  • From there, you should be able to cd coarray-examples and type make to build the examples.
  • Then, eg, mpirun -np 4 helloworld/hw-coarray will run them.