|
[Sponsors] |
August 2, 2022, 08:57 |
MPI Start Errors
|
#1 |
Member
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4 |
Hello everybody,
I am trying the Inviscid Onera M6 tutorial with parallel computing but I encounter with the erros below: Code:
parallel_computation.py -f inv_ONERAM6.cfg -n 3 NP Traceback (most recent call last): File "/usr/local/bin/parallel_computation.py", line 30, in <module> sys.path.append(os.environ['SU2_RUN']) File "/usr/lib/python3.9/os.py", line 679, in __getitem__ raise KeyError(key) from None KeyError: 'SU2_RUN' Anyone knows why is this happening and how can I solve this? |
|
August 3, 2022, 08:47 |
|
#2 |
Member
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8 |
Your shell does not know about the environmental variable SU2_RUN which contains the path to your SU2 binaries. In case you compile code yourself: when running meson it will give you the commands to execute in your shell to set the environmental variable
Otherwise just type in your shell (at least in linux) export SU2_RUN="/path/to/your/SU2-binaries-folder" |
|
August 8, 2022, 11:15 |
|
#3 | |
Member
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4 |
Quote:
Dear Tkatt, Thanks for your reply and I am sorry for the delay in answering. I tried what you said. More problems occurred Code:
parallel_computation.py -f inv_ONERAM6.cfg -n 3 NP 3 total processes failed to start Traceback (most recent call last): File "/usr/local/bin/parallel_computation.py", line 110, in <module> main() File "/usr/local/bin/parallel_computation.py", line 55, in main parallel_computation( options.filename , File "/usr/local/bin/parallel_computation.py", line 88, in parallel_computation info = SU2.run.CFD(config) File "/usr/local/bin/SU2/run/interface.py", line 112, in CFD run_command( the_Command ) File "/usr/local/bin/SU2/run/interface.py", line 270, in run_command raise exception(message) RuntimeError: Path = /home/ercan/SU2-NEMO/SU2/Inviscid_ONERAM6/, Command = mpirun -n 3 /path/to/your/SU2-binaries-folder/SU2_CFD config_CFD.cfg SU2 process returned error '132' -------------------------------------------------------------------------- mpirun was unable to launch the specified application as it could not access or execute an executable: Executable: /path/to/your/SU2-binaries-folder/SU2_CFD Node: ercanumut while attempting to start process rank 0. -------------------------------------------------------------------------- |
||
August 8, 2022, 11:33 |
|
#4 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
You should of course replace /path/to/your/SU2-binaries-folder with the actual location of your SU2 binaries. When you run meson, meson will give this information to you on the screen. Do you run meson and ninja on a command line from a console?
|
|
August 8, 2022, 13:38 |
|
#5 | |
Member
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4 |
Quote:
Oh sorry about that, I didn't realize it while I was rushing out from work . I did that way and it worked. Thank you for your help |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
p_rgh initial residual no change with different settings | manuc | OpenFOAM Running, Solving & CFD | 3 | June 26, 2018 16:53 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 23:40 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |