
- #Seismosignal student version how to#
- #Seismosignal student version driver#
- #Seismosignal student version software#
- #Seismosignal student version license#
To start, add a line in your Matlab script to call OpenSeesMP (this is similar, but not exactly the same, to how you would call the executable if you were you running OpenSeesMP/SP on your desktop): Next, let’s use Matlab to run an OpenSees script.
#Seismosignal student version driver#
Running OpenSees on JANUS using Matlab as a driver You can find an overview about these interactive versions of Matlab on JANUS by Research Computing CU Boulder here, but I have yet to explore these gui options myself.
#Seismosignal student version license#
Hooray! You are using Matlab on the supercomputer! (JANUS will also have output a bunch of other lines describing the Matlab environment and Matlab license below your script, but you can ignore that information).įootnote: It is possible to run an interactive gui version of Matlab on JANUS using the “salloc” or “sinteractive” commands. out file to your desktop (I used Globus to do this). We are ready to send this job to janus-debug!īuild the run environment by loading all of the modules (ml impi, ml slurm, etc.) and make sure to include ml matlab. All you need is the name of the file:Įnter Ctrl x s and then Ctrl x c to save and close your.
m suffix when reading in your Matlab script.
#Seismosignal student version software#
Since you already loaded the Matlab module, just tell JANUS to open the Matlab software and then to read your.
#Seismosignal student version how to#
The difference now is in how to call Matlab. #SBATCH –mail-user= (your email address so far all the same as for running a. #SBATCH -o (name of job)-%j.out (The %j is the job number that will be assigned by JANUS) #SBATCH –account UCB00000 XXX (your allocation number) sh script (don’t forget that with the exception of the “-o ” for naming the job, there are TWO dashes – – before each command): Now follow the same steps Travis demonstrated in his blog posts to build your.
Before submitting your job to run, make sure that you have a copy of OpenSeesMP (or your preferred version of the software) in the same folder as your driver. When building your environment for the job (ml intel, etc.), enter ml matlab to load the Matlab module so that it is available for running this job. On the same note, make sure to use janus-debug instead of janus for doing any test runs or debugging of scripts, because this will run your job quickly. Specifying a shorter run time will help prioritize your job in the run queue among other users, because JANUS knows that you only need a couple of minutes for this test. The time format is hr : mn : sc and the time input is however long you estimate your job will take to finish running. For a debug test I only want to run a short script, so I’ve told JANUS I only expect this script to run for two minutes. Each node can run 12 tasks and it is strongly recommended to always optimize your computational efforts by specifying this maximum number of tasks per node. At the present time, the Research Computing administrators prefer that we run all JANUS analyses within this file path.Ī couple of additional notes on building your. To start your test on JANUS, log into the supercomputer and navigate your way into your personal folder on the /lustre/janus_scratch/ drive. m script from my computer into my /lustre/janus_scratch/YOURUSERNAME/ folder on JANUS. % Author: Sarah Welsh-Huggins, CU Boulder % This is a test file to try running Matlab files on the JANUS supercomputer system Here’s the MatlabTest.m script that I used: m script to test calling the program on JANUS. The best part about using Matlab on JANUS is that the Matlab software is already included on the JANUS platform, so you don’t have to compile it like for OpenSees. I will talk first about how to call Matlab on JANUS and then give an example of how to run OpenSeesMP through Matlab. Thanks, buddy! (You can find his aforementioned posts here and here).īut what about if you want to a) run a Matlab script on JANUS or b) use Matlab as a driver to run a program like OpenSeesMP?Ĭongratulations, you’ve found the right blog post. Thanks to Travis’ previous blog posts, we now know how to compile OpenSeesMP and OpenSeesSP on the JANUS and run.