|PREV NEXT||FRAMES NO FRAMES|
|edu.rit.clu.antimatter||Package edu.rit.clu.antimatter provides the Antimatter Simulation, an example of an N-body problem.|
|edu.rit.clu.fractal||Package edu.rit.clu.fractal contains sequential and cluster parallel programs for computing images of fractals.|
|edu.rit.clu.heat||Package edu.rit.clu.heat contains sequential and cluster parallel programs for computing a heat distribution problem.|
|edu.rit.clu.keysearch||Package edu.rit.clu.keysearch contains sequential and cluster parallel programs for a cryptanalysis problem.|
|edu.rit.clu.monte||Package edu.rit.clu.monte contains sequential and cluster parallel Monte Carlo programs.|
|edu.rit.clu.network||Package edu.rit.clu.network contains sequential and cluster parallel programs for network algorithms.|
|edu.rit.clu.timing||Package edu.rit.clu.timing contains programs for timing various operations on a workstation cluster.|
|edu.rit.color||Package edu.rit.color contains components for working with colors.|
|edu.rit.compbio.phyl||Package edu.rit.compbio.phyl contains parallel programs for phylogenetic tree construction.|
|edu.rit.compbio.phyl.test||Package edu.rit.compbio.phyl.test contains unit test programs for the classes in package edu.rit.compbio.phyl.|
|edu.rit.compbio.seq||Package edu.rit.compbio.seq contains parallel programs for biological sequence alignment.|
|edu.rit.compbio.seq.test||Package edu.rit.compbio.seq.test contains unit test programs for the classes in package edu.rit.compbio.seq.|
|edu.rit.crypto||Package edu.rit.crypto provides various cryptographic classes.|
|edu.rit.crypto.blockcipher||Package edu.rit.crypto.blockcipher provides classes for block ciphers.|
|edu.rit.draw||Package edu.rit.draw contains classes and programs for drawing diagrams and slides of all kinds.|
|edu.rit.draw.item||Package edu.rit.draw.item contains classes for the different kinds of drawing items that can appear in a Drawing.|
|edu.rit.draw.item.test||Package edu.rit.draw.item contains classes for the different kinds of drawing items that can appear in a Drawing.|
|edu.rit.http||Package edu.rit.http contains components for working with the Hypertext Transfer Protocol (HTTP).|
|edu.rit.hyb.antimatter||Package edu.rit.hyb.antimatter provides the Antimatter Simulation, an example of an N-body problem.|
|edu.rit.hyb.fractal||Package edu.rit.hyb.fractal contains sequential and hybrid SMP parallel programs for computing images of fractals.|
|edu.rit.hyb.keysearch||Package edu.rit.hyb.keysearch contains sequential and hybrid SMP cluster parallel programs for a cryptanalysis problem.|
|edu.rit.hyb.monte||Package edu.rit.hyb.monte contains sequential and hybrid SMP cluster parallel Monte Carlo programs.|
|edu.rit.hyb.network||Package edu.rit.hyb.network contains sequential and hybrid SMP cluster parallel programs for network algorithms.|
|edu.rit.hyb.prime||Package edu.rit.hyb.prime contains sequential and hybrid SMP cluster parallel programs for finding prime numbers.|
|edu.rit.image||Package edu.rit.image contains components for treating matrices as images, where each element of the matrix corresponds to one pixel of the image.|
|edu.rit.image.test||Package edu.rit.image.test contains unit test programs for package edu.rit.image.|
|edu.rit.io||Package edu.rit.io contains components for input/output.|
|edu.rit.mp||Package edu.rit.mp contains the Message Protocol (MP), a transport layer protocol for sending messages using TCP.|
|edu.rit.mp.buf||Package edu.rit.mp.buf contains message buffer classes for sending and receiving messages using the Message Protocol (MP).|
|edu.rit.mp.test||Package edu.rit.mp contains unit test programs for package edu.rit.mp.|
|edu.rit.mri||Package edu.rit.mri contains parallel programs for an MRI spin relaxometry analysis problem.|
|edu.rit.mri.test||Package edu.rit.mri.test contains unit test programs and prototype programs for the MRI spin relaxometry analysis problem in package edu.rit.mri.|
|edu.rit.numeric||Package edu.rit.numeric contains common classes for numerical computation.|
|edu.rit.numeric.plot||Package edu.rit.numeric.plot provides classes and interfaces for plotting data.|
|edu.rit.numeric.plot.impl||Package edu.rit.numeric.plot.impl provides low-level implementation classes for the high-level plotting classes in package edu.rit.numeric.plot.|
|edu.rit.pj||Package edu.rit.pj contains Parallel Java (PJ), an API and middleware for parallel programming in 100% Java on shared memory multiprocessor (SMP) parallel computers, cluster parallel computers, and hybrid SMP cluster parallel computers.|
|edu.rit.pj.cluster||Package edu.rit.pj.cluster contains client and server programs for message passing parallel programming using Parallel Java (PJ).|
|edu.rit.pj.cluster.test||Package edu.rit.pj.cluster.test contains unit test programs for package edu.rit.pj.cluster.|
|edu.rit.pj.io||Package edu.rit.pj.io contains classes for parallel file input and output in Parallel Java (PJ) programs.|
|edu.rit.pj.job||Package edu.rit.pj.job contains contains programs and classes for running groups of independent jobs on shared memory multiprocessor (SMP) parallel computers, cluster parallel computers, and hybrid SMP cluster parallel computers.|
|edu.rit.pj.job.test||Package edu.rit.pj.job.test contains unit test classes for package edu.rit.pj.job.|
|edu.rit.pj.reduction||Package edu.rit.pj.reduction contains classes for parallel reduction.|
|edu.rit.pj.replica||Package edu.rit.pj.replica contains classes for replicated, shared reduction variables.|
|edu.rit.pj.test||Package edu.rit.pj.test contains unit test main programs for Parallel Java (PJ) in package edu.rit.pj.|
|edu.rit.sim||Package edu.rit.sim contains classes for discrete event simulation.|
|edu.rit.smp.ca||Package edu.rit.smp.ca contains sequential and SMP parallel programs for computing images of cellular automata (CAs).|
|edu.rit.smp.fractal||Package edu.rit.smp.fractal contains sequential and SMP parallel programs for computing images of fractals.|
|edu.rit.smp.keysearch||Package edu.rit.smp.keysearch contains sequential and SMP parallel programs for a cryptanalysis problem.|
|edu.rit.smp.monte||Package edu.rit.smp.monte contains sequential and SMP parallel Monte Carlo programs.|
|edu.rit.smp.network||Package edu.rit.smp.network contains sequential and SMP parallel programs for network algorithms.|
|edu.rit.swing||Package edu.rit.swing contains GUI components designed to work with Java Swing.|
|edu.rit.util||Package edu.rit.util contains general utility components.|
|edu.rit.vector||Package edu.rit.vector contains classes for mathematical vectors.|
Parallel Java (PJ) is an API and middleware for parallel programming in 100% Java on shared memory multiprocessor (SMP) parallel computers, cluster parallel computers, and hybrid SMP cluster parallel computers. PJ was developed by Professor Alan Kaminsky and his student Luke McOmber in the Department of Computer Science at the Rochester Institute of Technology.
I am happy to answer general questions about the Parallel Java Library, receive bug reports, and entertain requests for additional features. Please contact me by email at firstname.lastname@example.org. I regret that I am unable to provide technical support, specific installation instructions for your system, or advice about configuring your parallel computer hardware.
PJ was developed using Java Development Kit (JDK) 1.5. When compiling and running PJ programs, you must use JDK 1.5. PJ uses features of the Java language and platform introduced in JDK 1.5 and will not compile with earlier JDK versions.
PJ will work with JDK 1.6 and 1.7. However, my tests have revealed serious performance issues when a multithreaded PJ program is run on an SMP parallel computer with JDK 1.6 or 1.7. Due to some as-yet-unfathomed behavior of the JIT compiler and/or the thread scheduler, SMP parallel programs that experienced near-ideal speedups with JDK 1.5 experience far-less-than-ideal speedups with JDK 1.6 or 1.7 on the same machine. For now I recommend using PJ with JDK 1.5.
There are two versions of the PJ distribution, an executable distribution and a source distribution.
Executable distribution. The executable distribution comes in a Java Archive (JAR) file named "pjYYYYMMDD.jar", where YYYYMMDD are the year, month, and date. The executable distribution includes the PJ class files only. To install the executable distribution, simply store the JAR file somewhere. You may wish to change the file name, say to "pj.jar".
Source distribution. The source distribution comes in a Java Archive (JAR) file named "pjsrcYYYYMMDD.jar", where YYYYMMDD are the year, month, and date. The source distribution includes the PJ class files, source files, and documentation files (Javadoc). To install the source distribution, just unpack the JAR file. The source distribution expands into a subdirectory named "pj". If you already have a subdirectory of that name which you want to save, be sure to unpack the JAR file in some other directory. Documentation is stored under the directory "pj/doc"; point your HTML browser to that directory. Java source files and class files are stored under the directory "pj/lib".
Installation on a SMP computer. To run PJ programs on a shared memory multiprocessor (SMP) parallel computer, no further installation is required.
Installation on a cluster. To run PJ programs on a cluster parallel computer, in addition to installing the PJ JAR file, you must configure and run certain daemon processes on the frontend and backend processors of the cluster. For further information, see package edu.rit.pj.cluster.
Executable distribution. When compiling and executing Java programs that use PJ, if you have installed the executable distribution, you must set your classpath to include the PJ JAR file. Here is an example of a command for the bash shell to set the classpath to the current directory plus the PJ JAR file:
Here is an example of a command for the csh shell to set the classpath to the current directory plus the PJ JAR file:
setenv CLASSPATH .:/home/fac/ark/public_html/pj.jar
Source distribution. When compiling and executing Java programs that use PJ, if you have installed the source distribution, you must set your classpath to include the top-level directory under which PJ's Java class files are stored. Here is an example of a command for the bash shell to set the classpath to the current directory plus the PJ directory:
Here is an example of a command for the csh shell to set the classpath to the current directory plus the PJ directory:
setenv CLASSPATH .:/home/fac/ark/public_html/pj/lib
The documentation files, Java source files, and Java class files in the Parallel Java Library ("PJ") are copyright © 2005-2012 by Alan Kaminsky. All rights reserved. For further information, contact the author, Alan Kaminsky, at email@example.com.
PJ is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
PJ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.
As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
A copy of the GNU General Public License is provided in the file gpl.txt. You may also obtain a copy of the GNU General Public License on the World Wide Web at http://www.gnu.org/licenses/gpl.html.
In class edu.rit.numeric.Statistics: added a method for doing an unequal-variance t-test for equality of means of two data series.
In package edu.rit.hyb.fractal: Changed class MandelbrotSetHyb to use the HybridTeam, WorkerRegion, and WorkerIntegerForLoop classes. Changed class MandelbrotSetHyb2 to use the WorkerTeam, WorkerRegion, and WorkerIntegerForLoop classes.
In package edu.rit.hyb.prime: Changed class PrimeCountFunctionHyb to use the WorkerTeam, WorkerRegion, and WorkerLongForLoop classes.
Added features to the Job Scheduler's web interface. The job queue web page now has a link to a detailed job status web page for each job. The detailed job status web page includes a "comment" for each backend process. The program can set its backend process comment by calling JobBackend.getJobBackend().setComment(). The comment is typically used to report the backend process's progress.
Changed class edu.rit.util.RandomSubset to support both a sparse implementation and a dense implementation. This change is source compatible with previous code, which will use the sparse implementation by default as before.
Added class edu.rit.util.Searching with methods for searching sorted and unsorted arrays of primitive types and object types.
In class edu.rit.util.Sorting: Each sort() method now returns the array that was sorted.
In package edu.rit.numeric: Fixed a bug in class Interpolation; it calculated the wrong answer when extrapolating beyond the last data points in the series; thank you to Francisco Esquembre for discovering the bug. Added classes BernoulliPrng, ExponentialPrng, and UniformPrng. In class Series.Stats, changed the field names to mean, var, and stddev, and set the statistics to NaN if the series is empty. In class Series.RobustStats, changed the field names to median and meanAbsDev, set the statistics to NaN if the series is empty, and added the quantile() and histogram() methods. In class XYSeries, removed the stats() and robustStats() methods; instead, use xSeries().stats(), ySeries().stats(), xSeries().robustStats(), and ySeries().robustStats(). In class XYZSeries, removed the stats() and robustStats() methods; instead, use xSeries().stats(), ySeries().stats(), zSeries().stats(), xSeries().robustStats(), ySeries().robustStats(), and zSeries().robustStats().
Added package edu.rit.sim with classes for discrete event simulation.
In package edu.rit.util: Added class RandomSubset.
In package edu.rit.numeric: Added methods to compute the medians and mean absolute deviations in classes Series, XYSeries, and XYZSeries. Changed class RobustFit to compute the confidence region for the fitted parameters at a given confidence level.
Added class edu.rit.util.Sorting with static methods for sorting arrays of primitive types and object types.
Fixed a bug in class edu.rit.pj.job.Job; to load the class for the job's main method, it should be using the calling thread's context class loader instead of class Job's class loader.
Added package edu.rit.pj.job with programs and classes for running independent jobs on parallel computers.
In package edu.rit.io: Added class Stdio providing per-thread standard I/O streams.
In package edu.rit.numeric: Added the linearRegression() method to class edu.rit.numeric.XYZSeries. Added interfaces MDFunction and ParameterizedFunction. Added classes MDMinimizationDownhillSimplex and RobustFit.
In class edu.rit.http.HttpServer: Added a timeout while reading an HTTP request message from a socket connection.
In package edu.rit.util: Added classes Mathe and RandomSample.
In package edu.rit.pj.reduction: Added classes SharedIntegerMatrix and SharedLongMatrix.
In class edu.rit.numeric.BigRational: Added several constructors and methods. Fixed bugs in the floatValue() and doubleValue() methods; the results were not calculated to the proper precision.
In class edu.rit.numeric.Statistics: Added the binomialKsTest() method.
In package edu.rit.util: Added class Instance with static methods for creating instances of classes.
In package edu.rit.clu.keysearch: Changed the FindKeyClu and FindKeyClu2 programs to use the new master-worker components.
In package edu.rit.clu.fractal: Changed the MandelbrotSetClu2, MandelbrotSetClu3, and MSHistogramClu programs to use the new master-worker components.
In package edu.rit.pj.reduction: In classes ByteOp, CharacterOp, IntegerOp, LongOp, and ShortOp: Added the AND, OR, and XOR reduction operators.
In package edu.rit.io: Added classes DataOutputStream and DataInputStream.
In class edu.rit.numeric.Statistics: Added methods to do a chi-square test for a Bernoulli distribution. Added a method to do a Kolmogorov-Smirnov test for an arbitrary distribution.
Moved class BigRational from package edu.rit.smp.ca to package edu.rit.numeric, and added several operations.
In class edu.rit.util.Random: Added methods to return random values of the primitive types byte, unsigned byte, char, short, unsigned short, int, and long.
Fixed a bug in class edu.rit.numeric.plot.impl.XYPlot: An exception was thrown if a plot series had fewer than two data points.
In package edu.rit.mp.buf: Fixed bugs in the object reduction buffer classes; the underlying buffer's serialized representation was not reset when the underlying buffer's contents were changed via operations on the reduction buffer.
In package edu.rit.pj.cluster: Fixed a bug in class JobFrontend; the job frontend process did not pass the correct backend node host name to the job backend process.
In package edu.rit.mp.ChannelGroup and in class edu.rit.pj.Comm: Added the ability to receive a message whose tag lies in a given range, in addition to receiving a message with a specific tag or any tag. This change is source compatible with existing software but is not binary compatible; you may need to recompile your programs.
In package edu.rit.compbio.phyl: Redesigned the maximum parsimony phylogenetic tree construction algorithm classes to store the results in an object passed in as a parameter. Added class MaximumParsimonyBnbHyb and main program class PhylogenyParsBnbHyb with a hybrid parallel program for maximum parsimony phylogenetic tree construction.
In class edu.rit.pj.Comm: Changed the manner in which processes establish connections among themselves, to eliminate race conditions that could result in incorrect connections.
In package edu.rit.smp.monte: Added the source files for SMP parallel C/OpenMP programs for estimating pi using a Monte Carlo technique; these are linked from the package summary page of the Javadoc.
In package edu.rit.smp.network: Added the source files for SMP parallel C/OpenMP programs for Floyd's Algorithm; these are linked from the package summary page of the Javadoc.
In package edu.rit.clu.monte: Added the source files for cluster parallel C/MPI programs for estimating pi using a Monte Carlo technique; these are linked from the package summary page of the Javadoc.
In package edu.rit.clu.network: Added the source files for cluster parallel C/MPI programs for Floyd's Algorithm; these are linked from the package summary page of the Javadoc.
In class edu.rit.draw.item.Group: Added methods to retrieve points relative to the group's bounding box without applying the group's transformations.
In class edu.rit.numeric.plot.Plot: Changed the default title font to sans-serif, bold, 14 point. Changed the default axis and label font to sans-serif, plain, 12 point. Increased the default margins and title offsets.
In the unnamed package: Changed the first parallel programs, classes Program1Seq, Program1Smp, and Program1Clu, to do a primality test as the demo computation.
In package edu.rit.pj.cluster: Fixed a bug in class NonPjJobFrontend; an IllegalMonitorStateException was thrown when a backend processor was assigned to the job.
Removed obsolete packages edu.rit.phyl, edu.rit.phyl.pars, and edu.rit.phyl.pars.test. Equivalent programs are now in package edu.rit.compbio.phyl.
In package edu.rit.pj: In class PJProperties: Changed the getPjSchedule() method to return null if the "pj.schedule" property was not specified. In class IntegerSchedule: Added the runtime(IntegerSchedule) method. In class LongSchedule: Added the runtime(LongSchedule) method.
In class edu.rit.pj.cluster.JobBackend: Added code to turn on headless mode. This allows graphics drawing operations (that do not require a screen, keyboard, or mouse) to work when a PJ program is run on a backend node of a cluster.
In package edu.rit.mp.buf: Fixed a bug in class EmptyObjectBuf; the class should not have overridden the superclass's sendItems() and receiveItems() methods.
In package edu.rit.mp: Added the objectBuffer(T) and objectBuffer(T) methods to class ObjectBuf. Fixed a bug in class MPObjectInputStream; the resolveClass() method did not correctly resolve the class for an array of objects.
In class edu.rit.pj.cluster.JobBackend: Fixed a bug in the reportResource() method; a NullPointerException was thrown if the resource could not be found.
In packages edu.rit.draw and edu.rit.draw.item: Removed the ability to rotate a DrawingItem. Added the ability to scale, shear, and rotate a Group. To apply transformations to one or more DrawingItems, put the DrawingItems in a Group and apply transformations to the Group. This change reduces the size of a serialized Drawing object. As a result of this change, Drawing objects serialized with previous versions of the Library are incompatible with the present version of the Library.
Added package edu.rit.mri with sequential and parallel programs for solving a magnetic resonance image spin relaxometry analysis problem. Added package edu.rit.mri.test with unit test programs for the above.
In package edu.rit.pj.cluster: Rewrote classes JobScheduler, Configuration, BackendInfo, and JobInfo to support clusters of single-CPU nodes and clusters of multi-CPU nodes. Eliminated classes HybridJobScheduler, HybridConfiguration, HybridBackendInfo, and HybridJobInfo. Changed class Configuration to include the number of CPUs in each backend node. As a consequence, this version of the Parallel Java cluster middleware will not interoperate with previous versions.
In package edu.rit.hyb.keysearch: A few revisions to class FindKeyHyb, a hybrid parallel program for AES partial key search.
In package edu.rit.hyb.fractal: Added class MandelbrotSetHyb, a hybrid parallel program to calculate an image of the Mandelbrot Set with one-level load balancing. Added class MandelbrotSetHyb2, a hybrid parallel program to calculate an image of the Mandelbrot Set with two-level load balancing.
In package edu.rit.hyb.network: Rewrote classes FloydRandom, FloydPrint, FloydSeq, and FloydHyb to use a DoubleMatrixFile to read and write the input and output files.
In package edu.rit.hyb.prime: Rewrote all the programs for calculating the prime counting function.
In class edu.rit.pj.Comm: Added the allToAll(), scan(), and exclusiveScan() collective communication operations. Removed the versions of the reduce() and allReduce() operations with separate source and accumulator buffers.
In class edu.rit.mp.Buf: Added the fill() and getTemporaryBuf() methods.
Fixed bugs in class edu.rit.pj.reduction.ReduceArrays; in each method, the number of array elements to reduce was one too large.
In package edu.rit.clu.antimatter: Changed the implementation of the pipelined AntiprotonClu3 program to use fewer interprocess connections.
In package edu.rit.image: Added class PJGHueImage for reading and writing image files where the image consists of a continuous range of hues. (The existing class PJGColorImage is best suited for images consisting of a small discrete set of colors.)
In the unnamed package: Fixed a bug in class mprun; under JDK 1.6, class ProcessBuilder requires the full pathname of the command to execute.
In package edu.rit.mp: Fixed bugs in classes ChannelGroup and NetworkChannelReceiveThread; several I/O error conditions were not handled properly.
In package edu.rit.util: Changed the implementation of class DefaultRandom so that close seed values do not give closely correlated random sequences.
In package edu.rit.pj.reduction: Changed the documentation of class ObjectOp to state the requirements for an object reduction operation, which are assumed by the other classes in the Parallel Java Library.
In package edu.rit.util: Fixed bugs in class Random; some precondition checks were missing.
In class edu.rit.pj.Comm: Reimplemented the flood and all-gather operations to reduce the number of message rounds.
In package edu.rit.smp.monte: Changed classes PiSmp, PiSmp2, and PiSmp3 to use a LongForLoop.
In package edu.rit.util: Changed the implementation of class Random. Changed class DefaultRandom to use a hashing algorithm instead of a multiplicative congruential generator (MCG) algorithm; the hashing algorithm avoids certain weaknesses of the MCG algorithm. The previous version of class DefaultRandom, which uses a MCG algorithm, is still available as class Mcg1Random.
In package edu.rit.mp.buf: Fixed bugs in the object buffer subclasses; the serialized representation was not reset in all cases when the buffer contents were changed. Fixed bugs in the matrix buffer subclasses; an ArithmeticException was thrown when receiving into a matrix buffer for a slice of zero columns.
In package edu.rit.numeric.plot.impl: Fixed a bug in class XYPlot; an exception was thrown when plotting a line for a data series with one data point.
In package edu.rit.smp.fractal: Changed classes MSHistogramSeq, MSHistogramSmp, MSHistogramSmp2, and MSHistogramSmp3 to print the histogram into a file.
In package edu.rit.numeric: Added class Cubic for solving cubic equations.
In package edu.rit.mp: Added a channel group ID to class ChannelGroup. Added methods to class Channel to obtain the channel group IDs of the near end channel group and the far end channel group. These changes were needed to fix the aforementioned bug.
In the unnamed package: Added the pjrun program; this lets a user run a non-PJ job on a PJ cluster, using the PJ job queue to assign backend nodes to the job.
In package edu.rit.smp.network: Changed all the programs to use class edu.rit.io.DoubleMatrixFile for input and output of the distance matrix files.
In package edu.rit.clu.network: Changed all the programs to use class edu.rit.io.DoubleMatrixFile for input and output of the distance matrix files. Changed class FloydClu so that each process reads a slice of the distance matrix from the input file and writes a slice of the distance matrix to a per-process output file.
In package edu.rit.clu.fractal: Rewrote class MandelbrotSetClu2. Added class MandelbrotSetClu3.
In package edu.rit.io: Fixed a bug in class Files; the fileForRank() method did not return the correct result if the argument was an absolute path.
In package edu.rit.mp: Changed interface ConnectListener to have separate methods for reporting near-end-initiated connections and far-end-initiated connections. Changed class ChannelGroup not to start listening for incoming connections until a new startListening() method is called. Changed class ChannelGroup to eliminate the methods that query for channels. These changes were needed to support the new hybrid job scheduler.
In package edu.rit.pj: Changed class Comm so that when one process initiates a connection to another process, the initiating process sends a message identifying the initiating process's rank. This change was needed to support the new hybrid job scheduler.
Changed several classes throughout the Library to use 128 extra padding bytes to avert cache interference, instead of 64. (128 bytes is the more prevalent cache line size in modern CPUs.)
In class edu.rit.numeric.plot.Plot: Made the class serializable. Added static methods to read and write Plot objects from and to files. Removed the display() and repaint() methods; their functionality is now available through the Viewable interface.
In package edu.rit.swing: Added interface Viewable which extends interface Displayable; to show itself on the screen, a Viewable object can return a DisplayableFrame. Drawings and plots are now Viewable objects. Changed class DisplayableFrame so that when it saves the displayable object in a PNG file, the object is saved at its zoomed size.
Rewrote package edu.rit.image. It now contains classes for 24-bit color images and 8-bit grayscale images in the Parallel Java Graphics (PJG) image file format. PJG image files are somewhat larger than, but take much less time to write than, PNG image files. For further information, see class PJGImage.
In the unnamed package: Added program PJG to display an image read from a PJG file.
In package edu.rit.smp.fractal: Updated the Mandelbrot Set SMP parallel programs to generate a PJG image file instead of a PNG image file.
In package edu.rit.clu.fractal: Updated the Mandelbrot Set cluster parallel programs to use the matrix allocation and deallocation operations in class edu.rit.util.Arrays and to generate a PJG image file instead of a PNG image file.
In package edu.rit.mp: Added a static emptyBuffer() factory method to each buffer subclass. Fixed a bug in class NetworkChannelReceiveThread; an incoming message was not received properly if the number of items in the message exceeded the number of items in the destination buffer. Removed the I/O completion hook and chained I/O request capabilities from class IORequest; these reduced message passing performance too much. Changed the non-blocking send and receive methods in class ChannelGroup to take an IORequest argument instead of creating their own new IORequest object.
In package edu.rit.pj: Removed enumeration Wait. In its place, added class BarrierAction to specify what should happen during a barrier synchronization. Changed all the execute() methods in class ParallelRegion to use class BarrierAction instead of enumeration Wait. In class Comm, changed the implementation of flood-receive to use a special subclass of class IORequest instead of an I/O completion hook.
In package edu.rit.draw.item: Added class Polygon.
In package edu.rit.mp: Fixed bugs in the factory methods in the buffer base classes; the factory methods would fail if a matrix row was not allocated; the factory methods were changed to return a zero-length buffer instead.
In package edu.rit.mp.buf: Moved precondition checks out of the buffer subclass constructors into the buffer base class factory methods in package edu.rit.mp.
In class edu.rit.pj.Comm: Added the host() method.
In class edu.rit.numeric.Plot: Added a "Format" menu to the plot window that lets the user change plot attributes interactively.
In class edu.rit.swing.DisplayableFrame: Added a "Fit Window" menu item to the "View" menu that resizes the window to fit the displayable object.
In package edu.rit.mp: Added the isFinished() method to class IORequest. Added I/O request chaining and I/O completion hook capabilities to class IORequest and class ChannelGroup. These are used to implement flood-send and flood-receive.
In package edu.rit.clu.keysearch: Changed the FindKeyClu2 program to use flood-send and flood-receive to stop the search when any process finds the key.
In the unnamed package: Added class Program1Clu, an introductory parallel program for a cluster.
In package edu.rit.pj.reduction: In each of the shared array classes, added a method to reduce a portion of the shared array with a portion of a given array.
In package edu.rit.pj: Added the team() and region() methods to class ParallelConstruct. Added the isExecutingInParallel() and region() method to class ParallelTeam. Changed the implementation of the parallel constructs' low-level thread synchronization to improve performance.
In package edu.rit.numeric.plot: Added the ability to specify bold, italic, superscript, and subscript text attributes in plot labels. Added the ability to draw a smooth curve for an X-Y data series.
In package edu.rit.draw.item: Added class Bow to draw curved (bowed) lines. Added class Oval to draw ovals. Added a round corner attribute to class Rectangle. Added class Group to permit a group of drawing items to be translated and rotated as a unit.
Consolidated packages edu.rit.pj.op and edu.rit.pj.shared into one package, edu.rit.pj.reduction. The new package has classes for thread safe shared reduction variables of each primitive type and of object types, and arrays thereof. The new package also has classes for binary reduction operators of each primitive type as well as object types. Shifted the getReductionBuf() method from class edu.rit.pj.op.Op to class edu.rit.mp.Buf.
In package edu.rit.util: Added a stride to classes Range and LongRange.
In packages edu.rit.mp and edu.rit.mp.buf: The factory methods for creating buffer objects are now in the base classes in package edu.rit.mp. Factory methods are provided for single items, arrays, matrices, thread safe shared items, and thread safe shared arrays of each primitive type and of object types. All the buffer classes for slices of arrays and matrices now support ranges with a stride of 1 and ranges with a stride greater than 1.
In package edu.rit.pj.cluster: Added class Configuration to encapsulate the cluster configuration file. Added the ability to specify JVM command line flags in the configuration file. Fixed a bug in class JobFrontend; the command to run a job backend process did not work if the working directory name contained whitespace.
Added package edu.rit.numeric with classes for numerical computation. Added packages edu.rit.numeric.plot and edu.rit.numeric.plot.impl with classes for creating plots, displaying them on the screen, and writing them to PNG or PostScript files.
In the unnamed package: Added programs Speedup and TimeFit for analyzing parallel program running time measurements.
Added package edu.rit.hyb.antimatter with hybrid SMP cluster parallel programs for simulating antiproton motion in an antiproton trap (classes AntiprotonHyb and RenderSeq).
In class edu.rit.pj.Comm: Rewrote the allGather() method to use a significantly faster message pattern. Rewrote the logic for connecting channels between backend processes. Added caching of message pattern information in the broadcast(), allGather(), and reduce() methods.
Removed package edu.rit.clu.particles; package edu.rit.clu.antimatter took its place.
In package edu.rit.clu.timing: Added class TimeSendDouble to measure the time required to send a message whose data items are type double.
In package edu.rit.clu.fractal: Fixed a bug in class MandelbrotSetClu4; the program did not properly overlap sending the previous slice and computing the next slice.
In package edu.rit.util: Fixed a bug in class Random; the nextInt() method could sometimes consume more than one value from the pseudorandom sequence, leading to incorrect sequence splitting in a parallel program.
In package edu.rit.clu.timing: Changed the output format for classes TimeSend and TimeBcast.
In class edu.rit.pj.PJProperties: Added the pj.jobtime Java system property to set the maximum running time for a job.
In package edu.rit.mp: Fixed a bug in class ChannelGroup; if one thread tried to send a message to another thread in the same process, a deadlock could happen.
In class edu.rit.pj.ParallelRegion: Added reductionArray() methods to create reduction variables containing arrays of the primitive types.
In package edu.rit.smp.network: Minor changes to the Floyd's Algorithm programs.
Removed obsolete package edu.rit.smp.sort.
Made some minor changes to the parallel programs in packages edu.rit.smp.fractal and edu.rit.smp.monte.
In package edu.rit.pj.cluster: Changed the frontend file I/O capability to reduce the number of byte array copy operations.
In package edu.rit.pj: Changed the name of class Status to class CommStatus to emphasize that the class stores the status of a communication operation in class Comm.
In package edu.rit.mp.buf: Added buffer classes for matrices of all primitive types. Added a buffer class for a matrix of objects.
Fixed a bug in class edu.rit.clu.particles.ProtonClu3; computation and communication used the same array, so incoming new data could overwrite the previous data being used in the computation.
In package edu.rit.clu.particles: Added more cluster parallel programs for the Particle Simulation, an N-bodies problem.
Added package edu.rit.vector with class Vector2D, a two-dimensional mathematical vector of doubles, as well as buffer classes for sending and receiving 2-D vectors in message passing parallel programs.
Added package edu.rit.clu.particles with sequential and cluster parallel programs for the Particle Simulation, an N-bodies problem.
Added package edu.rit.image. This package contains image classes equivalent to the ones in package edu.rit.matrix. However, to improve running times, the new image classes operate on primitive matrices (type byte or int) instead of the matrix classes.
In package edu.rit.mp.buf: Added matrix buffer classes equivalent to the ones in package edu.rit.matrix for byte, double, and integer matrices. However, to improve running times, the new matrix buffer classes operate on primitive matrices instead of the matrix classes.
In package edu.rit.mp.buf: The constructors in all the array buffer classes were deprecated, and static factory methods were added. The constructors are still available but should no longer be used. The constructors will be removed in a future release of the Parallel Java Library. The constructors were deprecated because the static factory methods provide greater programming flexibility.
Revised code throughout the Parallel Java Library not to use the deprecated classes and constructors.
Fixed a bug in class edu.rit.matrix.ByteMatrixBuf; the I/O buffer position was not set properly after sending items from or receiving items into the byte matrix buffer.
Added package edu.rit.pj.op with classes for binary operations to do parallel reduction in a message passing program.
Added package edu.rit.clu.network with cluster parallel programs for computing all shortest paths in a network using Floyd's Algorithm, an example of an algorithm that uses broadcasting on a cluster parallel computer.
Added package edu.rit.clu.monte with cluster parallel programs for computing π using a Monte Carlo technique, an example of an algorithm that uses reduction on a cluster parallel computer.
Fixed a bug in the matrix classes of package edu.rit.matrix; the row() method did not create a reference to the correct row if the full matrix was not allocated.
In package edu.rit.pj: Added class RangeSchedule for writing cluster parallel programs using the master-worker pattern.
In package edu.rit.clu.fractal: Added cluster parallel program MandelbrotSetClu2 that computes the Mandelbrot Set using the master-worker pattern for load balancing. Added cluster parallel program MandelbrotSetClu3 that computes the Mandelbrot Set using the master-worker pattern for load balancing and uses overlapped computation and I/O.
Fixed a bug in class edu.rit.pj.Comm; a deadlock could happen when a process did a receive from "any channel."
In package edu.rit.pj: Class Comm was changed to use class edu.rit.mp.Buf as the message buffer. Interface edu.rit.pj.Buffer and package edu.rit.pj.data were eliminated. Added the ability for a process to send and receive a message to and from itself in different threads. Added the scatter and gather collective communication methods.
In package edu.rit.matrix: Added classes ParallelIntegerMatrix, RowSliceIntegerMatrix, and IntegerMatrixBuf with methods for transferring integer matrices between processes using message passing.
Added package edu.rit.clu.fractal with cluster parallel programs for computing an image of the Mandelbrot Set, an example of a massively parallel problem that needs load balancing.
In package edu.rit.pj: Added send(), receive(), and broadcast() communication methods to class Comm. Added package edu.rit.pj.data with classes for message data buffers. Made many changes to package edu.rit.pj.cluster to support the new Comm capabilities.
Added package edu.rit.clu.keysearch with cluster parallel programs for breaking a block cipher using exhaustive key search, an example of a massively parallel problem.
Added package edu.rit.clu.timing with cluster parallel programs for timing the send, receive, and broadcast methods in class edu.rit.pj.Comm.
Fixed a bug in class edu.rit.pj.Lock; exclusive locking was not implemented properly. Fixed a bug in class edu.rit.pj.cluster.BackendClassLoader; improper thread synchronization sometimes caused a ClassCircularityError.
In package edu.rit.smp.sort: Redesigned the SwapSortSeq and SwapSortSmp programs. Added the SwapSortSmp2 program which does a parallel reduction using a reduction variable.
In package edu.rit.pj.cluster: Fixed a bug in class JobFrontend; the job frontend did not wait for end-of-stream on the SSH session's standard output and standard error before exiting.
Added package edu.rit.pj.cluster with message passing middleware classes for PJ message passing parallel programs.
In package edu.rit.pj: Added class Comm for using the message passing middleware in a PJ parallel program. At present, class Comm has a method for initializing the message passing middleware and running a PJ parallel program on the backend processors of a cluster parallel computer. In future releases, class Comm will include methods for message passing.
In package edu.rit.matrix: Added class SyncColorImage with producer-synchronization.
In package edu.rit.smp.fractal: Added class MandelbrotSetSmp2 with a program for computing an image of the Mandelbrot set that uses overlapped computation and I/O as well as a parallel loop.
In package edu.rit.matrix: Added classes for treating an integer matrix as a color image. Added classes for treating a byte matrix as an indexed color image.
Added package edu.rit.color with classes for representing colors in different ways.
Added package edu.rit.smp.fractal with programs for computing an image of the Mandelbrot Set, an example of a massively parallel problem that needs load balancing.
Added package edu.rit.crypto.blockcipher with classes for the Advanced Encryption Standard (AES) block cipher, used by the aforementioned programs.
Added package edu.rit.util with: class Range to represent a range of indexes; class HexPrintStream to print things in hexadecimal.
Added package edu.rit.matrix with: classes for one-dimensional arrays and matrices (two-dimensional arrays) of various data types; and classes for treating a byte matrix as a grayscale image.
In package edu.rit.pj.test: Added program UC to test parallel iterations.
In package edu.rit.pj.shared: Added several additional arithmetic methods to the shared variable wrapper classes.
|PREV NEXT||FRAMES NO FRAMES|