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.

zhang051

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:

!open(22,file=trim(config_restart_timestamp_name),form='formatted',status='unknown')
!write(22,'(a)',advance='no') trim(timeStamp)

open(22,file=trim(config_restart_timestamp_name),form='unformatted',status='unknown')
write(22) trim(timeStamp)


open(22,file=trim(config_restart_timestamp_name),form='unformatted',status='old')
read(22) startTimeStamp
 
Top