|
[Sponsors] |
April 18, 2019, 09:17 |
Error when running through Slurm
|
#1 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi all,
I'm using OpenFOAM-5.x on a Scientific Linux cluster. Everything works fine, I can run simulations no problem, but when I try running a job through Slurm, I get this error: Code:
/opt/OpenFOAM/OpenFOAM-5.x/etc/config.sh/bash_completion: line 6658: `_rm~all_': not a valid identifier Many thanks! Sita P.S. For now I've removed the _rm~all_ bit from bash_completion, which rids me of the error, but I'm not sure whether this will get me into trouble at some later point Last edited by sita; April 18, 2019 at 10:13. Reason: Added a P.S. |
|
April 25, 2019, 08:43 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: It looks like your OpenFOAM 5.x installation isn't based on the most recent commits, because the bug report you mentioned is implying that it was fixed in this commit: https://github.com/OpenFOAM/OpenFOAM...a32d2a2deca208 - in which, yes, the "rm~all" script was simply removed, along with the associated auto-completion entry.
__________________
|
|
April 25, 2019, 12:49 |
|
#3 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Thanks! To be honest, I don't know what commit that OpenFOAM-5.x install was based on, as I didn't install that one myself. But it looks like I can safely do without this script, great.
|
|
April 25, 2019, 14:55 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
The help argument with any OpenFOAM application should give the build with version and commit that was used to build things, e.g.:
Code:
blockMesh -help | grep Build Code:
Build: 5.x-68e8507efb72 Code:
Build: 5.x Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 5.x-68e8507efb72 Exec : blockMesh Date : Apr 25 2019 Time : 18:55:30 |
|
April 25, 2019, 15:51 |
|
#5 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Cool, never really noticed that before, I'll give it a try.
Thanks! Sita |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulation just stops output writing, but keeps running | blaise | OpenFOAM Running, Solving & CFD | 6 | March 27, 2024 05:49 |
Error problem while running sadia d lts tutorial | kane | OpenFOAM Running, Solving & CFD | 2 | May 26, 2018 04:38 |
Error Running Design of Experiments in ANSYS Fluent | tytrzecki | FLUENT | 0 | April 22, 2018 16:01 |
Problem in running coarse mesh(on the other hand fine mesh is running) | ashokmoravaneni | OpenFOAM | 7 | July 17, 2017 05:56 |
parallel running openFoam-1.5-dev | lulo | OpenFOAM | 3 | October 3, 2011 12:42 |