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

CIME -- Don't know how to run appended project IDs #1588

Closed
mrnorman opened this issue Jun 15, 2017 · 4 comments
Closed

CIME -- Don't know how to run appended project IDs #1588

mrnorman opened this issue Jun 15, 2017 · 4 comments
Assignees
Labels

Comments

@mrnorman
Copy link
Contributor

On Summit and Titan, I need to run under a "csc190acme" project. However, the actual folder is "csc190", so that's what I have to put for the -project flag. Yet when i submit the job, it has to be under csc190acme. In the old scripts, this was easy because I just appended "acme" to the project ID in the run file header. However, when I do that in case.run, it doesn't change anything (we should probably remove those headers if they aren't doing anything btw). So how do I have the code run in the csc190 folder while running under csc190acme in the aprun / mpirun command?

@philipwjones
Copy link
Contributor

@mrnorman This was the topic of an earlier github issue that I think was resolved, but don't remember the solution. A short term workaround is to explicitly add the project name when you submit - the second instance of the project name overrides the first.

@jgfouca jgfouca self-assigned this Jun 15, 2017
@rljacob
Copy link
Member

rljacob commented Jun 15, 2017

There's just the workaround. There's an ESMCI issue to add this ESMCI/cime#1332

@sarich how is that going?

@mrnorman
Copy link
Contributor Author

How do I explicitly add the project name when I submit?

@sarats
Copy link
Member

sarats commented Jun 15, 2017

Something like this:
./case.submit -a "-P csc190acme"

@jgfouca jgfouca assigned sarich and unassigned jgfouca Jun 15, 2017
@rljacob rljacob added the CIME label Jun 29, 2017
jgfouca added a commit that referenced this issue Aug 24, 2017
)

add option CHARGE_ACCOUNT to charge compute time if different from PROJECT

This option can be set by environment variable, in config_machines.xml, or
with xmlchange.
Helpful because PROJECT can be used for directory names that don't match
the name of the charge account.

Addresses issue #1588

* origin/sarich/scripts/feature-charge-account:
  unset CHARGE_ACCOUNT environment variable in tests
  Add simple doctests to get_charge_account
  whitespace edits
  add option CHARGE_ACCOUNT to charge compute time to if different from PROJECT
jgfouca added a commit that referenced this issue Aug 28, 2017
…1718)

add option CHARGE_ACCOUNT to charge compute time if different from PROJECT

This option can be set by environment variable, in config_machines.xml, or
with xmlchange.
Helpful because PROJECT can be used for directory names that don't match
the name of the charge account.

Addresses issue #1588

* origin/sarich/scripts/feature-charge-account:
  unset CHARGE_ACCOUNT environment variable in tests
  Add simple doctests to get_charge_account
  whitespace edits
  add option CHARGE_ACCOUNT to charge compute time to if different from PROJECT
jgfouca added a commit that referenced this issue Oct 25, 2017
…1718)

add option CHARGE_ACCOUNT to charge compute time if different from PROJECT

This option can be set by environment variable, in config_machines.xml, or
with xmlchange.
Helpful because PROJECT can be used for directory names that don't match
the name of the charge account.

Addresses issue #1588

* origin/sarich/scripts/feature-charge-account:
  unset CHARGE_ACCOUNT environment variable in tests
  Add simple doctests to get_charge_account
  whitespace edits
  add option CHARGE_ACCOUNT to charge compute time to if different from PROJECT
jgfouca added a commit that referenced this issue Feb 27, 2018
…1718)

add option CHARGE_ACCOUNT to charge compute time if different from PROJECT

This option can be set by environment variable, in config_machines.xml, or
with xmlchange.
Helpful because PROJECT can be used for directory names that don't match
the name of the charge account.

Addresses issue #1588

* origin/sarich/scripts/feature-charge-account:
  unset CHARGE_ACCOUNT environment variable in tests
  Add simple doctests to get_charge_account
  whitespace edits
  add option CHARGE_ACCOUNT to charge compute time to if different from PROJECT
jgfouca added a commit that referenced this issue Mar 14, 2018
…1718)

add option CHARGE_ACCOUNT to charge compute time if different from PROJECT

This option can be set by environment variable, in config_machines.xml, or
with xmlchange.
Helpful because PROJECT can be used for directory names that don't match
the name of the charge account.

Addresses issue #1588

* origin/sarich/scripts/feature-charge-account:
  unset CHARGE_ACCOUNT environment variable in tests
  Add simple doctests to get_charge_account
  whitespace edits
  add option CHARGE_ACCOUNT to charge compute time to if different from PROJECT
@rljacob rljacob closed this as completed Dec 3, 2020
rljacob pushed a commit that referenced this issue Apr 12, 2021
…1718)

add option CHARGE_ACCOUNT to charge compute time if different from PROJECT

This option can be set by environment variable, in config_machines.xml, or
with xmlchange.
Helpful because PROJECT can be used for directory names that don't match
the name of the charge account.

Addresses issue #1588

* origin/sarich/scripts/feature-charge-account:
  unset CHARGE_ACCOUNT environment variable in tests
  Add simple doctests to get_charge_account
  whitespace edits
  add option CHARGE_ACCOUNT to charge compute time to if different from PROJECT
rljacob pushed a commit that referenced this issue Apr 12, 2021
…1718)

add option CHARGE_ACCOUNT to charge compute time if different from PROJECT

This option can be set by environment variable, in config_machines.xml, or
with xmlchange.
Helpful because PROJECT can be used for directory names that don't match
the name of the charge account.

Addresses issue #1588

* origin/sarich/scripts/feature-charge-account:
  unset CHARGE_ACCOUNT environment variable in tests
  Add simple doctests to get_charge_account
  whitespace edits
  add option CHARGE_ACCOUNT to charge compute time to if different from PROJECT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants