To address the low computational efficiency of serial programs in integral calculations for marine gravity anomaly inversion, this study takes the inverse Vening-Meinesz formula as a case study to optimize the spherical harmonic synthesis and integration processes. Two parallel computing methods, OpenMP and MPI, are compared, with an improved task allocation strategy proposed for MPI. MPI is ultimately selected to implement the rapid computation of marine gravity anomaly inversion using the remove-restore technique. The results demonstrate that parallel computing significantly enhances the efficiency of integral inversion calculations. OpenMP exhibits higher parallel efficiency, while MPI demonstrates stronger acceleration capabilities on cluster servers. By employing the MPI-based parallel method with optimized task allocation, the inversion process requires only 20.87 seconds under the following conditions: a cluster server with 80 processes (CPU model: Intel Xeon E5-2670 v2 @ 2.50 GHz), a computational region of 10°×10°, an inversion resolution of 1'×1', and an integration radius of 60'. The computational accuracy of this approach slightly surpasses that of the FFT method.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |