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

MPI Start Errors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2022, 08:57
Default MPI Start Errors
  #1
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4
CleverBoy is on a distinguished road
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?
CleverBoy is offline   Reply With Quote

Old   August 3, 2022, 08:47
Default
  #2
Member
 
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8
TKatt is on a distinguished road
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"
TKatt is offline   Reply With Quote

Old   August 8, 2022, 11:15
Default
  #3
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4
CleverBoy is on a distinguished road
Quote:
Originally Posted by TKatt View Post
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"

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.
--------------------------------------------------------------------------
CleverBoy is offline   Reply With Quote

Old   August 8, 2022, 11:33
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
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?
bigfootedrockmidget is offline   Reply With Quote

Old   August 8, 2022, 13:38
Default
  #5
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4
CleverBoy is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
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?

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
CleverBoy is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 07:38.