Skip to content

hsinhaoHHuang/PM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Final Project-IV: Particle Mesh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 54.1%
  • C++ 43.4%
  • Python 2.5%