Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to decompress the Meep installation package:
    cd /path/to/SRC
    tar -xvf meep-1.17.1.tar.gz
  3. Run the following command to go to the directory generated after decompression:
    cd meep-1.17.1
  4. Run the following command to perform the configuration:
    sh autogen.sh --prefix=/path/to/MEEP --enable-shared --with-mpi --with-openmp PYTHON=python3 MPICC=`which mpicc` MPICXX=`which mpic++` LDFLAGS="-L/path/to/DEPENDENCIES/lib -Wl,-rpath=/path/to/KPGCC/gcc-9.3.1-2020.12-aarch64-linux/lib64/libhpc/ -L/path/to/KPGCC/gcc-9.3.1-2020.12-aarch64-linux/lib64/libhpc -lmathlib -lm" CPPFLAGS="-I/path/to/DEPENDENCIES/include" CFLAGS="-O3 -march=armv8.2-a -mtune=tsv110" --with-libctl=/path/to/DEPENDENCIES/share/libctl/
  5. Run the following commands to compile and install Meep:
    make -j
    make -j install
  6. Run the following commands to view the generated executable file:
    ll /path/to/MEEP/bin
    -rwxr-xr-x 1 root root 1139520 Feb  3 11:43 meep