HPC/FAQ: Difference between revisions

From CNM Wiki
< HPC
Jump to navigation Jump to search
Line 75: Line 75:
To get more details in cases with CreditLimits, run the more fully-featured <code>gbalance</code> command, and pass on your username:
To get more details in cases with CreditLimits, run the more fully-featured <code>gbalance</code> command, and pass on your username:
  gbalance -h -u $USER
  gbalance -h -u $USER
: You can use the literal string <code>$USER</code> which lets the shell fill in your actual username.
: Use the literal string <code>$USER</code> which makes the shell fill in your actual username.
The ouput looks like:
The ouput looks like:
  Id  Name    Amount    Reserved Balance    CreditLimit '''Available'''
  Id  Name    Amount    Reserved Balance    CreditLimit '''Available'''

Revision as of 17:39, October 23, 2013

"I cannot log in" or "My password does not work"

Check host names
Make sure you connect to the correct host names, namely mega.cnm.anl.gov for the SSH gateway and clogin.cnm.anl.gov when onsite. Do not use "carbon".
Check requirements
  • Users who are not US citizens require a current visa for access. On expiration of previous registration items, your Argonne login will be disabled, possibly in the middle of a proposal lifetime, and you may suddenly find that you can no longer access mega. Review and renew your details at https://beam.aps.anl.gov/pls/apsweb/ufr_main_pkg.usr_start_page .
  • Access to mega requires an active proposal. Access will be disabled approximately 6 weeks after your last active proposal expired. Proposal times are announced to the principal investigator (PI) in emails containing the words "Work Approval Received" or "Proposal Expiration" in the subject. To identify your proposal times, as your PI to search his or her email archive for mails with these words in the subject.
Note that it may take about 1–3 hours for a new proposal to be recognized as active again on mega.
  • Access to mega requires that the User Work Submittal for a proposal contain your badge number. If that was left empty at original submission (such as when you are a newly registered user), ask the User Office or your Scientific Contact to augment and resubmit the form.
Verify your password
Visit https://credentials.anl.gov/ and verify that your username and password are correct.
Request a password reset
  • To have your password reset, email the CNM User Office, at [email protected].
  • When you connect to mega with still your temporary password in place, mega will ask for a new password. You can safely change your password at this point.
  • You can also change your password at https://credentials.anl.gov/ - However, a change there will take a few hours to become active on mega.
Review instructions
Request help for general network or connectivity issues
Contact the NST IT help desk at [email protected] .
Be as specific as possible – include the following in your request:
  • The exact error message you get. Copy & Paste the message text, or take a screenshot and attach it to your mail.
  • The command you are trying to run or the menu item you choose.
  • The hostname you're trying to reach, if it's not evident from the command above.
  • The username you use to connect - ditto.
  • The software name and version you use to connect (e.g. SSH, VNC, or a browser).
  • Your operating system and version.


Note to the User Office: Text in this color needs to be communicated to users by email because this wiki requires a password to read.

"I'd like to use program X"

Check if the application is already available on Carbon

Either:

module avail
module -l avail 2>&1 | less
The second form gives you browsable output.
If you cannot find the application
  1. Describe the problem you are trying to solve – it may well be that we can suggest an alternative solution.
  2. Provide one or more URLs relevant to software you have in mind – be specific.

"How do I run program X?"

"How do I use program X?"

Read the package's documentation, using one or more of the following:

  • Inspect the package's $NAME_HOME/share or $NAME_HOME/doc directory on Carbon (see module conventions).
  • Browse the package's web page, generally mentioned in the module help text or the application catalog entry.
  • Consult a package's man pages. Few packages have them. Man page files are generally installed under $NAME_HOME/man or $NAME_HOME/share/man and if so, will be made available automatically to the man command.

What's my account balance?

Simple answer: mybalance

To find out how many core-hours you have available, the simplest command to run is:

mybalance -h
Project  Machines Balance    
-------- -------- ---------- 
user     ANY         993.26
cnm34567 ANY       158760.93
cnm31234 ANY      -148893.62

The table gives all the Projects you have access to (for use with the qsub -A argument), and their balance. Machine lists all systems that can book jobs against your allocations. Carbon is currently the only machine that can do so. Balance is your account balance, in core-hours, as selected by the -h command option. This is the most useful and recommended unit. Without -h, you get core-seconds, which are integers but rather more unwieldy numbers.

  • The "user" project provides you with a small initial startup allocation of typically 1000 core-hours.
  • When a Balance is reported as negative, that account typically has a CreditLimit assigned, which permits the balance to dip below zero. These details, however, are not shown by mybalance.

Complete answer: gbalance

To get more details in cases with CreditLimits, run the more fully-featured gbalance command, and pass on your username:

gbalance -h -u $USER
Use the literal string $USER which makes the shell fill in your actual username.

The ouput looks like:

Id  Name     Amount     Reserved Balance    CreditLimit Available
--- -------- ---------- -------- ---------- ----------- --------- 
100 cnm31234 -148893.62     0.00 -148893.62   150000.00   1106.38
217 kpelzer      993.26     0.00     993.26        0.00    993.26 
123 cnm34567  166440.93  7680.00  158760.93        0.00 158760.93 

The units, given the -h option, are again core-hours. The most relevant column for you is Available.

Id
an internal number for the account.
Name
The project name (for use with the qsub -A argument).
Amount
Actual amount booked on the project account.
Reserved
Amounts held in reserve by all running jobs using this account. The reserve ensures that a job does not cause an overdraft when it finishes. The quantity is calculated by walltime * number of cores blocked. When a job terminates, the charge according to the actual time used will be subtracted from Amount, and the unused quantities will be re-added to Amount.
Balance
Available for new jobs; may go negative if CreditLimits are in place.
Balance = Amount - Reserved
CreditLimit
Amount by which Balance may go negative.
Available
Relevant quantity for new jobs. Must be positive for a new job to start, and large enough to Reserve the entire job.
Available = Balance + CreditLimit

To report a general problem

Send mail to [email protected].

When you get our response:

  • Carefully read it.
  • Follow all instructions. Do not skip steps.
  • Answer all questions. Do not ignore questions.
  • For account- and password-related issues, it may take several hours for changes to take effect. If your initial attempt fails, wait at least that long before retrying.

For deeper reading, consider the following: