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

MPAS forrtl: severe (257)

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
On behalf of DTN, I would like to share with the MPAS community the error we encountered and a fix we made, which may not be the best, but works for us.

Shuxia Zhang, PhD, MBA
DTN Cloud engineer

Software: MPAS-A

Compiler Intel oneapi 2021.04

Error Description: "forrtl: severe (257): formatted I/O to unit open for unformatted transfers, unit 22, file /path/mpas/run/fort.22 but the Slurm job keeps running. "

The Fix: Use of unformatted format. Specifically, modified lines 739-740,
225-225 of mpas_atm_core.F in the directory core_atmosphere:

!write(22,'(a)',advance='no') trim(timeStamp)

write(22) trim(timeStamp)

read(22) startTimeStamp