Versions Compared

Key

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

...

Small compilations may be performed on the login nodes, but large compilations should be done by submitting a job or by starting an interactive session. Some large compilations will fail if performed on the login nodes (especially Java compilation).

Java

To use Java compilers, load the java module with the following command:

...

module load java

The java compiler is called javac. Node that all Java compilations performed on the login nodes will fail. To compile Java code on Artemis, submit a Java compilation job to Artemis, or compile your Java program in an interactive session.

GPU

To take advantage of the GPU accelerated compute nodes, your code will need to be modified to run in the hybrid GPGPU environment. The compile chain will need to specify that the target is GPU via the target argument to the pgcc/pgfortran compiler. This include the compiler argument: -ta=nvidia. This compiler flag tells the PGI compiler to compile for the NVIDIA GPU.

The preferred method of accessing GPUs is to use the NVIDIA CUDA toolkit:

...

module load cuda

which places the nvcc compiler in your path. See the NVIDIA CUDA programming guide for more details.