# Software and Programming

**URL:** https://hpc-discourse.usc.edu/c/software-and-programming/21.md

[Latest](https://hpc-discourse.usc.edu/latest.md) · [Categories](https://hpc-discourse.usc.edu/categories.md)

---

## [About the Software and Programming category](https://hpc-discourse.usc.edu/t/about-the-software-and-programming-category/72)

<div class="topic-metadata">

**Author:** [@ya\_413](https://hpc-discourse.usc.edu/u/ya_413)\
**Replies:** 0\
**Last updated:** [July 21, 2020, 9:32pm UTC](https://hpc-discourse.usc.edu/t/about-the-software-and-programming-category/72 "2020-07-21T21:32:38Z")

</div>

The Software and Programming category is a place to discuss different programming languages (Python, R, MATLAB, etc.) and using them on CARC systems, the different software available to you, and navigating the Lmod softw…

---

## [How to resolve 'libRblas.so: No such file or directory' during package installation?](https://hpc-discourse.usc.edu/t/how-to-resolve-librblas-so-no-such-file-or-directory-during-package-installation/1156)

<div class="topic-metadata">

**Author:** [@dandanpe](https://hpc-discourse.usc.edu/u/dandanpe)\
**Replies:** 0\
**Last updated:** [February 28, 2025, 9:33pm UTC](https://hpc-discourse.usc.edu/t/how-to-resolve-librblas-so-no-such-file-or-directory-during-package-installation/1156 "2025-02-28T21:33:27Z")

</div>

When I try to install packages “diversitree”, “bayou”, etc, I always get error shows: libRblas.so: cannot open shared object file: No such file or directory or libRlapack.so: cannot open shared object file: No such fi…

---

## [Intel compiler for centOS 8](https://hpc-discourse.usc.edu/t/intel-compiler-for-centos-8/1143)

<div class="topic-metadata">

**Author:** [@bipengwa](https://hpc-discourse.usc.edu/u/bipengwa)\
**Replies:** 0\
**Last updated:** [January 26, 2025, 7:59am UTC](https://hpc-discourse.usc.edu/t/intel-compiler-for-centos-8/1143 "2025-01-26T07:59:15Z")

</div>

Will intel compiler suite be installed for centOS 8?

---

## [Error Loading tmux (both 3.3a and 3.0a) - nil hostname?](https://hpc-discourse.usc.edu/t/error-loading-tmux-both-3-3a-and-3-0a-nil-hostname/996)

<div class="topic-metadata">

**Author:** [@nuanwen](https://hpc-discourse.usc.edu/u/nuanwen)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 11:36pm UTC](https://hpc-discourse.usc.edu/t/error-loading-tmux-both-3-3a-and-3-0a-nil-hostname/996 "2024-08-28T23:36:51Z")

</div>

Hi, can I get some pointers on how to get tmux working again? Both versions cannot get this local “hostname” variable right. Thank you. \[nuanwen@discovery2 ~\]$ module list No modules loaded \[nuanwen@discovery2 ~\]$ modu…

---

## [FFTW does not linking when using CMake](https://hpc-discourse.usc.edu/t/fftw-does-not-linking-when-using-cmake/993)

<div class="topic-metadata">

**Author:** [@razakh](https://hpc-discourse.usc.edu/u/razakh)\
**Replies:** 1\
**Last updated:** [August 26, 2024, 10:53pm UTC](https://hpc-discourse.usc.edu/t/fftw-does-not-linking-when-using-cmake/993 "2024-08-26T22:53:17Z")

</div>

There seems to be a missing file named FFTW3LibraryDepends.cmake in the directory where the current FFTW currently build is, or I might be linking wrong Error Message CMake Error at /spack/2206/apps/linux-centos7-x86\_6…

---

## [Command is present in my directory, but running it gives error: Command not Found](https://hpc-discourse.usc.edu/t/command-is-present-in-my-directory-but-running-it-gives-error-command-not-found/985)

<div class="topic-metadata">

**Author:** [@prajwalg](https://hpc-discourse.usc.edu/u/prajwalg)\
**Replies:** 2\
**Last updated:** [August 3, 2024, 12:14am UTC](https://hpc-discourse.usc.edu/t/command-is-present-in-my-directory-but-running-it-gives-error-command-not-found/985 "2024-08-03T00:14:23Z")

</div>

Hello, I am working on the linux terminal for a software called FreeSurfer: FS7\_linux - Free Surfer Wiki I have installed it in my project directory and it is installed correctly. Now there are some commands of this s…

---

## [Need help with changing terminal to csh for linux](https://hpc-discourse.usc.edu/t/need-help-with-changing-terminal-to-csh-for-linux/981)

<div class="topic-metadata">

**Author:** [@prajwalg](https://hpc-discourse.usc.edu/u/prajwalg)\
**Replies:** 3\
**Last updated:** [July 30, 2024, 6:12pm UTC](https://hpc-discourse.usc.edu/t/need-help-with-changing-terminal-to-csh-for-linux/981 "2024-07-30T18:12:11Z")

</div>

Hello, I am working with a software called FreeSurfer: FreeSurferWiki - Free Surfer Wiki I have successfully installed it on the repository, but am unable to run some of its commands. From what I understood, the linux …

---

## [Nvidia-smi returns nothing](https://hpc-discourse.usc.edu/t/nvidia-smi-returns-nothing/972)

<div class="topic-metadata">

**Author:** [@manna](https://hpc-discourse.usc.edu/u/manna)\
**Replies:** 4\
**Last updated:** [July 23, 2024, 11:30pm UTC](https://hpc-discourse.usc.edu/t/nvidia-smi-returns-nothing/972 "2024-07-23T23:30:28Z")

</div>

nvidia-smi returns nothing in our Condo GPU nodes under part qcbgpu. What am I missing ? manna@b23-15(~) (0)\> nvidia-smi No devices were found manna@b23-15(~) (6)\> which nvidia-smi /usr/bin/nvidia-smi manna@b23-1…

---

## [Cupy failed to load libnvrtc.so.12](https://hpc-discourse.usc.edu/t/cupy-failed-to-load-libnvrtc-so-12/970)

<div class="topic-metadata">

**Author:** [@sidqian](https://hpc-discourse.usc.edu/u/sidqian)\
**Replies:** 2\
**Last updated:** [July 21, 2024, 11:31pm UTC](https://hpc-discourse.usc.edu/t/cupy-failed-to-load-libnvrtc-so-12/970 "2024-07-21T23:31:23Z")

</div>

Hi, I am a new user to carc, I am trying to import cupy in one of my python files but it seems to giving me RuntimeError: CuPy failed to load libnvrtc.so.12: OSError: libnvrtc.so.12: cannot open shared object file: No s…

---

## [Cellranger v8 for GEM-X chemistry](https://hpc-discourse.usc.edu/t/cellranger-v8-for-gem-x-chemistry/962)

<div class="topic-metadata">

**Author:** [@stachele](https://hpc-discourse.usc.edu/u/stachele)\
**Replies:** 2\
**Last updated:** [July 14, 2024, 7:55pm UTC](https://hpc-discourse.usc.edu/t/cellranger-v8-for-gem-x-chemistry/962 "2024-07-14T19:55:28Z")

</div>

Hello I’d like to use cellranger v8 for the new GEM-X chemistry from 10x genomics. Can we install in lmod? Thanks,

---

## [Gurobi License on Cluster Nodes](https://hpc-discourse.usc.edu/t/gurobi-license-on-cluster-nodes/960)

<div class="topic-metadata">

**Author:** [@paolieri](https://hpc-discourse.usc.edu/u/paolieri)\
**Replies:** 6\
**Last updated:** [June 20, 2024, 8:27pm UTC](https://hpc-discourse.usc.edu/t/gurobi-license-on-cluster-nodes/960 "2024-06-20T20:27:18Z")

</div>

Is there a cluster-wide Gurobi academic site license for CARC, or should I provide my own Named-User license? The latter would be an issue, since it allows only one machine and I had many jobs I hoped to run in parallel…

---

## [Jupyter Notebook on VSCode](https://hpc-discourse.usc.edu/t/jupyter-notebook-on-vscode/947)

<div class="topic-metadata">

**Author:** [@serbetci](https://hpc-discourse.usc.edu/u/serbetci)\
**Replies:** 3\
**Last updated:** [May 11, 2024, 12:07am UTC](https://hpc-discourse.usc.edu/t/jupyter-notebook-on-vscode/947 "2024-05-11T00:07:31Z")

</div>

I allocate resources from the cluster, but I can’t run jupyter notebook on local machine VSCode. It gives me ipykernel not existing error. How do I use jupyter notebooks on my local machine while using cluster resources? …

---

## [Can't install package 'DiffBind'](https://hpc-discourse.usc.edu/t/cant-install-package-diffbind/227)

<div class="topic-metadata">

**Author:** [@arijitas](https://hpc-discourse.usc.edu/u/arijitas)\
**Replies:** 13\
**Last updated:** [May 9, 2024, 7:35pm UTC](https://hpc-discourse.usc.edu/t/cant-install-package-diffbind/227 "2024-05-09T19:35:53Z")

</div>

Hi, I am trying to install DiffBind (https://bioconductor.org/packages/release/bioc/html/DiffBind.html) using R 4.0. But I am getting several errors: ERROR: lazy loading failed for package ‘DOT’ No package ‘librsvg-2.…

---

## [Is an OpenGL Simulation Possible?](https://hpc-discourse.usc.edu/t/is-an-opengl-simulation-possible/933)

<div class="topic-metadata">

**Author:** [@bricebro](https://hpc-discourse.usc.edu/u/bricebro)\
**Replies:** 5\
**Last updated:** [April 28, 2024, 5:53pm UTC](https://hpc-discourse.usc.edu/t/is-an-opengl-simulation-possible/933 "2024-04-28T17:53:29Z")

</div>

We are currently working on a project for one of our classes to parallelize boids with CUDA on NVIDIA GPUs. We were wondering if it was possible to run a visual simulation for a couple seconds using OpenGL? I noticed rea…

---

## [Python Environment Management](https://hpc-discourse.usc.edu/t/python-environment-management/901)

<div class="topic-metadata">

**Author:** [@renslo](https://hpc-discourse.usc.edu/u/renslo)\
**Replies:** 1\
**Last updated:** [February 21, 2024, 11:28pm UTC](https://hpc-discourse.usc.edu/t/python-environment-management/901 "2024-02-21T23:28:09Z")

</div>

Hello CARC folks, I’m wondering if people have recommendations about managing python environments and packages on the cluster. I’d like to use poetry but am considering conda and virtualenv as well. My use case involves…

---

## [Fail to load libgfortran.so.3](https://hpc-discourse.usc.edu/t/fail-to-load-libgfortran-so-3/531)

<div class="topic-metadata">

**Author:** [@xiaofenm](https://hpc-discourse.usc.edu/u/xiaofenm)\
**Replies:** 7\
**Last updated:** [February 14, 2024, 2:03am UTC](https://hpc-discourse.usc.edu/t/fail-to-load-libgfortran-so-3/531 "2024-02-14T02:03:37Z")

</div>

Hello! I was trying to run a script on discovery and encounter the following error: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory Is libgfortran.so.3…

---

## [Angsd mamba package not working](https://hpc-discourse.usc.edu/t/angsd-mamba-package-not-working/866)

<div class="topic-metadata">

**Author:** [@nvillafr](https://hpc-discourse.usc.edu/u/nvillafr)\
**Replies:** 3\
**Last updated:** [November 28, 2023, 6:46pm UTC](https://hpc-discourse.usc.edu/t/angsd-mamba-package-not-working/866 "2023-11-28T18:46:10Z")

</div>

I’m trying to use angsd after downloading it in my biotools mamba environments. mamba activate biotools conda install -c bioconda angsd when i mamba list it shows it as part of my package. the error message i’m get…

---

## [Cannot import user-made python package within certain folders?](https://hpc-discourse.usc.edu/t/cannot-import-user-made-python-package-within-certain-folders/849)

<div class="topic-metadata">

**Author:** [@kmpardo](https://hpc-discourse.usc.edu/u/kmpardo)\
**Replies:** 3\
**Last updated:** [November 9, 2023, 12:32am UTC](https://hpc-discourse.usc.edu/t/cannot-import-user-made-python-package-within-certain-folders/849 "2023-11-09T00:32:23Z")

</div>

Hi, I’ve been having a weird issue regarding a python package I am developing. I have installed the package using “python setup.py develop --prefix=PROJECT\_FOLDER” on the Discovery cluster. When I open a python terminal …

---

## [Has anyone installed Alphafold2?](https://hpc-discourse.usc.edu/t/has-anyone-installed-alphafold2/580)

<div class="topic-metadata">

**Author:** [@methornt](https://hpc-discourse.usc.edu/u/methornt)\
**Replies:** 2\
**Last updated:** [November 1, 2023, 5:45am UTC](https://hpc-discourse.usc.edu/t/has-anyone-installed-alphafold2/580 "2023-11-01T05:45:45Z")

</div>

Hello! I was wondering if anyone has installed Google Deepmind Alphafold 2 on CARC? I think it would run well. I know there are some structural biologist and we have some sequences to run. It has some large storage r…

---

## [SSH FS and VS Code](https://hpc-discourse.usc.edu/t/ssh-fs-and-vs-code/821)

<div class="topic-metadata">

**Author:** [@zjhennin](https://hpc-discourse.usc.edu/u/zjhennin)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 5:47pm UTC](https://hpc-discourse.usc.edu/t/ssh-fs-and-vs-code/821 "2023-09-07T17:47:42Z")

</div>

Hey all, I am trying to make it so when I add a folder to my VS workspace. Essentially when I add the folder to my workspace it is at the root ‘cd …’ and I’d like it to add directly / open directly to my groups folder i…

---

## [Cuda driver version does not match cuda toolkit (nvcc)](https://hpc-discourse.usc.edu/t/cuda-driver-version-does-not-match-cuda-toolkit-nvcc/812)

<div class="topic-metadata">

**Author:** [@jianzhiy](https://hpc-discourse.usc.edu/u/jianzhiy)\
**Replies:** 0\
**Last updated:** [September 1, 2023, 1:07am UTC](https://hpc-discourse.usc.edu/t/cuda-driver-version-does-not-match-cuda-toolkit-nvcc/812 "2023-09-01T01:07:29Z")

</div>

Hi! I’m trying to use cuda with PyTorch. The cuda driver version does not match the cuda toolkit. I can change the toolkit version to whichever I like, but I cannot change the driver version to the lastest one: Driver …

---

## [Use of mictools](https://hpc-discourse.usc.edu/t/use-of-mictools/810)

<div class="topic-metadata">

**Author:** [@nathanwi](https://hpc-discourse.usc.edu/u/nathanwi)\
**Replies:** 0\
**Last updated:** [August 31, 2023, 10:55pm UTC](https://hpc-discourse.usc.edu/t/use-of-mictools/810 "2023-08-31T22:55:24Z")

</div>

Hi, I am using the program mictools, a correlation analysis program: GitHub - minepy/mictools: A practical tool for Maximal Information Coefficient (MIC) analysis I am pretty sure it is installed properly, as I can run…

---

## [Display on CARC Servers](https://hpc-discourse.usc.edu/t/display-on-carc-servers/809)

<div class="topic-metadata">

**Author:** [@pjaishan](https://hpc-discourse.usc.edu/u/pjaishan)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 10:32pm UTC](https://hpc-discourse.usc.edu/t/display-on-carc-servers/809 "2023-08-30T22:32:18Z")

</div>

I am using an R package on RStudio, which uses a Java package to create plots. However, this program requires a display to create the plots (I get a “java.awt.HeadlessException” when I run it in RStudio). Are there any C…

---

## [Devtools in R Installation](https://hpc-discourse.usc.edu/t/devtools-in-r-installation/805)

<div class="topic-metadata">

**Author:** [@nathanwi](https://hpc-discourse.usc.edu/u/nathanwi)\
**Replies:** 3\
**Last updated:** [August 25, 2023, 11:27pm UTC](https://hpc-discourse.usc.edu/t/devtools-in-r-installation/805 "2023-08-25T23:27:27Z")

</div>

Hi, So I am recently trying to instal ‘devtools’ in R to access an old package from cran which is no longer updated. I get an error saying: Configuration failed because libxml-2.0 was not found. Try installing: \* deb:…

---

## [libXext.so.6 Java package error on RStudio](https://hpc-discourse.usc.edu/t/libxext-so-6-java-package-error-on-rstudio/792)

<div class="topic-metadata">

**Author:** [@pjaishan](https://hpc-discourse.usc.edu/u/pjaishan)\
**Replies:** 4\
**Last updated:** [July 26, 2023, 5:58pm UTC](https://hpc-discourse.usc.edu/t/libxext-so-6-java-package-error-on-rstudio/792 "2023-07-26T17:58:32Z")

</div>

I am running a R package that includes Java code, and I am getting the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: /spack/2206/apps/linux-centos7-x86\_64\_v3/gcc-11.3.0/openjdk-11.0.15\_10-6…

---

## [RStudio Abnormally Terminated error](https://hpc-discourse.usc.edu/t/rstudio-abnormally-terminated-error/790)

<div class="topic-metadata">

**Author:** [@pjaishan](https://hpc-discourse.usc.edu/u/pjaishan)\
**Replies:** 1\
**Last updated:** [July 13, 2023, 10:28pm UTC](https://hpc-discourse.usc.edu/t/rstudio-abnormally-terminated-error/790 "2023-07-13T22:28:07Z")

</div>

Whenever I run a specific line of my code, I get the error “The previous R session was abnormally terminated due to an unexpected crash.” I have tried this on servers with increasing memory, so that doesn’t seem to be th…

---

## [Possible to use Quarto?](https://hpc-discourse.usc.edu/t/possible-to-use-quarto/788)

<div class="topic-metadata">

**Author:** [@rb\_913](https://hpc-discourse.usc.edu/u/rb_913)\
**Replies:** 2\
**Last updated:** [July 13, 2023, 10:23pm UTC](https://hpc-discourse.usc.edu/t/possible-to-use-quarto/788 "2023-07-13T22:23:50Z")

</div>

Hi! I’m enjoying using Quarto (elsewhere) as a modest improvement on R Markdown documents. One of the upsides of Quarto is that it is not R-dependent. The downside is that it is not an R package. Is it available in a mod…

---

## [Trouble installing modules via pip](https://hpc-discourse.usc.edu/t/trouble-installing-modules-via-pip/784)

<div class="topic-metadata">

**Author:** [@ohenshaw](https://hpc-discourse.usc.edu/u/ohenshaw)\
**Replies:** 2\
**Last updated:** [July 7, 2023, 12:48am UTC](https://hpc-discourse.usc.edu/t/trouble-installing-modules-via-pip/784 "2023-07-07T00:48:10Z")

</div>

Hi all! I am trying to install MACS2 software for ChIP-seq peakcalling using the following command: pip install macs2 --user It keeps booting me out with a “Getting requirements to build wheel did not run successfully…

---

## [How to check GPU usage and memory](https://hpc-discourse.usc.edu/t/how-to-check-gpu-usage-and-memory/762)

<div class="topic-metadata">

**Author:** [@ZhangyuJin](https://hpc-discourse.usc.edu/u/ZhangyuJin)\
**Replies:** 2\
**Last updated:** [May 16, 2023, 4:37am UTC](https://hpc-discourse.usc.edu/t/how-to-check-gpu-usage-and-memory/762 "2023-05-16T04:37:34Z")

</div>

I can monitor the CPU usage and CPU memory under Grafana. For example, CPU usage: Grafana CPU memory: Grafana So how can I check GPU usage and GPU memory in a similar way?

---

## [Installing python modules](https://hpc-discourse.usc.edu/t/installing-python-modules/759)

<div class="topic-metadata">

**Author:** [@luisalbe](https://hpc-discourse.usc.edu/u/luisalbe)\
**Replies:** 1\
**Last updated:** [April 28, 2023, 5:45pm UTC](https://hpc-discourse.usc.edu/t/installing-python-modules/759 "2023-04-28T17:45:29Z")

</div>

Hi, I am trying to use numpy, obspy, and matplotlib in python. However, when I first tried to import them, I got a message saying that the modules had not been found. I installed them with the following commands: pytho…

[Next page](https://hpc-discourse.usc.edu/c/software-and-programming/21.md?page=1)
