Attention: : Confluence is not suitable for the storage of highly confidential data. Please ensure that any data classified as Highly Protected is stored using a more secure platform.
If you have any questions, please refer to the University's data classification guide or contact ict.askcyber@sydney.edu.au

Skip to end of banner
Go to start of banner

Compiling your own programs

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Researchers using the Artemis service have access to the following compiler suites to compile and debug their own code:

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.

  • No labels