|
[Sponsors] |
Error while running 3rd tutorial Inviscid ONERA M6 in parallel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 31, 2023, 02:06 |
Error while running 3rd tutorial Inviscid ONERA M6 in parallel
|
#1 |
New Member
Mohsin
Join Date: Jul 2023
Posts: 21
Rep Power: 3 |
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? |
|
November 24, 2023, 04:58 |
|
#2 |
New Member
Join Date: Aug 2023
Posts: 1
Rep Power: 0 |
Hello, have you found the solution? I met the same problem
|
|
November 24, 2023, 05:18 |
|
#3 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Does simply running mpirun directly work for you?
mpirun -n 4 SU2_CFD inv_ONERAM6.cfg |
|
November 25, 2023, 05:12 |
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 |
1. I installed anaconda by using this command Code:
wget https://repo.anaconda.com/archive/Anaconda3-2023.07-2-Linux-x86_64.sh 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 Code:
nano .bashrc 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 ubuntu 22.04 (on virtual box version 7.0.10) anaconda3 python 3.11.4 SU2-7.5.1 Thats it. |
|
November 25, 2023, 05:14 |
Yes I can run now!!
|
#5 |
New Member
Mohsin
Join Date: Jul 2023
Posts: 21
Rep Power: 3 |
||
May 4, 2024, 08:54 |
|
#6 |
New Member
sntblm
Join Date: Mar 2023
Posts: 5
Rep Power: 3 |
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. |
|
May 4, 2024, 15:12 |
|
#7 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
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. |
|
May 6, 2024, 23:25 |
|
#8 | |
New Member
Mohsin
Join Date: Jul 2023
Posts: 21
Rep Power: 3 |
Quote:
|
||
Tags |
inviscid onera m6, parallel computation, su2 |
|
|
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 |