Structure-Resolved Reaction-Diffusion Simulation Software by Johnson Lab, JHU
Install Xcode via App Store. Alternatively, use commandline:
xcode-select --installsudo apt update
sudo apt install build-essentialbrew install gslsudo apt install libgsl-devFrom the NERDSS root directory:
make serialExecutable will appear in:
./bin
git checkout mpibrew install open-mpisudo apt install openmpi-bin libopenmpi-devFrom the NERDSS root directory:
make mpiExecutable will appear in:
./bin
After building, check:
ls ./binYou should see the compiled executable(s).
| Build Type | Command |
|---|---|
| Serial | make serial |
| MPI | git checkout mpi → make mpi |
Click the following link to make a copy of the iPython notebook in your Google Colab and following the instructions on the Notebook (Note currently the link is under NERDSS development repo. The link will need to be updated once synced to released repo)
-
Example input files are located in the subdirectories within the
sample_inputsfolder. -
To start the serial simulation, use the command
./nerdss -f parms.inp. -
To start the parallel simulation, use the command
mpirun -np $nprocs ./nerdss_mpi -f parms.inp. -
To debug the parallel code, use the command
mpirun -np 2 xterm -e gdb --ex 'b error' --ex r --args ./nerdss_mpi -f parms.inp -s 123.
- Use the ioNERDSS PyPi library for visualizing simulation results.
- Install ioNERDSS with pip install ioNERDSS.
- Refer to the ionerdss repository for more details.
- We use the Google C++ Style Guide and the C++ Core Guidelines and prefer the C++ Standard Library and modern C++ features.
- Provide comments and documentation to explain complex or non-obvious code sections. Write unit tests to ensure code quality.