Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Run matlab code on Derecho

jiamengl

Jiameng Lai
Member
Hello, I got a warning email saying that I am running computationally-intensive work on the interactive node (when it should be run on compute nodes instead).
I was attempting to run matlab code on Derecho, which caused this alert.

I am wondering how can I submit my matlab code to a compute node so that I can continue my computation?

Thanks!
 

katec

CSEG and Liaisons
Staff member
Hi! So computationally expensive work like compiling a large code base or running a large python or Matlab script should be done on the compute nodes instead of the login nodes. There are two ways to run a job on the compute nodes. One is to write a submission script and submit it to the queue. You can find info on submit scripts for Cheyenne here, and this applies to Derecho as well: Documentation | ARC NCAR

But probably the easiest thing to do is open an interactive session on a compute node. That makes your shell look like a login node, but you are executing on a compute node. Information on how to do that on Cheyenne (applicable for Derecho as well) is here: Documentation | ARC NCAR

If this advice doesn't work, then this may be a better question for CISL support, which you can find information for how to access here: HPC User Support | Computational and Information Systems Lab
 
Top