openscm / pymagicc

Python wrapper for the simple climate model MAGICC
https://pymagicc.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
39 stars 27 forks source link

error in pymagicc.run using magicc7 #342

Open schippersfrank opened 1 year ago

schippersfrank commented 1 year ago

Describe the bug

Initial tests of magicc7 are failing. Both pymagicc.run and openscm_runner.run give the following error when trying to run magicc7 with either the testdata or rcmip data (SSP126_EMMS.SCEN7):
forrtl: severe (32): invalid logical unit number, unit -858993460, file unknown

The errors appear to be MAGICC7 related.

Failing Test pymagicc.run -> magicc7.exe openscm_runner.run -> magicc7.exe

Expected behavior

A succesful pymagicc/openscm run with output from SSP126, from SSP126_EMMS.SCEN7.

Screenshots

The output of both the pymagicc and the openscmrunner notebook is here: pymagicc openscmrunner

System (please complete the following information):

Additional context @znicholls The bug exclusively occurs using magicc7. Everything works well when using magicc6.

znicholls commented 1 year ago

Hmm this seems to be an issue with our compiled binary. We'll do some digging and see where we get to

dengxp8 commented 1 year ago

I got the same issue when using magicc7