DIFFUSION

From Tau Wiki
Jump to: navigation, search

Richard Barrett's DIFFUSION code for solving a 5 or a 9 point stencil.

To build the code:

edit make.inc (extra ones are in DIFFUSION/MAKES)
% cd SRC
% make -f Makefile.MPI

To run the code, there is a directory called RUN/. There are directories for each architecture and within that an overwhelming number of run scripts for weak and strong scaling. It puts the executable in bin/$ARCH and that is where you also find the input file diff.in. That one should be self explanatory.

% cd DIFFUSION/RUN/jaguar/STRONG
Add #PBS -A CSC023
to your run script. and comment out the cd /tmp/work/rbarrett
% qsub run.jaguar.mpi.0004