Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to decompress the Meep installation package:
cd /path/to/SRC tar -xvf meep-1.17.1.tar.gz
- Run the following command to go to the directory generated after decompression:
cd meep-1.17.1
- 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/
- Run the following commands to compile and install Meep:
make -j make -j install
- 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
Parent topic: MPB 1.11.1 and MEEP 1.17.1 Porting Guide (CentOS 7.6)