AORSA2D

From TAU Wiki

Jump to: navigation, search

To build AORSA2D on Jaguar:

% cd ~/scr/AORSA2D/scr
% make -f makefile.jaguar

builds xaorsa2d.jaguar.

To run AORSA2D


% cd ~/scr/AORSA2D/problem_sets/ITER/32x32/jaguar
% qsub run.jaguar.iter.32x32
or
First rename it
% cp ~/scr/AORSA2D/scr/xaorsa2d.jaguar xaorsa2d.iter.32x32
% cp ../ZTABLE.TXT .
% cp ../aorsa2d.in .
% cp ../eqdsk.out .
% cp ../cql3d.out .
% qsub -A CSC023 -q debug -I -V -lsize=4,walltime=10:00
% cd  ~/scr/AORSA2D/problem_sets/ITER/32x32/jaguar
% yod -sz 4 ./xaorsa2d.jaguar

It reads aorsa2d.in, and outputs from another code eqdsk.out, cql3d.out in your current directory.

To run it on 4 cpus, make sure that 4 (2x2) cpus are specified in aorsa2d.in:

% cat aorsa2d.in
...
 nprow = 2,
 npcol = 2,
...
%

You can change this to any number so that the product is equal to the number of cpus.

Personal tools