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

Adds support for Lawrencium #390

Closed
wants to merge 1 commit into from

Conversation

bishtgautam
Copy link
Contributor

This is not ready, but using this space to have a discussion.

@bishtgautam
Copy link
Contributor Author

Hey @jnjohnsonlbl,

The *.run script created for Lawrencium is quite strange and I probably have an incorrect setting for Lawrencium. If you get a chance next week, could you take a look at it? Thanks.

You can use the following commands to create a case.

export RES=f19_g16
export COMPSET=I1850CRUCLM45BGC
export MAC=lawrencium-lr2
export COMPILER=intel
export CASE_NAME=${RES}.${COMPSET}.${MAC}.${COMPILER}.`date +"%Y-%m-%d"`

./create_newcase -case ${CASE_NAME} -res ${RES} -compset ${COMPSET} -mach ${MAC} -project acme -compiler ${COMPILER}

cd $CASE_NAME

./xmlchange -file env_run.xml -id DIN_LOC_ROOT -val /clusterfs/esd/esd2/gbisht/ccsm_inputdata
./xmlchange -file env_run.xml -id DIN_LOC_ROOT_CLMFORC -val /clusterfs/esd/esd2/gbisht/ccsm_inputdata/atm/datm7
./xmlchange -file env_run.xml -id DATM_CLMNCEP_YR_END -val 1901

./cesm_setup

# Make changes as needed
#perl -w -i -p -e 's@#SBATCH --account=acme@#SBATCH --account=lr_esd2@' ${CASE_NAME}.run
#perl -w -i -p -e 's@#SBATCH --qos=lr_normal@#SBATCH --qos=condo_esd2@' ${CASE_NAME}.run
#perl -w -i -p -e 's@#SBATCH --partition=ec@#SBATCH --partition=lr3@' ${CASE_NAME}.run

./${CASE_NAME}.build

sbatch ${CASE_NAME}.run

@jeff-cohere
Copy link
Contributor

Anything specific you're concerned about in the .run script?

@bishtgautam
Copy link
Contributor Author

It is quite an odd looking run script or it might be that I'm just unfamiliar with *.run after CIME migration.

https://gist.github.com/bishtgautam/6fda8f18e994837fedd6

@jeff-cohere
Copy link
Contributor

I think a lot of miscellaneous stuff was changed after CIME went through. There are a couple things you can do to convince yourself that this isn't completely wacky:

  1. Try it and see if it works! :-)
  2. Compare this run script to those you have generated (post-CIME) on other machines such as Edison.
  3. Try building a case with a CIME-enabled version of CESM and compare/contrast.

@rljacob
Copy link
Member

rljacob commented Oct 26, 2015

In CIME, the .run script is perl instead of csh so don't expect it to look anything like the pre-cime script. .submit is also perl and .build has just enough csh to call a perl script.

@jeff-cohere
Copy link
Contributor

Hey @bishtgautam,

I understand you may or may not be satisfied with the new .run script, but there is still an outstanding library loading issue related to NetCDF on Lawrencium, correct?

I know there's a lot of stuff in flight at the moment. Do you want to leave this PR for now and wait for things to settle down?

@bishtgautam
Copy link
Contributor Author

It turns on that @rljacob was correct. Post *.cime run script is completely different and one needs to use *.submit script to submit the job. So, I'm satisfied with the run script. I believe the netCDF lib is still an issue. I will close the PR and open an issue.

@bishtgautam bishtgautam deleted the bishtgautam/script/lawrencium-post-cime branch February 3, 2016 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants