Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Segmentation fault when interpolating regional initial conditions

Dear all,

I’m running into a blocking error while generating regional initial conditions for Regional MPAS.

What I’m doing

  • MPAS‑A version: 8.2.2
  • Global variable‑resolution mesh 200 km (outer) → 10 km (inner) created with JIGSAW.
  • Used "create_region" to clip the high‑resolution patch over my domain; static fields created successfully.
  • Input data: hourly ERA5 GRIB (pressure‑level + single‑level) downloaded via CDS‑API. WPS handled link_grib.csh and ungrib.exe with Vtable.ECMWF.
  • When I launch
    mpiexec ‑n <nproc> ./init_atmosphere init_atmosphere.nl
    to interpolate regional ICs, the run dies with segmentation fault
The full error log is on "nohup.out.txt"

Any help would be greatly appreciated.

Thanks,

Danilo
 

Attachments

  • streams.init_atmosphere.txt
    914 bytes · Views: 2
  • namelist.init_atmosphere.txt
    1.4 KB · Views: 2
  • nohup.out.txt
    22.9 KB · Views: 2
Your namelist.init_atmosphere looks fine to me.

The error message "Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation" indicates fundamental problems in your case.

Without looking at your datafile, I am not sure whether the 200 km → 10 km mesh you created is correct or not.

As a good starting point, can you run a test case of regional MPAS using a variable-resolution mesh we provide in MPAS home page?

This test case would serve as the basis that can at least demonstrate your approach is correct. If this test case is done successfully, we will know for sure that you follow the correct steps to run regional MPAS. Then we can further explore what is wrong with your failed case.
 
Apologies for the long silence—after a lot of digging I found the crash was due to a misconfigured environment on my side. Once that was fixed the model ran fine. Thank you very much for your help and suggestions!
 
Thank you for the update and I am glad that your regional MPAS run is done successfully !

Would you please clarify what is wrong with your environment configuration? I suppose this information can be helpful for others who may have similar issues.

Thank you in advance.
 
I can’t really pinpoint the exact misconfiguration. After a lot of trial and error, I set up a dedicated .bashrc for MPAS with a clean environment and that resolved it. I’ve attached the .bashrc I used in case it helps others. Thanks again and sorry for the late reply!
 

Attachments

  • bashrc.opt-mpas.txt
    1.4 KB · Views: 1
Top