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

Error while running 3rd tutorial Inviscid ONERA M6 in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2023, 02:06
Default Error while running 3rd tutorial Inviscid ONERA M6 in parallel
  #1
New Member
 
Mohsin
Join Date: Jul 2023
Posts: 21
Rep Power: 3
Mohsin1 is on a distinguished road
Hi im trying to run Inviscid ONERA M6 tutorial in parallel but after all iterations i get the following errors:
Error in "virtual void CBaselineOutput::SetVolumeOutputFields(CConfig*)":
-------------------------------------------------------------------------
No coordinates found in the restart file!!
------------------------------ Error Exit -------------------------------


Identify vertices.
Storing a mapping from global to local point index.

------------------------- Solution Postprocessing -----------------------
Reading and storing the solution from restart_flow.


Error in "virtual void CBaselineOutput::SetVolumeOutputFields(CConfig*)":
-------------------------------------------------------------------------
No coordinates found in the restart file!!
------------------------------ Error Exit -------------------------------


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 96, in parallel_computation
info = SU2.run.merge(config)
File "/usr/local/bin/SU2/run/merge.py", line 81, in merge
merge_solution(konfig)
File "/usr/local/bin/SU2/run/merge.py", line 107, in merge_solution
SU2_SOL( config )
File "/usr/local/bin/SU2/run/interface.py", line 207, in SOL
run_command( the_Command )
File "/usr/local/bin/SU2/run/interface.py", line 270, in run_command
raise exception(message)
SU2.EvaluationFailure: Path = /home/mohsin/Desktop/Inviscid_ONERAM6/,
Command = mpirun -n 8 /usr/local/bin/SU2_SOL config_SOL.cfg
SU2 process returned error '1'
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[6296,1],1]
Exit code: 1
--------------------------------------------------------------------------------------
I tried running the same tutorial using serial, and i did not get any error. But i want to run it in parallel. Can somebody help me? I am actually new to SU2 and i don't know much about it.

Also, how can i check if my su2 is build for parallel support?
Mohsin1 is offline   Reply With Quote

Old   November 24, 2023, 04:58
Default
  #2
New Member
 
Join Date: Aug 2023
Posts: 1
Rep Power: 0
liuxingyan is on a distinguished road
Hello, have you found the solution? I met the same problem
liuxingyan is offline   Reply With Quote

Old   November 24, 2023, 05:18
Default
  #3
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Does simply running mpirun directly work for you?



mpirun -n 4 SU2_CFD inv_ONERAM6.cfg
bigfootedrockmidget is offline   Reply With Quote

Old   November 25, 2023, 05:12
Default Yes i found the solution!! Follow these steps, may be it works for you.
  #4
New Member
 
Mohsin
Join Date: Jul 2023
Posts: 21
Rep Power: 3
Mohsin1 is on a distinguished road
Quote:
Originally Posted by liuxingyan View Post
Hello, have you found the solution? I met the same problem


1. I installed anaconda by using this command
Code:
wget https://repo.anaconda.com/archive/Anaconda3-2023.07-2-Linux-x86_64.sh
2. Then i downloaded SU2-7.5.1.
3. Then i ran following commands one by one:

Code:
conda install cmake
conda install pkg-config
conda install gxx_linux-64
pip install mpi4py 
pip install swig
./meson.py build -Dcustom-mpi=true -Dextra-deps=mpich -Denable-autodiff=true
./ninja -C build install
Then i entered following in a new terminal
Code:
nano .bashrc
Then i pasted following lines to the end
Code:
export SU2_RUN=/usr/local/bin

export SU2_HOME=/home/mohsin/Downloads/SU2-7.5.1

export PATH=$PATH:$SU2_RUN

export PYTHONPATH=$PYTHONPATH:$SU2_RUN
I used following things
ubuntu 22.04 (on virtual box version 7.0.10)
anaconda3
python 3.11.4
SU2-7.5.1

Thats it.
Mohsin1 is offline   Reply With Quote

Old   November 25, 2023, 05:14
Default Yes I can run now!!
  #5
New Member
 
Mohsin
Join Date: Jul 2023
Posts: 21
Rep Power: 3
Mohsin1 is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Does simply running mpirun directly work for you?



mpirun -n 4 SU2_CFD inv_ONERAM6.cfg
Actually this is a very old post, at that time, my su2 was not compiled correctly for parallel. But its fixed now. Thank you so much.
Mohsin1 is offline   Reply With Quote

Old   May 4, 2024, 08:54
Default
  #6
New Member
 
sntblm
Join Date: Mar 2023
Posts: 5
Rep Power: 3
sntblm is on a distinguished road
Hello,

Could you tell me how to properly compile SU2 for parallel runs?

When I write "mpirun -n 4 SU2_CFD example.cfg" I see 4 times for eveything on console.

Regards.
sntblm is offline   Reply With Quote

Old   May 4, 2024, 15:12
Default
  #7
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Check that you have installed the development files, either libopenmpi-dev or libmpich-dev.

Also check that you have only one mpi installed to prevent conflicts.
bigfootedrockmidget is offline   Reply With Quote

Old   May 6, 2024, 23:25
Default
  #8
New Member
 
Mohsin
Join Date: Jul 2023
Posts: 21
Rep Power: 3
Mohsin1 is on a distinguished road
Quote:
Originally Posted by sntblm View Post
Hello,

Could you tell me how to properly compile SU2 for parallel runs?

When I write "mpirun -n 4 SU2_CFD example.cfg" I see 4 times for eveything on console.

Regards.
I fixed this problem using this https://www.youtube.com/watch?v=2TwX...GumNaamCreator
Mohsin1 is offline   Reply With Quote

Reply

Tags
inviscid onera m6, parallel computation, su2


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
[snappyHexMesh] reconstructPar after running snappyhexmesh in parallel fidu OpenFOAM Meshing & Mesh Conversion 11 October 20, 2020 10:01
Problem running movingCylinders case in parallel with foam-extend-3.1 mhkenergy OpenFOAM Running, Solving & CFD 5 March 3, 2017 06:20
Explicitly filtered LES saeedi Main CFD Forum 16 October 14, 2015 12:58
Running parallel case after parallel meshing with snappyHexMesh? Adam Persson OpenFOAM Running, Solving & CFD 0 August 31, 2015 23:04
parallel running student666 OpenFOAM Running, Solving & CFD 7 May 21, 2014 15:55


All times are GMT -4. The time now is 10:57.