There was an error while loading. Please reload this page.
Getting Started
./configure --prefix="your installation dir" CC="your mpicc" make make install
mpicc -o test test.c -lcasper
Or you can set LD_PRELOAD to dynamically load Casper in front of MPI.
mpicc -o test test.c export LD_PRELOAD="Your Casper installation dir"/lib/libcasper.so
You can set the number of ghost processes per node through the environment variable CSP_NG, it is set to 1 by default.
[Example 1] Running on 2 node, 2 ghost processes and 6 user processes on each node.
export CSP_NG=2 mpiexec -np 16 -ppn 8 ./test
[Example 2] Running on 4 node, 4 ghost processes and 20 user processes on each node.
export CSP_NG=4 mpiexec -np 96 -ppn 24 ./test