06_llio/01_localtmp

Hands-on: File output using Local Temporary Region

## example: $ pjsub --interact -g [group_id] -L "node=1, elapse=6:00:00" --sparam "wait-time=unlimited" --llio localtmp-size=10Gi -x PJM_LLIO_GFSCACHE=/vol0004 --mpi proc=4

C++

How to compile and how to execute

1. Compile a program.

$ cd cpp $ make # make -f Makefile.own # if using own compiler $ ls main.cpp main.lst main.o run.x

Fortran

How to compile and how to execute

1. Compile a program.

$ cd fortran $ make # make -f Makefile.own # if using own compiler $ ls main.f90 main.lst main.o run.x

2. Run Program

## To run as a batch job $ cd LocalTmp $ pjsub task.sh $ cd ../2ndLayerCache $ pjsub task.sh ## or , to run in an interactive job $ cd LocalTmp $ bash task.sh $ cd ../2ndLayerCache $ bash task.sh

Exersises A

Exersises B (optional)