User Tools

Site Tools


codes:particle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
codes:particle [2014/07/07 13:19] janniscodes:particle [2025/04/17 13:57] (current) – external edit 127.0.0.1
Line 56: Line 56:
  
 ====== Source / installation ====== ====== Source / installation ======
-The source code can be found [[https://scm.cwi.nl/MD/pamdi3d|here]].+The source code can be found [[https://github.com/jannisteunissen/pamdi3d|here]].
  
 The code depends on the following external libraries, which are distributed along with the code: The code depends on the following external libraries, which are distributed along with the code:
Line 62: Line 62:
   * [[https://wci.llnl.gov/codes/silo/|Silo]]   * [[https://wci.llnl.gov/codes/silo/|Silo]]
   * [[http://arxiv.org/abs/physics/0408067|KDTREE2]]   * [[http://arxiv.org/abs/physics/0408067|KDTREE2]]
 +
 +Furthermore, you need to have a working MPI installation with development files, such as openmpi or mpich, and a Fortran compiler.
  
 To compile, execute the following commands: To compile, execute the following commands:
 <code> <code>
-make libs +$ git submodule init 
-make+$ git submodule update 
 +make 
 +</code> 
 + 
 +Running (sequential): 
 +<code> 
 +$ ./pampi3d my_config_file.txt 
 +</code> 
 + 
 +Running (parallel, N = number of tasks): 
 +<code> 
 +$ mpirun -n N ./pampi3d my_config_file.txt 
 +</code> 
 + 
 +You can also specify multiple configuration files, like: 
 +<code> 
 +$ ./pampi3d cfg_base.txt cfg_1.txt
 </code> </code>
  
-This should work with newer versions (> 4.4) of [[https://gcc.gnu.org/wiki/GFortran|gfortan]].+This should((hopefully)) work with newer versions (> 4.4) of [[https://gcc.gnu.org/wiki/GFortran|gfortan]].
  
 ====== Contact ====== ====== Contact ======
 Questions should be addressed to [[jannis@teunissen.net|Jannis Teunissen]]. Questions should be addressed to [[jannis@teunissen.net|Jannis Teunissen]].
  
codes/particle.1404739192.txt.gz · Last modified: 2025/04/17 13:58 (external edit)