DIFFUSION
Default dimensions = 10
Partition is enabled by default
To set dimensions and whether partition is used, change variables in code. They are clearly marked near the top of each diffusion program.
C
To compile and run diffusion.c:
gcc diffusion.c time ./a.out
C SHARP
To compile and run diffusion.cs:
mcs diffusion.cs
time mono diffusion.exe
FORTRAN
To compile and run diffusion.f90:
gfortran cube_mem.f90
gfortan diffusion.f90 cube_mem.f90
time ./a.out
GO
To compile and run diffusion.go:
time go run diffusion.go
LISP
To compile and run diffusion.lisp:
chmod u+x diffusion.lisp
time ./diffusion.lisp
PYTHON
To compile and run diffusion.py:
chmod u+x diffusion.py
time ./diffusion.py