MTH 655 LAB 7

In this lab you can work from the local computer in Cygwin. Later log in remotely from any other computer on campus.
You will explore parallel implementation using MPI.

  • Read the background information on cluster There will be a class demonstration. Please wait.
  • Make sure you can access the cluster. If you are on campus,
    ssh you@cluster-submit.science.oregonstate.edu
    Talk to me if this did not work. From off-campus, ssh to a campus computer first, then to the cluster.
    ssh you@science.oregonstate.edu
    ssh you@cluster-submit.science.oregonstate.edu

    To see who is logged in to the cluster, type
    w
    To see what jobs are running on the cluster, type
    qstat
  • To compile on the cluster, use
    mpif77 -o myprogram myprogram.f
  • To submit the job, use
    qsub myjob_submit
    where myjob_submit is your submit file
  • To delete a job if necessary, use
    qdel myjob_submit

  • Follow my demonstration: You will need
    The project is here mlab7.pdf .

    For myjacobi project you will have to make up your own submission script. However, I am providing the Fortran code myjacobi.f that you can modify as needed.