source: CIVL/examples/compare/diffusion1d/README.txt@ 8a50139

1.23 2.0 main test-branch
Last change on this file since 8a50139 was b34526e, checked in by Ziqing Luo <ziqing@…>, 12 years ago

add a new readme file

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1538 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 953 bytes
Line 
1Here is some notes for comparing two diffusion1d programs(one in parallel and one in sequential) from FEVS.
2
3Bugs of original MPI-C program( diffusion1d_par.c ):
4
51. Never try to free "u", which stores the final result, when quit by calling quit().
6
72. Never try to close the file, which provides input data, when quit by calling quit().
8
93. Malloc space to pointer "buf" inside the function "init()" twice without free the space
10 given by first time malloc.
11
124. Missing "fclose()" in function "init()".
13
14Defects of CIVL:
15
161. CIVL cannot automatically handle system file closing work when the program quit before
17 reaching the end.
18
192. When comparing 2 programs, CIVL cannot recognize the file both of 2 programs are reading
20 is same. Thus, CIVL will verify one path that one program quit because of failing on
21 reading file but the other doesn't fail on it.
22
233. "sprintf()" still not supported
24
254. CIVL pragma cannot support "if" statement.
Note: See TracBrowser for help on using the repository browser.