remindmodel / remind

REMIND - REgional Model of INvestments and Development
Other
98 stars 128 forks source link

Reporting error: Fortran runtime Error in the Magicc Reporting #180

Closed Loisel closed 6 months ago

Loisel commented 4 years ago

When reporting.R is executed, the magicc reporting parts fail with

[1] "Executing reporting.R"                                                                                                                                                                                   
/p/tmp/aloisdir/remind-trunk/output/SDP-calibrate_2020-05-27_16.57.02/magicc                                                                                                                                  
At line 1299 of file MAGICC_6005_v2_forJessicaGunnarElmar.F90 (unit = 42, file = 'MAGCFG_NMLYEARS.CFG')                                                                                                       
Fortran runtime error: End of file                                                                                                                                                                            
sh: climate_reporting_template.txt: No such file or directory                                                                                                                                                 
sed: can't read ../../../output/SDP-calibrate_2020-05-27_16.57.02/REMIND_climate_SDP-calibrate.mif: No such file or directory                                                                                 
cat: ../../../output/SDP-calibrate_2020-05-27_16.57.02/REMIND_climate_SDP-calibrate.mif: No such file or directory 

Consequentially the EDGE Transport reporting is not executed (it comes after the magicc reporting in reporting.R) but a MIF file is produced so without checking the logs or looking for EDGE-T or MAGICC reporting, no error is evident.

giannou commented 4 years ago

@LaviniaBaumstark had asked me to remove the magicc files from the model when we went open-source. Not sure what the status is right now

johanneskoch94 commented 3 years ago

I'm trying to run remind with magicc, and it's not working. I get the same error as @Loisel showed above. @0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q is helping me with a workaround. If the magicc files can't be open-sourced, is there a standard set-up for running magicc?