This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
library:computing:xios_impi_troubles [2026/09/09 13:30] 84.88.52.107 old revision restored (2026/08/23 03:02) |
library:computing:xios_impi_troubles [2026/09/09 23:38] (current) 84.88.52.107 old revision restored (2026/08/28 06:41) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== NEMO-XIOS Intel MPI issues | + | ====== NEMO-XIOS |
| ===== NEMO-XIOS @ MN3 ===== | ===== NEMO-XIOS @ MN3 ===== | ||
| - | **Environment: | + | **Environment: |
| * Intel 13.0.1 & Intel MPI 4.1.3.049 | * Intel 13.0.1 & Intel MPI 4.1.3.049 | ||
| Line 70: | Line 70: | ||
| ===== NEMO-XIOS @ MN4 ===== | ===== NEMO-XIOS @ MN4 ===== | ||
| - | ==== Issue 1: NEMO fails to read input files ==== | + | ==== Issue 1: ==== |
| **Environment: | **Environment: | ||
| Line 126: | Line 126: | ||
| </ | </ | ||
| - | **Actions taken: | + | **Actions taken: |
| - | After looking for differences between NetCDF 4.4.0 and NetCDF 4.2 configurations (using nc-config & nf-config commands), we found out that while NetCDF 4.4.0 was compiled with no support for nc4 nor P-NetCDF (a library that gives parallel I/O support for classic NetCDF files), NetCDF 4.2 was installed with support for these features. We commented this to Ops and they installed __NetCDF without linking to P-NetCDF__, and this seemed to fix the problem. | + | **Diagnosis: |
| - | + | ||
| - | In order to know more about the source of this bug, we __compared the behavior of two NEMO executables__: | + | |
| - | + | ||
| - | We did a __comparison of the functions included in both binaries__ through the nm command, and we found that __they were identical__. Then we did a __more in deep comparison of both binaries__ with objdump and we found out little differences, | + | |
| - | + | ||
| - | **Diagnosis: | + | |
| - | **Solution: | + | **Solution: |
| **More information: | **More information: | ||
| Line 144: | Line 138: | ||
| [[https:// | [[https:// | ||
| - | ==== Issue 2: XIOS crashes when writing model output | + | ==== Issue 2: ==== |
| **Environment: | **Environment: | ||
| Line 196: | Line 190: | ||
| - | **Actions taken:** Given that the error is a floating invalid we disabled the -fpe0 flag, but we still were having the same problem. Then we disabled compiler optimizations (use -O0) and the problem disappeared, | + | **Actions taken:** Given that the error is a floating invalid we disabled the -fpe0 flag, but we still were having the same problem. Then we disabled compiler optimizations (use -O0) and the problem disappeared, |
| - | Update: Using the new NetCDF 4.2 installed by Ops and key netcdf_par for XIOS2 the model can run using O3. We have to investigate further this issue. | + | **Diagnosis:** |
| - | **Diagnosis:** By now it is difficult to know the exact source of this problem. Further debugging will be required. | + | **Solution:** Disabling compiler optimizations (activate -O0). |
| - | **Solution: | + | ==== Issue 3: ==== |
| - | + | ||
| - | ==== Issue 3: MPI kills XIOS when writing model output | + | |
| **Environment: | **Environment: | ||
| Line 210: | Line 202: | ||
| * Compiler: Intel 2017.4 | * Compiler: Intel 2017.4 | ||
| * MPI: Intel 2017.3.196 | * MPI: Intel 2017.3.196 | ||
| - | * NetCDF: 4.4.0 & 4.2 (after removed PNETCDF) | + | * NetCDF: 4.4.0 |
| * HDF5: 1.8.19 | * HDF5: 1.8.19 | ||
| * Flags: -O0 | * Flags: -O0 | ||
| - | **Problem: | + | **Problem: |
| __ocean.output__: | __ocean.output__: | ||
| Line 257: | Line 249: | ||
| - | **Actions taken: | + | **Actions taken:** |
| - | We tried an alternative solution, which was to __increment the number of XIOS servers__ in order to reduce the number of messages sent to the same process and by the moment it seems that it is effective. | + | **Diagnosis: |
| - | **Diagnosis:** The problem is that an one point the buffer for data transfer is not 4-byte aligned, and the library assumes it is. This is a really low level problem and we do not completely understand the relation between this and reducing the congestion (which is achieved by adding servers), but maybe in the future we can get more information. | + | **Solution:** |
| - | **Solution:** By the moment the solution used is to use enough number of XIOS servers (47 for SR). | + | ==== Issue 4: ==== |
| - | About Intel Communication Fabrics control: | + | **Environment: |
| - | + | ||
| - | [[https:// | + | |
| - | + | ||
| - | Ips_proto.c source code: | + | |
| - | + | ||
| - | [[https:// | + | |
| - | ==== Issue 4: EC-Earth enters in a dead lock when using fabric (OFA network fabrics) module ==== | + | |
| - | + | ||
| - | **Environment: | + | |
| - | + | ||
| - | * Compiler: Intel 2017.4 | + | |
| - | * MPI: Intel 2017.3.196 | + | |
| - | * NetCDF: 4.4.0 | + | |
| - | * HDF5: 1.8.19 | + | |
| - | * Flags: -O0 & -O3 | + | |
| - | **Problem: | + | **Problem: |
| - | **Actions taken: | + | **Actions taken:** |
| **Diagnosis: | **Diagnosis: | ||
| - | **Solution: | + | **Solution: |