The purpose of this programming assignment is to gain experience in using a Linux shell and shell commands for tasks such as compiling a program, editing it, submitting a batch job, and submitting your assignments as tarballs. You will find this MIT course useful.
wget
.mpicc
. Also, get familiar with using make
. A sample Makefile is here.sbatch
and a batch script on 1 and 16 processes.
tar -cvzf <tarname>.tar.gz <dirname>
You must submit the following files and no other files in a single tarball with extension .tar.gz (delete the executable before using tar):
cpi.c
Makefile
that will compile your code successfully on deepthought2 when using mpicc or mpicxx.LastName-FirstName-assign0
), compress it to .tar.gz (LastName-FirstName-assign0.tar.gz
) and upload that to ELMS.
This assigment is for 0 points. However, all students are required to complete the assignment.