- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -

Cray UPC: Difference between revisions

From HLRS Platforms
Jump to navigationJump to search
(Cray UPC page including a basic example)
 
No edit summary
 
Line 24: Line 24:
Load your desired environment
Load your desired environment
{{Command|command =
{{Command|command =
module load ProgEnv-gnu
module load ProgEnv-cray
}}
}}



Latest revision as of 15:24, 10 January 2011

Cray UPC Cray UPC is an UPC implementation compatible with SHMEM, Cray Fortran co-arrays, and MPI.
Developer: Cray
Platforms: Cray XT5m
Category: Language Extension
License: commercial
Website: Cray UPC homepage


Note: Cray UPC is only available on Cray XT5m at the moment.


Examples

simple example

This example shows the basic usage of Cray UPC using an interactive job on the Cray XT5m

qsub -lwalltime=4:0:0 -lmppwidth=16 -lmppnppn=8 -I


Load your desired environment

module load ProgEnv-cray


Compile your application with cc

cc your_app.upc -o your_app


Run your application

aprun -n 16 -N 8 your_app


See also

External links