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

Can't find SU2_CFD_AD and SU2_DOT_AD

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2024, 17:01
Default
  #21
New Member
 
Join Date: Feb 2022
Posts: 23
Rep Power: 5
cristopher_morales is on a distinguished road
Quote:
Originally Posted by David_002 View Post
Dear Cristopher.
I've followed the steps you mentioned and try to run the example shown in: https://su2code.github.io/tutorials/...ained_RAE2822/

However, when running:
shape_optimization.py -g DISCRETE_ADJOINT -o SLSQP -f turb_SA_RAE2822.cfg

This is the error it says (see picture). It looks like it is unable to find the SU2_CFD_AD, however i can find it in the folder (see picture). Should this location be added to the nano .basrhc in some way? Could it be any other error?

Once again, thank you for your time and help.
Hi David,

I think there is an error with your PATH, when you run shape_optimization.py, it tries to find SU2_CFD_AD in the directory usr/local/bin/SU2_CFD_AD but the SU2_CFD_AD is intalled in the directory that you show in the second picture, so you should change the PATH in the shape_optimization.py to the PATH where your SU2_CFD_AD is located (second image)

best regards,

Cristopher Morales Ubal
cristopher_morales is offline   Reply With Quote

Old   April 1, 2024, 17:58
Default
  #22
New Member
 
Join Date: Mar 2024
Posts: 15
Rep Power: 2
David_002 is on a distinguished road
Hi Cristopher,
I'm unable to find where to add the path in the file, Could you indicate where from the pictures attached?

Thank you very much.
Attached Images
File Type: png Captura desde 2024-04-01 22-50-12.png (135.7 KB, 9 views)
File Type: png Captura desde 2024-04-01 22-50-32.png (165.4 KB, 7 views)
File Type: png Captura desde 2024-04-01 22-50-56.png (140.1 KB, 7 views)
File Type: png Captura desde 2024-04-01 22-51-16.png (110.0 KB, 5 views)
David_002 is offline   Reply With Quote

Reply

Tags
cfd, su2, tools


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



All times are GMT -4. The time now is 17:51.