Skip to content

Re: Parallel (MPI/OpenMP) simulation

#2325
robin.trunk
Keymaster

Hi Alejandro,rnrn””Makefile.inc”” refers to the file in the OpenLB main folder, since the whole library has to be compiled again for parallel execution. Important parts arernrnCXX := g++rn#CXX := icpc -D__aligned__=ignoredrn#CXX := mpiCCrn#CXX := mpic++rnrnPARALLEL_MODE := OFFrn#PARALLEL_MODE := MPIrn#PARALLEL_MODE := OMPrn#PARALLEL_MODE := HYBRIDrnrnHere you can chose the mode and compiler used by removing the “”#”” in the regarding lines. To clean the previous compiled library use make cleanbuild. To execute the program in parallel with mpi use mpirun as documented in the manual.rnrnBest regardsrnRobin