CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: clapointe
Forum: OpenFOAM Running, Solving & CFD July 19, 2019, 18:01
Replies: 26
Views: 13,399
Posted By clapointe
Ah, so the point is that you were running them...

Ah, so the point is that you were running them sequentially, but want to farm them out as individual jobs? You want to look into slurm job arrays. I don't have any scripts handy, but someone else...
Forum: OpenFOAM Running, Solving & CFD July 17, 2019, 12:48
Replies: 26
Views: 13,399
Posted By clapointe
If they are to be run sequentially, then you can...

If they are to be run sequentially, then you can combine them to form one (long) script. Or write a script that calls the others. In pseudo code :



slurm stuff here

load modules

source...
Forum: OpenFOAM Running, Solving & CFD May 29, 2019, 09:09
Replies: 26
Views: 13,399
Posted By clapointe
Fair warning -- I have not used slurm in a long...

Fair warning -- I have not used slurm in a long while. That said, I have two immediate thoughts : are you sure the job is running (not just submitted and in the queue), and unless you have already...
Forum: OpenFOAM Running, Solving & CFD July 13, 2017, 18:44
Replies: 26
Views: 13,399
Posted By clapointe
I tested the previous series of commands and was...

I tested the previous series of commands and was successful in submitting the job/getting the resources and running openFoam in parallel. The "--pty bash" is intentional, giving you the opportunity...
Forum: OpenFOAM Running, Solving & CFD July 13, 2017, 13:12
Replies: 26
Views: 13,399
Posted By clapointe
srun automatically allocates the resources. If...

srun automatically allocates the resources. If you want to work via an interactive job, use this command:

srun -N <insert number of nodes here> --ntasks-per-node=<insert number of cores here>...
Forum: OpenFOAM Running, Solving & CFD July 13, 2017, 12:02
Replies: 26
Views: 13,399
Posted By clapointe
I think I've used srun for interactive jobs...

I think I've used srun for interactive jobs before -- it's a way to ask for resources so that you can then run commands yourself.

Submitting a job on a slurm-managed cluster, though, requires a...
Forum: OpenFOAM Running, Solving & CFD February 8, 2017, 13:03
Replies: 26
Views: 13,399
Posted By clapointe
Sure, it's included below. You might have...

Sure, it's included below. You might have different protocol for loading the openfoam environment, though.

#!/bin/bash

##########################
# Set up submit to ...
#SBATCH -J Test...
Forum: OpenFOAM Running, Solving & CFD February 8, 2017, 12:47
Replies: 26
Views: 13,399
Posted By clapointe
Hi Bashar, I copied the snippet included...

Hi Bashar,

I copied the snippet included below from one of my job submission scripts. You can change requested time, nodes, and cores (depending on the cluster) by editing the --time, -N, and...
Showing results 1 to 8 of 8

 
Forum Jump

All times are GMT -4. The time now is 02:17.