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

newbie MPI error out of box on ubuntu

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2024, 13:03
Default newbie MPI error out of box on ubuntu
  #1
New Member
 
cfd77
Join Date: Aug 2024
Posts: 1
Rep Power: 0
cfd77 is on a distinguished road
Hi SU2 friends,

I am new to SU2.
I git cloned SU2 from git repository: https://github.com/su2code/SU2
I have also tried SU2 8.0.1

I did
./meson.py build
sudo ./ninja -C build install

When I run
SU2_CFD inv_NACA0012.cfg
in QuickStart folder, I got this error:

*** An error occurred in MPI_Win_create
*** reported by process [3211657217,0]
*** on communicator MPI_COMM_WORLD
*** MPI_ERR_WIN: invalid window
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
*** and potentially your MPI job)

Since I did not build with -Dcustom-mpi=true -Dextra-deps=mpich
I assume when I run SU2_CFD mpi will not be involved.
Why am I getting MPI related errors?

How can I run the QuickStart without getting these errors?

Thanks very much!
cfd77 is offline   Reply With Quote

Old   August 18, 2024, 12:02
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 649
Rep Power: 19
bigfootedrockmidget is on a distinguished road
Maybe you still compile with mpi.
You can explicitly disable mpi using
Code:
Dwith-mpi=false
bigfootedrockmidget is offline   Reply With Quote

Old   August 31, 2024, 19:17
Default
  #3
Member
 
na
Join Date: Jul 2018
Posts: 90
Rep Power: 8
TKatt is on a distinguished road
That seems to be a common thing on ubuntu ... i dunno what to really do about it either.

you can use the following which should do the trick (it does for me on all ubuntu systems)
Code:
mpirun -n 1 --mca osc ucx SU2_CFD ...

I have that trick/hack from https://github.com/open-mpi/ompi/issues/10726





hope that kinda helps, Tobi
TKatt is offline   Reply With Quote

Old   September 4, 2024, 17:47
Default
  #4
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4
CleverBoy is on a distinguished road
If you are using Ubuntu 24 which is the latest release, you can try to return Ubuntu 22 or 20. I guess if you don't specify anything SU2 compiles with Dwith-mpi=auto and if there're openmpi and mpich both installed in your computer it creates some problems.
CleverBoy is offline   Reply With Quote

Reply

Tags
mpi errors


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
I get different results when I scale the 'falling box' tutorial Hossein1 FLUENT 7 August 19, 2017 03:52
[General] Newbie installing Paraview in Ubuntu 16 completenoob ParaView 5 August 20, 2016 07:25
openfoam-2.3.0 on ubuntu natty 11.04 mickjazz OpenFOAM Installation 1 August 5, 2014 14:01
[DesignModeler] simply model, empty box conquer ANSYS Meshing & Geometry 0 March 28, 2014 19:26
Immersol Simulation of a Heated Box Dong Phoenics 0 March 2, 2006 22:20


All times are GMT -4. The time now is 12:09.