{"action":"opened","issue":{"url":"https://api.github.com/repos/uwhpsc-2016/homework4/issues/2","repository_url":"https://api.github.com/repos/uwhpsc-2016/homework4","labels_url":"https://api.github.com/repos/uwhpsc-2016/homework4/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/uwhpsc-2016/homework4/issues/2/comments","events_url":"https://api.github.com/repos/uwhpsc-2016/homework4/issues/2/events","html_url":"https://github.com/uwhpsc-2016/homework4/issues/2","id":156301748,"number":2,"title":"Traceback error from Make for heat.c with parallel code changes. ","user":{"login":"jleskiw","id":18154693,"avatar_url":"https://avatars.githubusercontent.com/u/18154693?v=3","gravatar_id":"","url":"https://api.github.com/users/jleskiw","html_url":"https://github.com/jleskiw","followers_url":"https://api.github.com/users/jleskiw/followers","following_url":"https://api.github.com/users/jleskiw/following{/other_user}","gists_url":"https://api.github.com/users/jleskiw/gists{/gist_id}","starred_url":"https://api.github.com/users/jleskiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleskiw/subscriptions","organizations_url":"https://api.github.com/users/jleskiw/orgs","repos_url":"https://api.github.com/users/jleskiw/repos","events_url":"https://api.github.com/users/jleskiw/events{/privacy}","received_events_url":"https://api.github.com/users/jleskiw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-23T15:17:08Z","updated_at":"2016-05-23T15:17:08Z","closed_at":null,"body":"1) I was able to produce the expected serial_heat.png plot, following the  steps given in the homework.\r\n$ make lib\r\nproduces the object file :\r\nmpicc -Iinclude -shared src/heat.o -o lib/libhomework4.so\r\n\r\n-I updated test_homework4.py with the following addition, as per suggestion from issue #1.\r\nimport matplotlib \r\nmatplotlib.use(‘Agg')\r\n\r\n$ python test_homework4.py\r\nproduced the expect plots for serial_heat.png, parallel_heat.png\r\n\r\n2) I was not able to test my heat_parallel.c changes, as I received a test_homework4.py\r\nmake file traceback error. I believe I followed the steps given in the homework. Please advise.\r\n\r\n-made updates to heat_parallel to include use of MPI.\r\n-installed mpi4y\r\n$ pip install mpi4pyd\r\n\r\n-updated test_homework4.py to uncomment the parallel code, comment the serial plot command.\r\n\r\n$ make lib\r\nsuccessful\r\n\r\n$ make test\r\nTraceback (most recent call last):\r\n    from wrappers import *\r\n  File \"test_homework4.py\", line 13, in <module>\r\n  File “/projects/file_path/homework4-username/homework4/wrappers.py\", line 21, in <module>\r\n    from homework4 import (\r\n  File \"/projects/file_path/homework4-username/homework4/__init__.py\", line 1, in <module>\r\n    raise OSError(\"You need to compile your homework library using 'make'.\")\r\n    from wrappers import *\r\nOSError: You need to compile your homework library using 'make'.\r\n  File \"/projects/file_path/homework4-username/homework4/wrappers.py\", line 21, in <module>\r\n    raise OSError(\"You need to compile your homework library using 'make'.\")\r\nOSError: You need to compile your homework library using 'make'."}}
{"actor":{"display_login":"jleskiw"}}