Skip to content

hpdcj/PCJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e58beb6 · Dec 17, 2019
Oct 4, 2018
Dec 17, 2019
Oct 9, 2018
Aug 6, 2016
Oct 15, 2018
Dec 17, 2019
Feb 21, 2019
Feb 2, 2015
Oct 8, 2014
Oct 4, 2018

Repository files navigation

PCJ

PCJ is Java library for parallel computing in Java. It is based on the PGAS (Partitioned Global Address Space) paradigm. It allows for easy implementation in Java of any parallel algorithm. PCJ application can be run on laptop, workstation, cluster and HPC system including large supercomputers. It has been demonstrated that PCJ applications scale up to 200 000 cores. Examples and more information at http://pcj.icm.edu.pl.

Library requires at least Java 8, no modifications to Java syntax or JVM are neccessary.

Using PCJ Library

PCJ Library is now available on Maven Central Repository.

For maven project, just add this dependency to your pom.xml file.

<dependency>
    <groupId>pl.edu.icm.pcj</groupId>
    <artifactId>pcj</artifactId>
    <version>5.0.6</version>
</dependency>

If you are using gradle, add those lines to your build.gradle file:

implementation 'pl.edu.icm.pcj:pcj:5.0.6'
annotationProcessor 'pl.edu.icm.pcj:pcj:5.0.6'

Building project

If you wish to compile project by your own, use these instructions:

  • to package the jar: ./gradlew assemble or gradlew.bat assemble
  • to create javadoc: ./gradlew javadoc or gradlew.bat javadoc

Importing the project in eclipse

Execute ./gradlew eclipse, start eclipse, and use File -> Import : Existing Projects into Workspace. See http://gradle.org/docs/current/userguide/eclipse_plugin.html for more information.

Reference

The usage should be acknowledged by reference to the PCJ web site and/or reference to the papers: