/MPI-LES

Repository for MPI LES

Primary LanguageFortran

MPI implementation of the LES

This repository contains the code that adds support for MPI in the LES. Note that the GIS files do not contain the actual GIS data for Kyoto but synthetic data.

Requirements

Compiling and running the LES

Original single threaded LES:

scons ocl=0 mpi=0
./les_main

OpenCL LES:

scons ocl=1 mpi=0
./les_main_ocl

MPI LES:

ROW=X # Number of processes per row
COL=Y # Number of processes per column
TOTAL=$(($ROW*$COL)) # Total number of processes
scons ocl=0 mpi=1 procPerRow=$ROW procPerCol=$COL
mpiexec -np $TOTAL ./les_main_mpi