Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Setting the Runtime Java Environment

The version of Java used to compile REEF is controlled in the Maven pom.xml file in the build plugins section under the maven-compiler-plugin artifact identifier. In order to run REEF applications, you must set the JAVA_HOME environment variable to the correct Java installation directory for your operating system and java version.

...

Code Block
languagebash
titleTemporarily increase the number of open files
sudo bash
ulimit -n 40960128000
sudo -u myuser bash
mvn clean install

...

Code Block
languagebash
titleModify limits.conf to permanently increase the number of allowed open files for all users and root
*      soft   nofile   40960128000
*      softhard   nofile 40960  128000
root   soft   nofile   40960128000
root soft  hard   nofile 40960  128000

If the following line does not exist in the /etc/pam.d/common-session file, add it.

...

Now type "ulimit -n" at the shell prompt and you should get return a value of 40960 which should be sufficient to run the REEF unit tests.

Compiling

Java build instructions

C# build instructions