|
[Sponsors] |
April 2, 2018, 06:40 |
error: in parallel in SU2.
|
#1 |
New Member
lee
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
HELLO,ALL!
When performing parallel calculations in SU2, the following error occurs: $ parallel_computation.py -f inv_ONERAM6.cfg -n 4 Traceback (most recent call last): File "/usr/local/bin/parallel_computation.py", line 40, in <module> sys.path.append(os.environ['SU2_RUN']) File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__ raise KeyError(key) KeyError: 'SU2_RUN' |
|
April 6, 2018, 11:53 |
|
#2 | |
New Member
Join Date: Feb 2018
Posts: 4
Rep Power: 8 |
Hello,
Have you added the variable $SU2_RUN=/path/to/your/SU2/build/bin to your environment ? In the traceback, you can see that the error appears when parallel_computation.py asks for the entry 'SU2_RUN' in os.environ. That is a mapping of the environment variables that are available to Python when you run the script. The KeyError indicates that this entry is missing, i.e. the environment variable is not defined ! If you are not sure of the path you need to set it to, you should find it in the config.log file that was created in the directory where you configured SU2 (look for "Build Configuration Summary"). Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel execution of SU2 | marco.fossati | SU2 | 15 | June 13, 2024 17:39 |
Parallel Build for SU2 on Ubuntu | McAero | SU2 | 11 | October 28, 2018 18:53 |
Installing SU2 v5 for Parallel Computations | McAero | SU2 Installation | 4 | December 10, 2017 18:02 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |