-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with runLPJ #49
Comments
here is also the full output from a clean R session |
Hi Gianluca, from you have posted it seems that there is an error with the instruction file The package should be replacing the " run_lcfrac_fixed" by a value. In the created instruction file is there a value or the text string " run_lcfrac_fixed" ? |
And some quick questions:
|
Thanks for your reply. More info: GUESS version 3.1 |
Hi guys, is this problem solved in any way? |
Hi guys, I have the same problem, I am working with LPJGUESS version 4.0.1 in R Version 4.02, R Studio Version 1.3.1093 in Windows 10, and when run:
I see the following error:
The model cannot create output files, and cannot find them, the guess.log file has been created and indicates the following
Is there a compatibility problem? Or is there an additional step that I need to execute? |
Hi, LPJGUESS version 4.0.1 ist not supported by the package, at least not as it currently is in the Repo. However, @JohannesOberpriller has modified the code for a 4.x version, I'm not sure if that would work for for your version (the problem is, as you probably know, that there are various modified version). Just to clarify, @cbbenavidez - you are using 4.0.1 (not the education version) from the official LPJGUESS trunk? @JohannesOberpriller, would that be compatible with your code? |
Hi, i've tried to write the updated version of the package as general as possible. Now it reads in the guess files, and recreates everything needed to identify the correct paths and so on. There are, however, some minor issues I need to fix. @cbbenavidez, we could give it a try with the version I have at the moment, but I must admit i have not fully and exhaustively tested all newly implemented features. @florianhartig probably we should merge the new version into this repo soon. |
Hi, sounds good to me. I have created an issue to discuss the 4.x merge here #52 . If this can be done fast, I would suggest that @cbbenavidez can just get the code from there, and report any problems via the issue tracker, preferably in #52. Else contact Johannes directly via https://www.uni-regensburg.de/biologie-vorklinische-medizin/theoretische-oekologie/mitarbeiter/johannes-oberpriller/index.html |
I can not solve this problem,so I use genetic algorithm(MATLAB) to calibrate parameters.My teacher thinks it may be version's error.Sent from my Huawei phone-------- Original message --------From: cbbenavidez <[email protected]>Date: Fri, Dec 18, 2020, 10:52 AMTo: biometry/rLPJGUESS <[email protected]>Cc: hanqinggong <[email protected]>, Comment <[email protected]>Subject: Re: [biometry/rLPJGUESS] Problem with runLPJ (#49)
Hi guys, I have the same problem, I am working with version LPJGUESS 4.0.1, and when executing :
results_PFT <- runLPJ (x = mainDir, parameterList = parameterStandard_PFT,
typeList = typeList, settings = LPJsettings_PFT)
I see the following error:
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
C:/rlpjguess/Testcode/LPJrunTest/guesscmd.exe -input cf C:/rlpjguess/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
Además: There were 11 warnings (use warnings() to see them)
Error in runLPJ(x = mainDir, parameterList = parameterStandard_PFT, typeList = typeList, :
Error when running the model
Is there a compatibility problem? Or is there an additional step that I need to execute?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
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,
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
The text was updated successfully, but these errors were encountered: