Skip to content

Problem with runLPJ #49

@gianlucafilippa

Description

@gianlucafilippa

Hi,
I am totally new to the model so apologies if my question is a silly one. I am trying to follow the code in the appendix of your EMS paper. Specifically I can run with no errors appendix 1. But when it cums to run the model my output is the following:

`> results_PFT <- runLPJ(x = mainDir, parameterList = parameterStandard_PFT,

  • typeList = typeList, settings = LPJsettings_PFT)
    

Using package template (template 1)
Saving package template in the mainDir
Using package template (template 2)
Saving package template in the mainDir
Starting run
Calling LPJ-GUESS

/home/gian/Testcode/LPJrunTest/guess -input cf /home/gian/Testcode/LPJrunTest/runDirectory/global_cf.ins
Error in getLPJData(runObject$outDir, runObject$typeList, runObject, runObject$processing) :
There are not model outputs. Please check the guess.log files
In addition: Warning messages:
1: In createSingleObject(x, typeList, settings) :
The file.wetdays has not been provided
2: In createSingleObject(x, typeList, settings) :
The file.minTemp has not been provided
3: In createSingleObject(x, typeList, settings) :
The file.maxTemp has not been provided
4: In createSingleObject(x, typeList, settings) :
The variable.wetdays has not been provided
5: In createSingleObject(x, typeList, settings) :
The variable.minTemp has not been provided
6: In createSingleObject(x, typeList, settings) :
The variable.maxTemp has not been provided
7: running command '/home/gian/Testcode/LPJrunTest/guess -input cf /home/gian/Testcode/LPJrunTest/runDirectory/global_cf.ins' had status 99
8: In getLPJData(runObject$outDir, runObject$typeList, runObject, runObject$processing) :
There is no cmass.out
9: In getLPJData(runObject$outDir, runObject$typeList, runObject, runObject$processing) :
There is no lai.out
Error in runLPJ(x = mainDir, parameterList = parameterStandard_PFT, typeList = typeList, :
Error when running the model
`

It seems that the model cannot create output files and then does not find them. The guess.log file is created and contains the following:
"In /home/gian/Testcode/LPJrunTest/runDirectory/global.ins, line 135, "lcfrac_fixed":
Error: Undefined identifier
Bad instruction file!"

And this is the line into the global.ins which the guess.log file refers to:
"lcfrac_fixed run_lcfrac_fixed ! use landcover fractions (%) below (1) or read from input file (0)"

Any help will be much appreciated.

Gianluca

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions