

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


The directions below assume that you are logged into your olympus account. If you have any questions, send email to your instructor. (0) Remain in your directory. There is NO need to do cd into any other directory. (1) There is a Makefile in the ~emontagn/project directory. Make a link to that file in your directory. Do not copy it to your directory. You can link to it with the following command: ln -s ~emontagn/project/Makefile2 Makefile (2) Execute make copyfiles. This will copy necessary files from my directory into your current directory. After this, you should have the following files: obj1.c obj2.c obj3.c obj4.c obj5.c obj6.c simulator.c externs.h osdefs.h intro.doc Print all the files. After printing, delete externs.h, osdefs.h and simulator.c from your directory. (3) To compile, execute make obj1.o (change this to obj2.o, obj3.o, etc. for the other objectives) (4) To copy data files, execute make data1files (copy other data files by replacing 1 with the current objective number). (5) To link, execute make sim (6) To run your program, execute sim (7) Debug your code and correct errors. (8) To run ossim and get a correct output file to compare, execute make correct-output This always creates a file ossim.out in your current directory. (9) To compare your results, execute make compare OBJ=1 (=2, =3, etc. for the others) (10) To submit, execute make submit
(a) Do NOT edit any datafiles. Not even config.dat. (despite what the instructions say) (b) Do NOT retain any header files (*.h) in your directory after printing them. You will run into problems later if you do not delete them. (c) You will only submit the files obj1.c, obj2.c, etc. DO NOT modify the header files, simulator.c or the Makefile. We will not accept those files and will not use them when we compile and test your objectives. If your code depends on them, it won’t run for us, and you know what that means.
DATE EVENT January 22 OBJECTIVE # 1 discussed. (5%) February 1 (Friday) at midnight OBJECTIVE # 1 due. February 5 OBJECTIVE # 2 discussed. (7%) February 15 (Friday) at midnight OBJECTIVE # 2 due. February 19 OBJECTIVE # 3 discussed.(8%) March 7 (Friday) at midnight OBJECTIVE # 3 due. March 18 OBJECTIVE # 4 & 5 discussed. (10%) April 4 (Friday) at midnight OBJECTIVE # 4 & 5 due. PROJECT ENDS. April 7 Concurrent programming discussed April 18 Concurrent programming assignment due. (No late submissions accepted for concurrent programming assignment) Submissions after midnight on the due date will be considered late and receive a penalty. Grading and Submission Notes: (1) All 4 objectives must be completed satisfactorily to pass the course. (2) Penalties for late submission are: Late assignments are accepted five days after the due date with a penalty of 20 % off. After five days, assignments will not be accepted. The grade for those assignments will be zero.