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

Issue with build.setup on Cori #3187

Closed
lpassarella opened this issue Sep 19, 2019 · 10 comments
Closed

Issue with build.setup on Cori #3187

lpassarella opened this issue Sep 19, 2019 · 10 comments

Comments

@lpassarella
Copy link

I'm having an issue setting up the E3SM on Cori using the current master branch. I get the following error:

`Calling /global/project/projectdirs/acme/lpass/E3SM/components/clm/cime_config/buildnml
ERROR: Command: '/global/project/projectdirs/acme/lpass/E3SM/components/clm/bld/configure -comp_intf mct -phys clm4_5 -phys clm4_5 -cppdefs -DMODAL_AER -usr_src /global/project/projectdirs/acme/lpass/E3SM/cime/scripts/ne4_mmf/SourceMods/src.clm' failed with error '** source directory does not exist: /global/project/projectdirs/acme/lpass/E3SM/components/clm/src/external_models/fates/main' from dir '/global/project/projectdirs/acme/lpass/E3SM/cime/scripts/ne4_mmf/Buildconf/clmconf'

@lpassarella
Copy link
Author

I am unsure how to solve this. I tried just manually adding the directory but there were multiple missing directories

@jonbob
Copy link
Contributor

jonbob commented Sep 19, 2019

@lpassarella - can you tell me the command you used to create that case? And what you've done after creating it?

@lpassarella
Copy link
Author

sure,

I run this command

./create_newcase -compset FC5AV1C-L -case ne4_mmf -res ne4_ne4 -project acme

and then

./case.setup

@jonbob
Copy link
Contributor

jonbob commented Sep 19, 2019

That's close, but it will need the machine and compiler specified as well. Something more like:

./create_newcase --case /global/homes/j/jonbob/E3SM-cases/test1 --compset GMPAS-IAF --mach cori-knl --res T62_oEC60to30v3 --compiler intel```

@whannah1
Copy link
Contributor

Did you sync/update your submodules?
git submodule sync ; git submodule update --init
That usually fixes this type of problem for me.

@lpassarella
Copy link
Author

I tried both of those things and still got the same error. When I tried to update the submodules, it updated most and then I got an error

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:E3SM-Project/scorpio.git' into submodule path '/global/project/projectdirs/acme/lpass/E3SM/externals/scorpio_classic' failed
Failed to clone 'externals/scorpio_classic'. Retry scheduled
Cloning into '/global/project/projectdirs/acme/lpass/E3SM/components/cam/src/physics/rrtmgp/external'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

@jonbob
Copy link
Contributor

jonbob commented Sep 19, 2019

You may have to try again

@whannah1
Copy link
Contributor

You should be ok anyway, since you probably aren't using those submodules.

@brhillman
Copy link
Contributor

@whannah1 I think all builds use scorpio now (new name for PIO)

@lpassarella
Copy link
Author

I figured out the issue. It would not find the public key to download the submodule repos from my server, so I just changed them all in the .gitmodule file to the public url.

After syncing and updating again I was able to successfully run the model.

Thanks everyone for your help!

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

4 participants