[root]/Packages/Uintah/Core/Parallel
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 51 (100.0%) | 219 (100.0%) | 4.2 |
luitjens | 31 (60.8%) | 171 (78.1%) | 5.5 |
dav | 7 (13.7%) | 33 (15.1%) | 4.7 |
jas | 11 (21.6%) | 15 (6.8%) | 1.3 |
harman | 2 (3.9%) | 0 (0.0%) | 0.0 |
Use cout instead of cerr for some standard spew.
0 lines of code changed in 2 files:
Determine sus is being run via mpirun automatically on Hera (LLNL).
4 lines of code changed in 1 file:
Env var check for mpirun on UPDRAFT. Don't need -mpi anymore on this computer.
8 lines of code changed in 1 file:
Deleted Proc0Cout.cc/h
-added macro to Parallel.h
+#define proc0cout if(Parallel::getMPIRank()==0) cout
-Dav & Justin.
0 lines of code changed in 2 files:
Created a proc0cout which is used just like cout but only prints on
processor 0. (Note it is possible (probable) that you will try to...
proc0cout << something;
...but 'something' isn't a type that proc0cout knows how to handle.
In this case, you will need to update Proc0Cout.h/cc with the
appropriate (very basic, easy to copy) code.
M Grid/sub.mk
M Parallel/sub.mk
Added Proc0Cout files. Alphabetized.
M Parallel/Parallel.h
#includes Proc0Cout as a convenience.
A Grid/Proc0Cout.h
A Grid/Proc0Cout.cc
Proc0Cout is a singleton class used to reduce debug spew. (Note, it
happens to reside in Uintah/Grid (instead of, say, Uintah/Util)
because of circular dependency issues... and I didn't want to create a
whole new directory (to solve them) just for it.)
11 lines of code changed in 3 files:
Fixed a segfault
0 lines of code changed in 2 files:
If uncompression fails with Z_DATA_ERROR assume the message was not compressed and continue.
This occurs when a message that is smaller than the buffer is not compressed and is sent.
The buffer is smaller because MPI_Pack_size returns an upper bound and not the actual size.
8 lines of code changed in 1 file:
Fix for memory leaks
7 lines of code changed in 1 file:
Do not pack/unpack zero sized messages. Packing 0 sized messages increases the size of the send buffers. This should reduce communication.
Do not send 0 sized messages. There is no reason to send a message that has no data. Doing so only creates a syncronization point.
Since 0 sized messages are no longer being sent I have undone the zero sized compression check.
10 lines of code changed in 1 file:
don't compress/uncompress 0 length messages. These messages should be caught and not sent via MPI as they serve no purpose other than to slow things down.
7 lines of code changed in 1 file:
Added more descriptive error messages when compression fails.
41 lines of code changed in 1 file:
Enabled gzip message compression for messages sent via the task graph.
By default this is disabled until some large scale testing and parameter studies can be performed.
To enable add this to your input file:
<Scheduler>
<compressionLevel>5</compressionLevel>
<compressionThreshold>50</compressionThreshold>
</Scheduler>
compressionLevel specifies the gzip compression level which ranges from 0 (no compression) to 9 (maximum compression)
compressionThreshold specifies the threshold for message size in bytes in which message compression will be attempted. That is any messages that are of size <=compressionThreshold will not be compressed.
66 lines of code changed in 5 files:
Add environment variables for open mpi so we do not have to use the -mpi option
for sus.
3 lines of code changed in 1 file:
MallocTrace Profiling
3 lines of code changed in 1 file:
Remove using namespace std; and replace with only what is needed.
4 lines of code changed in 5 files:
Use indention... it's your friend.
3 lines of code changed in 1 file:
Added MallocTrace support to Uintah, cleaned up mpi includes, removed SCI_MALLOC_TRACE functionality.
Currently building with MallocTrace is only supported within Uintah.
10 lines of code changed in 10 files:
Use the proper c++ standard for include files for the C inlude files, i.e.
<stdio.h> --> <cstdio>
<math.h> --> <cmath>
Tested on g++ 4.2 and 4.3 compilers.
3 lines of code changed in 3 files:
Add include file for g++-4.3.
1 lines of code changed in 1 file:
Fix compiler warnings for const char conversion of strings.
4 lines of code changed in 1 file:
(3 more)