FAQ

FAQ

Common recommendations (do's and don'ts)

  • DO's

    • Reach out to us at tsreseach@vcu.edu if you any questions. We're here to help.

    • Be mindful when submitting a large number of jobs requesting a large amount of resources. The cluster is a shared environment for all users.

    • Remove files once they're no longer needed, especially if there is a large number of files or files of very large size.

  • DON'TS

Common questions

Can I install a conda environment using anaconda3/miniconda3/miniforge3?

Yes. We recommend that you use the existing anaconda3/miniconda3/miniforge3 installations. Simply run "module load anaconda3/miniconda3/miniforge3" and then create/load an environment. We strongly discourage users to install their own anaconda3/miniconda3/miniforge3 on the home folder. Custom installations that modify the .bashrc are discouraged because they significantly slow down the user's experience on the cluster.

Do I need to copy any files from/to the login nodes and the compute nodes?

No. All nodes share the file system. Any files you copy on the login nodes (e.g. input files of a job) are automatically available on the compute nodes. Any files created on the compute nodes (e.g. output files of a job) are also available on the login nodes.

How can I share a folder/files with my collaborators?

Please reach out to tsresearch@vcu.edu and we can create a group with multiple users. Users in the group can share read/write permissions on common folders. This is an excellent option when users in a research lab share common and large datasets.

Why are Open OnDemand sessions limited to 7 days?

Open OnDemand is designed for interactive jobs where users actively use software and visualize data in common applications with Graphical User Interfaces such as Jupyter Notebooks, RStudio, etc. Open OnDemand is NOT intended for long runs on large data. Should you need to run any code for 7+ days then use the sbatch option to submit a job to the cluster. It is important to close Open OnDemand sessions when you finish your interactive session, so resources can be released and used by other users.

Can I buy my own nodes from a research grant?

Yes. We're happy to integrate compute nodes that you purchase from a research grant. Please reach out to tsresearch@vcu.edu and we can assist you with recommendations for purchasing the equipment. We can integrate the nodes in the cluster and personalize a partition for your research lab.

Why is my job queued and not running?

A job requires an amount of resources (CPUs, memory, and optionally GPUs) to run on a compute node. If the resources needed to run the job are not currently available, the job will sit in the queue until there are enough resources to run. Please note that any job that requires a specific amount of number of CPUs, memory allocation, and optionally a number of GPUs (these parameters are provided on the sbatch script. srun command or Open OnDemand), that ALL must be simultaneously available on one compute node. There may be enough CPUs to run but not enough memory, or the other way around. Resources are not shared between compute nodes. The more resources requested for a job the more likely the job will need to sit in the queue.

To help researchers identify the largest job that can run immediately without queueing, we developed a tool named "nodestat" that users can call from the login node. It displays the capacity available on each of the compute nodes and provides a summary of the top 5 nodes with the most CPUs, memory, and GPUs available. In the example below, a user could run immediately a job requiring 59 CPUs and 35G of memory, alternatively, the option of 18 CPUs and 145G of memory would also run on the spot. Many times it is acceptable for the user to scale down the job requirements (particularly on the number of CPUs) as long as it ensures the job will run without delay.

nodestat Top 5 CPU nodes with the most CPUs free: NODE CPUs MEM (G) GPUs athena204 59/126 35/242 - athena207 59/126 35/242 - athena218 59/126 5/494 - athena219 55/126 31/494 - athena220 55/126 31/494 - Top 5 CPU nodes with the most memory free: NODE CPUs MEM (G) GPUs athena217 0/126 237/494 - athena302 4/126 147/998 - athena303 18/126 145/998 - athena151 2/30 130/180 - athena157 2/30 130/180 - Top 5 GPU nodes with the most GPUs free: NODE CPUs MEM (G) GPUs athena533 2/62 1974/2006 4/4 athena514 0/126 302/494 2/2 athena531 66/110 438/2006 1/8 athena532 58/62 1430/2006 1/4 athena502 25/30 14/242 0/2

How do I monitor my jobs?

You can use the ‘squeue' command as demonstrated here (replace ‘user' with your login) to see a listing of your running jobs:

squeue -u user JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 2069012 cpu print_sl user CG 0:01 1 athena203 2068932 cpu OOD_jupy user R 1:15:19 1 athena209 2068931 cpu OOD_rstu user R 1:16:47 1 athena208

How do I cancel a job?

Use the 'scancel <job ID>’ command to kill off a job that you no longer want to run. The following will end the job shown for the user in the above example, with job ID 2068932:

scancel 2068932

You can enter multiple Job IDs to kill off numerous jobs at once if needed.

Common errors

srun: error: Unable to allocate resources: Requested node configuration is not available

This error means that the resources requested to run the job are not available. Please check that the number of CPUs (--cpus-per-task), memory (--mem), nodes (--nodes), and GPUs (--gres gpu) are within the specifications. Please review the hardware specifications of each node and consider the following:

  • The maximum number of CPUs on any node is equal to the number of cores minus two (reserved for the operating system). The effective maximum number of CPUs for any node on athena is 126. If your job has --cpus-per-task > 126 it won't ever run.

  • The maximum memory on any node is equal to the RAM size minus 8 GB (reserved for the operating system). The maximum memory available per node is 117G, 242G, 494G for 128GB, 256GB and 512GB nodes, respectively.

  • The number of GPUs vary per partition (e.g. gpu-v100 has 2 GPUs per node, gpu-a100 has 4 GPUs per node). You may not request a number of GPUs larger than the number of GPUs available in one node. You may not request GPUs in any of the CPU partitions.

More information

There is much more information here about the Athena cluster. There are also many Wiki entries that take a much deeper look at things that may interest you.

Most commands that you use will have extensive documentation installed on the machine you’re using in the form of man or info pages. For example, a humorous way to get more information about these two commands is to enter the following at the command prompt:

man man info info

The Internet has an extraordinary amount of information about Linux commands, there are many forums, blogs, FAQs, and documentations for specific software maintained by developers. Most communities connected to these are cheerful and very willing to help newcomers.

Don’t forget to check with your peers; they may have already experienced many of the things that you would like to know more about, and help you to get along with your work at a much faster pace.

And always remember, the folks in the HPRC are here to help and we will try our best to answer questions and help to resolve problems. Good luck with your work!

Back to the top.

Acknowledgement

If you benefit from HPRC resources, please consider adding the following acknowledgement to papers. 

"High Performance Computing resources provided by the High Performance Research Computing (HPRC) core facility at Virginia Commonwealth University (https://hprc.vcu.edu ) were used for conducting the research reported in this work."