13.07.2015 Views

PGAS Programming with UPC and Fortran Coarrays

PGAS Programming with UPC and Fortran Coarrays

PGAS Programming with UPC and Fortran Coarrays

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XE6: Compiling & running your codeTo compile either use the provided Makefile, or docc –h upc –o myprogram myprogram.upcOn HECToR, login nodes <strong>and</strong> compute nodes use different filesystemso compile on login nodes, i.e. $HOMEo batch jobs can only read from/write to compute nodes, i.e. $WORKo copy your binary, any input files <strong>and</strong> submit script to $WORK, e.g.userid@hector-xe6:~> cp myprogram script $WORK/upc/myprogram Always keep copies of critical files on $HOME, as $WORK is notbacked up!25Submitting a jobBatch scheduler is PBS– qsub –q myscript.pbs to submit a job– qstat to check job status– qdel to delete job from queueParallel job launcher for compute nodes is aprun– argument –n to specify total number of processes– argument –N to specify the number of tasks per node– call aprun from a subdirectory of /workJob submission easiest <strong>with</strong> PBS script submitted from /work2613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!