Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to configure the environment variables of the Meep executable file:
export PATH=/path/to/MEEP/bin:$PATH
- Run the following command to copy the test case file to the planned directory:
cp /path/to/SRC/meep-1.17.1/scheme/examples/mie-scattering.ctl /path/to/CASE
- Run the following command to go to the test case directory:
cd /path/to/CASE
- Run the following command to execute Meep:
mpirun --allow-run-as-root -mca pml ucx -mca btl ^vader,tcp,openib,uct -x UCX_TLS=self,sm --bind-to core --map-by socket --rank-by core -x UCX_BUILTIN_ALLREDUCE_ALGORITHM=8 -np 128 meep mie-scattering.ctl |tee mie.out
- Run the following commands to extract the input data to a separate file:
grep flux1: mie.out |cut -d, -f2 -> input.dat grep flux2: mie.out |cut -d, -f2 -> scatt.dat
After the commands are executed, check the value of Elapsed run time in the last line of the mie.out file. A smaller value indicates a higher performance.
Parent topic: MPB 1.11.1 and MEEP 1.17.1 Porting Guide (CentOS 7.6)