Skip to content
PrometheusPi edited this page Sep 11, 2014 · 3 revisions

simulating strong coupled plasmas for ion-laser-cooling on GPUs**

This is a start of a wiki page, that might help users.

If you use scpongpu for the first time and want to run it on hypnos, just do the following:

  1. Follow our github instructions to get the source code, or in short:
# create general SCPonGPU work directory and enter it
mkdir SCPonGPU
cd SCPonGPU

# get source code from git hub (own repo)
git clone [email protected]:<YourUserName>/scpongpu.git
cd scpongpu

# add remote link to our source code 
git remote add mainline [email protected]:ComputationalRadiationPhysics/scpongpu.git

# update the remote link and pull all changes
git fetch mainline
git pull --rebase mainline master
  1. create a runs directory next to your source code:
# go back to SCPonGPU folder
cd ..

# create runs folder
mkdir runs
  1. copy source code into simulation directory
# copy source code for simulation
cp -r scpongpu/src/scpongpu runs/001_first_test_run
  1. set up simulation
# go to simulation directory
cd runs/001_first_run

# go to a k20 node
qsub -I -q k20 -d . -l nodes=1:ppn=2

# get required modules
source scpongpu.profile

# compile SCPonGPU
make

# run simulation and wait till it is finished
./scp.exe
  1. used data

The simulation data (particle id, position, momentum) is currently printed to stdout. It can be used for analysis.

Clone this wiki locally