Skip to content
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

VM test - could not find a pecan.xml #14

Open
taolin1 opened this issue Aug 31, 2015 · 5 comments
Open

VM test - could not find a pecan.xml #14

taolin1 opened this issue Aug 31, 2015 · 5 comments
Assignees

Comments

@taolin1
Copy link
Contributor

taolin1 commented Aug 31, 2015

library(PEcAn.all)
settings.file <- c("/home/dlebauer/dev/biocro_regional/vignettes/illinois_mxg_settings.xml")
settings <- read.settings(settings.file)
2015-08-31 09:04:20 SEVERE [read.settings] :
Could not find a pecan.xml file
Error in logger.severe("Could not find a pecan.xml file") :
Could not find a pecan.xml file

@dlebauer
Copy link
Member

dlebauer commented Sep 1, 2015

sorry - that workflow is not on the PEcAn VM. Here is what to do:

  1. If you haven't already, and the PEcAn VM is connected to the world, change the username/password for the carya user

  2. Set up an ssh key-pair with Github

  3. clone the biocro_regional repository

    cd ${HOME}
    git clone [email protected]:ebimodeling/biocro_regional
    
  4. cd into the pecan directory, checkout the biocro-module branch, and build PEcAn

    cd ${HOME}/pecan
    git pull
    git fetch --all 
    git checkout -b biocro-module2
    ./scripts/build.sh --dependencies
    
  5. Change the file path to the PEcAn settings file

    • from "/home/dlebauer/dev/biocro_regional/vignettes/illinois_mxg_settings.xml"
    • to "${HOME}/biocro_regional/vignettes/illinois_mxg_settings.xml"

.... proceed, and let me know if this resolves the issue ...

@dlebauer dlebauer assigned haohuuiuc and unassigned dlebauer Sep 1, 2015
@dlebauer
Copy link
Member

dlebauer commented Sep 9, 2015

How can I configure PEcAn VM to submit jobs to ROGER?

  • create a new user account
  • git clone [email protected]:pecanproject/pecan
  • ./pecan/scripts/sshkey.sh
    • follow instructions (roger-login.ncsa.illinois.edu; username, copy-paste last line in terminal beginning with cat " .... ... to send public key to roger
  • now this should work ...

@haohuuiuc
Copy link

Thanks, David! It works.

@haohuuiuc
Copy link

The sshkey setting looks okay, however, after I reload setting file and run to the following command,

start.model.runs(settings, settings$database$bety$write) # Start ecosystem model runs

It is still using my account instead of Tao's to submit jobs, any steps I missed?

@haohuuiuc
Copy link

Oh, just figured out I need to change the .ssh/config user name option, it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants