NuSiF-Solver/BasicSolver/2D-mpi-v3
2023-10-09 16:56:43 +02:00
..
src Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
vis_files Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
backstep.par Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
canal.par Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
config.mk Structural changes in 2D versions 2023-06-27 16:24:55 +02:00
data_dcavity.csv Enhanced Solver in progess 2023-09-19 12:13:14 +02:00
dcavity.par Working 2D PT MPI v3 w/o vtk writer(normal writer) 2023-08-24 12:10:11 +02:00
include_CLANG.mk Initial checkin 2023-02-05 07:34:23 +01:00
include_GCC.mk Initial checkin 2023-02-05 07:34:23 +01:00
include_ICC.mk Initial checkin 2023-02-05 07:34:23 +01:00
karman.par Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
Makefile Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
pressure.dat Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
README.md Initial checkin 2023-02-05 07:34:23 +01:00
sample.sh Enhanced Solver in progess 2023-09-19 12:13:14 +02:00
surface.plot Initial checkin 2023-02-05 07:34:23 +01:00
vector.plot Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
velocity.dat Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00
velocity.png Working 2D-mpi for enhanced solver 2023-10-09 16:56:43 +02:00

C source skeleton

Build

  1. Configure the toolchain and additional options in config.mk:
# Supported: GCC, CLANG, ICC
TAG ?= GCC
ENABLE_OPENMP ?= false

OPTIONS +=  -DARRAY_ALIGNMENT=64
#OPTIONS +=  -DVERBOSE_AFFINITY
#OPTIONS +=  -DVERBOSE_DATASIZE
#OPTIONS +=  -DVERBOSE_TIMER

The verbosity options enable detailed output about affinity settings, allocation sizes and timer resolution.

  1. Build with:
make

You can build multiple toolchains in the same directory, but notice that the Makefile is only acting on the one currently set. Intermediate build results are located in the <TOOLCHAIN> directory.

To output the executed commands use:

make Q=
  1. Clean up with:
make clean

to clean intermediate build results.

make distclean

to clean intermediate build results and binary.

  1. (Optional) Generate assembler:
make asm

The assembler files will also be located in the <TOOLCHAIN> directory.