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

SU2 not installed with AVX architecture

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree4Likes
  • 2 Post By bigfootedrockmidget
  • 2 Post By pcg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2022, 03:00
Exclamation SU2 not installed with AVX architecture
  #1
New Member
 
NDP
Join Date: Sep 2021
Posts: 4
Rep Power: 5
ndpiitb is on a distinguished road
I have successfully installed SU2 in my system but while running any problem it is showing a warning " WARNING: SU2 was not compiled for an AVX-capable architecture.".

Can anyone help regarding this? How can I install SU2 with AVX- capable architecture?
ndpiitb is offline   Reply With Quote

Old   September 1, 2022, 18:01
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14
pcg is on a distinguished road
See here https://su2code.github.io/docs_v7/Bu...-optimizations

If you don’t know details use
export CXX_FLAGS="-march=native"
Before running meson.py
pcg is offline   Reply With Quote

Old   September 10, 2022, 18:13
Default
  #3
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 51
Rep Power: 4
CleverBoy is on a distinguished road
I have the same error and I am curious about a thing. I have installed the mpi and run some tutorials with parallel computation. Does this error mean that simulation is not being solved by multiple cores, or something else?
CleverBoy is offline   Reply With Quote

Old   September 11, 2022, 14:23
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 667
Rep Power: 21
bigfootedrockmidget is on a distinguished road
If you are worried that your parallelization is not working, then check:
1. that you get a speed-up if you use 1,2,4,8 cores
2. When you use 8 cores and mpi is not working correctly, you will not get a speed-up but su2 will be executed 8 times on the same core, and all the output is shown 8 times every iteration.


You can get an additional speed-up by making use of vectorization. Only certain parts of the code make use of it, so the amount of speed-up differs depending on your setup. You have to compile SU2 with vectorization support. If SU2 is not compiled with vectorization but you have the keyword USE_VECTORIZATION= YES in the config file, you will get this warning.
CleverBoy and danielncku like this.
bigfootedrockmidget is offline   Reply With Quote

Old   September 11, 2022, 18:48
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
If you are worried that your parallelization is not working, then check:
1. that you get a speed-up if you use 1,2,4,8 cores
2. When you use 8 cores and mpi is not working correctly, you will not get a speed-up but su2 will be executed 8 times on the same core, and all the output is shown 8 times every iteration.


You can get an additional speed-up by making use of vectorization. Only certain parts of the code make use of it, so the amount of speed-up differs depending on your setup. You have to compile SU2 with vectorization support. If SU2 is not compiled with vectorization but you have the keyword USE_VECTORIZATION= YES in the config file, you will get this warning.

Thanks for the tip, it was clearly faster (1.5 min faster) when computed with mpi. I also checked for a USE_VECTORIZATION keyword on the Turbulent_ONERAM6 tutorial (which I tried mpi) and there was no such line. Error was there anyway.
CleverBoy is offline   Reply With Quote

Old   September 13, 2022, 06:43
Default
  #6
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14
pcg is on a distinguished road
Some schemes are vectorized by default, hence the option has no effect.
On x86 you always get SSE vectorization (2 doubles), which is still faster, just not ideal since most x86 cpus also have AVX (4 doubles).
CleverBoy and danielncku like this.
pcg is offline   Reply With Quote

Reply

Tags
avx architecture, su2 7.4.0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Tutorials not working abby10 SU2 Installation 1 December 28, 2021 07:35
Newly installed SU2 issues running testcases SKumar12 SU2 3 October 14, 2021 11:57
Introducing SU2 International Developers Society (IDS) fpalacios SU2 News & Announcements 1 June 17, 2019 23:38
Can SU2 3.1 be installed in CYGWIN, failed many times momo_sjx SU2 Installation 5 September 19, 2014 21:34
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


All times are GMT -4. The time now is 13:14.