Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the test case file.
tar -xvf CMAQv5.3.1_Benchmark_2Day_Input.tar.gz -C /path/to/CMAQ/CMAQ_Project/data
- Go to the test directory.
cd /path/to/CMAQ/CMAQ_Project/CCTM/scripts
- Configure the running script.
- Open the running script.
vim run_cctm_Bench_2016_12SE1.csh
- Press i to enter the edit mode.
Change the value of compiler to bisheng and that of compilerVrsn to 1.3.1.
setenv compiler bisheng setenv compilerVrsn 1.3.1
Change the values of NPCOL and NPROW. The product of the two values is equal to the number of parallel cores. For example:
@ NPCOL = 8; @ NPROW = 4
Modify the INPDIR path, for example:
setenv INPDIR /path/to/CMAQ/CMAQ_Project/data/CMAQv5.3.1_Benchmark_2Day_Input/2016_12SE1
Modify the MPI running parameters. For example:
/usr/bin/time -p mpirun -np 32 -x LD_PRELOAD=/path/to/MATH/lib/libmathlib.so --allow-run-as-root --mca btl ^openib $BLD/$EXEC
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the running script.
- Perform the test.
csh -x /path/to/CMAQ/CMAQ_Project/CCTM/scripts/run_cctm_Bench_2016_12SE1.csh >& /path/to/CMAQ/CMAQ_Project/CCTM/scripts/csh.log
Check the value of Total Time (unit: s) in the csh.log file. A smaller value indicates higher performance.

Parent topic: CMAQ 5.3.1 Porting Guide (openEuler 21.03)