C version of NeuroImmunoModel - Mathematical Model of the Activation of the Immune Response in the Central Nervous System.
Graphical abstract of the paper that describes the model:
DE PAULA, M. A. M.; QUINTELA, B. de M.; LOBOSCO, M. On the use of a coupled mathematical model for understanding the dynamics of multiple sclerosis. Journal of Computational and Applied Mathematics, v. 428, p. 115163, 2023. ISSN 0377-0427 DOI: https://doi.org/10.1016/j.cam.2023.115163
Stable serial version of the code.
Compile:
gcc -O3 -o main main.c model.c
Stable parallel version of the code in OMP.
Compile:
gcc -O3 -fopenmp -o main mainOMP.c modelOMP.c -lm
Execute:
./main [ThreadsNum]
Stable parallel version of the code in MPI.
Compile with mpicc.[mpich or openmpi] modelMPI.c mainMPI.c -O3 -o main
Execute:
mpiexec.[mpich or openmpi] main -n [ProcNum] ./main
Stable parallel version of the code in CUDA. CUDA version GPU Solving Tissue and CPU solving Lymph node
Compile:
nvcc -O3 -use_fast_math -o main main.c model.c
CUDA version GPU using dynamic time step.
Compile:
nvcc -O3 -use_fast_math -o main main.c model.c
CUDA version GPU Solving Tissue and CPU solving Lymph node. Assync copies.
Compile:
nvcc -O3 -use_fast_math -o main main.c model.c
CUDA version solving Tissue and Lymph Node in GPU using cooperativeGroup for reduction in tissue.
Compile:
nvcc -O3 -use_fast_math -o main main.c model.c
CUDA version solving Tissue and Lymph Node in GPU. CPU only for reduction in tissue.
Compile:
nvcc -O3 -use_fast_math -o main main.c model.c
- Matheus Avila Moreira de Paula
- Barbara de M Quintela
- Marcelo Lobosco