The resource management system for the HPC clusters is
.
Here shows one of the example videos:
Make sure you have installed CMake in your machine,
cd build
cmake ..
make
If everything goes smoothly, after cd ..
, you will see an executable file test.exe in the main directory.
- create a directory with name data
mkdir data
- submit your job to the cluster with command
sbatch script.slurm
, or justmpiexec -n #CORES test.exe
, where#CORES
is the number of cores you can use
All the data are in the data fold in HDF5 format.
- creat a directory with name figures
mkdir figures
python py-plot/plot.py
or use the MPI versionmpiexec -n #CORES python py-plot/plot_mpi.py
All the figures or videos are in the figures fold.
Since I haven't constructed the standard input files yet, you have to modify the src/main.cpp and py-plot/plot(_mpi).py files to change input parameters.
Created by W. Wang on 2021-6-23.
Copyright © Wei Wang.