Cleanup compiler testing 

[reviewed by lydia]

Combines the 4 compiler and testing stats graphs into one, and updates
COMPGRAPHFILES

Updates Num Tests to Num of Successful Compilers since that is actually what
it's tracking. 

Added a new "file:" keyword in gengraph (similar to files but it repeats the
same file for all the keys.) and use that for the compiler testing graphs that
had > 40 of the same file listed 

Convert time testing vs time compiling to hours. Seconds weren't very useful
because you end up converting to times you can actually understand manually.
I'll make the changes in the .dat files post-commit. 

Since we no longer warn about duplicate graphs I changed from having a
allPassesTotal.graph and topPassesTotal.graph to totalTime.graph since they
were the same and made the changes in COMPGRAPHFILES



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22853 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Use the ibv launcher for mxm conduit

[trivial and not reviewed]

GASNet's MXM conduit uses the ibv launcher really,
at least for now. Here we enable that to be the
default.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22854 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Update TRIAGE and REGRESSIONS files.

git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22855 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Do not perform performance verification checks if the test timed out

[Reviewed by Tom]

Performance verification will fail and generate a second set of errors if a
test times out, so we shouldn't bother checking.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22856 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Fix 32-bit builds following r22847. [reviewed by tvandoren]

Some small cleanup items to get pthreads building on 32-bit platforms again.

Test-built these mods on two 32-bit platforms (Darwin and linux32) and one
64-bit linus platform.

[compiled runtime on macchapel-mac]
[compiled runtime on cflbs32]
[compiled runtime on lnx-hilde]


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22857 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Rename ClassType as AggregateType. [reviewed by Lydia]

In the compiler, the class formerly known as ClassType actually represents
classes, unions and records.  So renaming it as AggregateType (following the
C/C++ naming convention) more accurately reflects its use.

All instances of "ClassType", "isClassType" and "toClassType" were renamed to
their "AggregateType" counterparts, but the signatures of
getDataClassType() and setDataClassType() were left unchanged.

I also renamed the classTag field as "aggregateTag", renamed the ClassTag enum
as AggregateTag and renamed its members using the prefix "AGGREGATE_" in place
of "CLASS_".

[tested on examples/ (std)]


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22858 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Add compiler performance testing to --no-local and --fast 

[reviewed by thomas]

Add compiler performance testing to --no-local(chap08) and --fast(chap12).
These are probably the only other configurations that compiler timings are
likely to differ (beyond different backend compilers, but that's all in make
binary.) comm=gasnet testing was not added, because it is almost identical to
--no-local with slight variation in make binary. Baseline timing might be
interesting if in the future if the chapel compiler optimizations are not on by
default but for now it would just be extra noise. 


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22859 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Add a test to force early deletion of vars in task call context.

git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22860 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Undo unintended changes to refcnt.{chpl,good}.

git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22861 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Use assign-to-ref for string assignment. [reviewed by bradc]

Convert string assignment to use the new signature: LHS is passed by ref and
return type is void.

__primitive("=", a, b); does not work in the body of this assignment, because
there is special handling for the assignment of wide strings.  (Not only the
descriptor, but the bytes contained are copied.)  

Note that this implementation of assignment continues to assume that local
strings are shared (so they cannot be deleted).  This version of assignment
should be replaced by a more sophisticated version when the strings-as-records
work is complete.

[tested on / (std)]
[tested on / (no-local)]


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22862 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Enable SLURM to control node list for paratest.server

[Reviewed by Thomas]

Checks for the enviro variable SLURM_JOB_NODELIST
and if it is there uses scontrol to get the hostnames.
To use, do something like this e.g.:
 $ salloc -N4
 $ cd test/
 $ ../util/test/paratest.server



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22863 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Future for reduction using instances of a reduction class

Currently we do not support using an instance of a reduction class for
the reduction operator, which limits things like initializing state in
the subclassed ReduceScanOp.




git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22864 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Minor improvements in the compiler and modules.

[Reviewed by Elliot]

* In checkFormalActualBaseTypesMatch() and checkFormalActualTypesMatch(),
ensure with INT_FATAL that whenever the actual is 'nil', the formal
is of a (Chapel) class type.

* In createTaskFunctions(), strengthen an assertion.

* In CyclicDist.chpl, do not set the pid upon 'new CyclicArr(...)'.
Rationale: 'pid' should be set when the object is privatized using
_newPrivatizedClass. Setting 'pid' to that of another already-
privatized object breaks some unspoken invariants/assumptions.

* In ChapelArray.chpl, replace _isPrivatized(a._value) with
_isPrivatized(a._valueType), where 'a' is a _distribution.
This is for consistency with the other uses of _isPrivatized.
Also, for privatized distributions a._value-the-accessor is an int,
so I am unclear how it worked at all before this change.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22865 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Add -no-chpl-home-warn flag to start_test to stifle CHPL_HOME warning.

r: sungeun

git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22866 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Reference libpthread when linking internal tests on Cray systems.

[Reviewed by Sung/Vass/Brad.]

On some Cray systems we're having trouble linking the internal tests for
tcmalloc due to references to pthread functions from other packages that
don't arrange for libpthread to be searched.  For the time being, bring
in libpthread ourselves.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22867 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Fix regressions due to r22858, plus minor tweaks. [not reviewed]

Index: compiler/optimizations/loopInvariantCodeMotion.cpp
The regressions were due to a missed logical negation on line 507 of
loopInvariantCodeMotion().
[tested with test_nested_var_iterator3 (--no-scalar-replacement)]

Index: compiler/parser/chapel.ypp
I noticed that the extraction of the comment on a union declaration
(for chpldoc) was missing, and added it.
[tested with classes/jplevyak/union_type_hierarchy*.chpl]
[tested with classes/bradc/unions/]

Index: compiler/AST/type.cpp
Shortened the name of the constructor argument from initAggregateTag
to initTag.

Index: compiler/include/type.h
Changed the name of the argument to the AggregateType constructor to
"initTag", to match its definition in type.cpp.

Index: compiler/passes/parallel.cpp
Removed an extra space.

[test-built and run with hello.chpl]


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22868 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Migrate scripts to sh to enable portability

For similar reasons to r22780, these were failing
(on my system's csh, which is not tcsh, echo >> somefile
 does not output anything).

Migrated these scripts to /bin/sh which has more
predictable portability.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22869 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Tidy up PRIDIFF scripts and remove bash-isms

As with r22780, these scripts should be using
if [ "a" = "b" ]
for string comparison. Also I removed the superflous
semicolon after this if statement.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22870 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Solve problems with PGI from r22847

[reviewed by Greg]

Using a similar strategy to r22294/r22313 we solve
the problem of static inline definitions conflicting
with non-static-inline declarations by using a
macro. See the commit message for r22313 for
a description of the strategy.
 


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22871 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Removed an unused variable in the compiler.

[trivial - suggested by David]

r22865 removed the only use of neededCapture in createTaskFunctions,
so some builds were failing with warnings about it.
This commit should fix it.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@22872 3a8e244f-b0f2-452b-bcba-4c88e055c3ca