Opened 17 years ago

Closed 16 years ago

#97 closed defect (fixed)

wrong function printed

Reported by: Stephen Siegel Owned by: ywei
Priority: major Milestone:
Component: front Version: 1.0
Keywords: parse, function, main, print Cc:

Description

Running

compare -verbose examples/matmat/matmat-seq_1_1_2.mmp -np 1 examples/matmat/matmat-par_1_1_2.mmp -np 2

the model prints out as follows:

| begin process 0
| | main function : main;
| | | matmat-seq_1_1_2.mmp 10.0--10.57: "void vecmat(real[] vector, real[][] matrix, real[] result)"
| | begin function vecmat

The problem is that the text quoted is the signature not of main but of a different function, vecmat.

Change History (2)

comment:1 by ywei, 16 years ago

Owner: set to ywei
Status: newaccepted

comment:2 by ywei, 16 years ago

Resolution: fixed
Status: acceptedclosed

The source is correctly attached to the model. The "main function:main" specifies the main function of the process. And the source code "void vecmat(real[] vector, real[][] matrix, real[] result)" is associated with the one below it, "begin function vecmat"
I changed the place where source code is displayed so the source code now appears after the "begin function vecmat"

Note: See TracTickets for help on using tickets.