source: CIVL/examples/compare/diffusion1d/README@ 978afe7

main test-branch
Last change on this file since 978afe7 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

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

  • Property mode set to 100644
File size: 1.1 KB
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
145. Missing MPI_Finalize() when root process quits.
15
166. When root process call "quit()" before broadcasting parameters to
17 other process, other process will keep waiting for broadcasting forever.
18
19Defects of CIVL:
20
211. CIVL cannot automatically handle system file closing work when the program quit before
22 reaching the end.
23
242. When comparing 2 programs, CIVL cannot recognize the file both of 2 programs are reading
25 is same. Thus, CIVL will verify one path that one program quit because of failing on
26 reading file but the other doesn't fail on it.
27
283. "sprintf()" still not supported
29
304. CIVL pragma cannot support "if" statement.
Note: See TracBrowser for help on using the repository browser.