Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 322 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 322 Bytes

PM

Final Project-IV: Particle Mesh

Compilation:

(CPU)

mpicxx -o PM PM.cpp -L$(FFTW_PATH)/lib -I$(FFTW_PATH)/include -lfftw3 -lrt -fopenmp

(GPU)

nvcc -arch sm_13 -o PM PM.cu -L$(OPENMPI_PATH)/lib64 -I$(OPENMPI_PATH)/include -lmpi -lrt -Xcompiler -fopenmp

Execution:

mpirun -np 2 ./PM > log

Plot:

python plot.py