/lattice-based-prf

Primary LanguageCMIT LicenseMIT

Lattice Based PRF

This program performs matrix multiplication based on a randomly generated bitstring using MPI for parallelization.

Compilation

To compile the program, use the following command:

make

Usage

To execute the program, run:

mpirun -np <num_processes> ./matrix_multiply <n>

Paras:

  • m: Matrix size (default: 128)
  • n: Bitstring length
  • size: Max element size (default: 1024)
  • output_file: Output file name (default: output.txt)
  • num_processes: Number of processes

If you want to change the values of m, size, and output_file, you can do so in the source code.

Author

You can find more information on my personal website.

License

This script is released under the MIT License 2.0. See the LICENSE file for details.