Frequent Asked Questions (FAQ)
General
How could I know the computing environment (including the library, compiler, etc.) of DiCOS ?
If you are using slurm_ui, the software stacks are maintained with the environment-modules software. Please follow this link for the instruction.
Please contact us by e-mail (DiCOS-Support@twgrid.org) or fill the form in this link for any required system software.
How to use the Command Line Interface in DiCOS?
Login to dicos-ui05.grid.sinica.edu.tw by using the account/password used in the DiCOS Web User Interface.
When I login in dicos-ui04.grid.sinica.edu.tw, I got port:22 connection denial. Why?
It’s most likely that you are banned due to multiple login failures with your IP address. Please wait for 2 to 3 hours then try again. Or use other machines to login. If your forget your password, please use this link to reset your password.
DiCOS Job System
When I use dicos ddm download command, it failed with the following messages: [2022-04-12 03:35:31,188 ERROR] Failed to download. What happened?
There should be something wrong with our DDM subsystem. You can use dicos ddm ping to check if it returns: Ping Rucio OK ! message. If not, please contact to DiCOS-Support@twgrid.org to report the issue. Thank you.
Slurm
How do I know the current usage/vacancy of specific machine of slurm?
For example, we could use the following command to get the status of hp-teslav01:
sinfo --format="%10n %.14C %.10T" -n hp-teslav01
How could I use python3? What should I do if I would like to install some python packages from pip?
In our user interface (UI) and worker nodes, we have CVMFS file system mounted as the software repository. You could initialize anaconda3 (python3) with the following command before you start using python3 (in the UIs and in the worker nodes):
source /cvmfs/cvmfs.grid.sinica.edu.tw/twgrid/anaconda3/setup.sh
Then you will have anaconda3 python3 available (python 3.8.5). You could include this line in the very beginning of the script. The numpy package is by default included in the anaconda3 bundle.
If you are going to install some customized packages, we recommend you to installed it in your home directory. For example:
pip3 install bilby --user
pip3 install gwpy --user
Then you will have these packages available in your home directory. But if you are using dicos submit, then we will need to install the missing packages for you. Please contact to DiCOS-Support@twgrid.org for help.
I encounter an error when I compile my CUDA code on slurm-ui01. The error message is cannot open source file “cuda_runtime_api.h”. Could you help me solve this problem?
The login node (slurm-ui01) doesn’t have GPU resources, and hence don’t have cuda library installed. So you could not build your cuda apps in slurm-ui01. We recommend you to use the DiCOSApp that have GPU resource support, for example: Jupyter Lab GPU 1080ti, to build your cuda apps.
Please use the terminal in jupyterlab and check CUDA_PATH environment variable is set to: /usr/local/cuda to build your applications.
How to use nvcc in slurm? Could you give me some instructions?
There are V100 and A100 GPU resources available in slurm QDR4. If you are going to use nvcc, after login in slurm-ui01, please load the corresponding module as follows:
module load nvhpc_sdk/20.11
Then nvcc and cuda-gdb, and pgcc (openacc compatible compiler) will be available for your usage. And if you are going to run your cuda/openacc enabled code, you need to submit your job to “v100” or “a100” partitions of slurm, e.g.
srun -p a100 --gres=gpu:2 ./my_cuda_executable my_arg1 my_arg2
DiCOSApp
How to get a CryoSPARC™ license?
CryoSPARC™ and cryoSPARC Live™ are available free of charge for non-profit academic use. Please go to https://cryosparc.com/download to apply your own CryoSPARC™ license and then import it when you launch CryoSPARC™ application.