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

Error in shape optimization SU2 v3.2.8

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2016, 13:47
Unhappy Error in shape optimization SU2 v3.2.8
  #1
New Member
 
Milano
Join Date: Jan 2016
Posts: 3
Rep Power: 9
Fedey90 is on a distinguished road
Hello to everyone!

I'm in trouble with the shape_optimization.py. I'm following the instructions of the tutorial for optimization (https://github.com/su2code/SU2/wiki/Constrained-Optimal-Shape-Design-of-a-Fixed-Wing) and computing in SU2 v3.2.8 with the Test Cases of the same version.

This is the error:

RuntimeError : Path = /home/federica/TestCases/optimization_euler/steady_oneram6/DESIGNS/DNS_001/DIRECT/,
Command = mpirun -n 1 usr/local/bin/SU2_CFD config_CFD.cfg
SU2 process returned error '255'
[proxy:0:0@federica-VirtualBox] HYDU_create_process (./utils/launch/launch.c:75): execvp error on file usr/local/bin/SU2_CFD (No such file or directory)


I donno why, coz I find the file in the directory usr/local/bin and it's an executable.

When I try to run the command with -n 0 this is the error:
Command = usr/local/bin/SU2_CFD config_CFD.cfg
SU2 process returned error '127'
/bin/sh: 1: usr/local/bin/SU2_CFD: not found


How can I fix it?

Thank you for your help
Fedey90 is offline   Reply With Quote

Old   January 26, 2016, 05:15
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 9
talbring is on a distinguished road
Hi Fedey90,

make sure that you have set the environment variables correctly like it is described here:
https://github.com/su2code/SU2/wiki/...ment-variables

Furthermore consider to update to the new version 4.1 if you need any further help.
talbring is offline   Reply With Quote

Old   January 31, 2016, 11:12
Default
  #3
New Member
 
Milano
Join Date: Jan 2016
Posts: 3
Rep Power: 9
Fedey90 is on a distinguished road
Good morning. I just see that I set all the variables during the installation. The same error occurs. So I'll try to install the new version. I'll inform you if it will be done
Fedey90 is offline   Reply With Quote

Old   January 31, 2016, 17:27
Default
  #4
New Member
 
Milano
Join Date: Jan 2016
Posts: 3
Rep Power: 9
Fedey90 is on a distinguished road
Here another problem: I downloaded the new Test cases.git, but in the steady_one ram folder (in optimization_euler) there isn't any .cfg file. How can I solve it? Remember: I'm following your tutorial
Fedey90 is offline   Reply With Quote

Old   February 7, 2016, 11:34
Default
  #5
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 14
fpalacios is on a distinguished road
Hi,

The config files are in the SU2.git. The folder is called TestCases

Thanks for using SU2,

Best
Francisco
fpalacios is offline   Reply With Quote

Reply

Tags
optimization, su2, su2 oneram6

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
SU2 Shape optimization questions AdriC SU2 Shape Design 6 January 27, 2016 05:25
Question about SU2 optimization YoniHe SU2 Shape Design 3 January 15, 2016 01:31
SU2 shape optimization initialization method? gina07 SU2 Shape Design 1 May 2, 2015 17:40
Airfoil Shape Optimization using gradient based methods jaiswal Main CFD Forum 1 April 10, 2014 12:22
Testcase for shape optimization using RANS simualtion diwakaranant SU2 Shape Design 1 April 18, 2013 14:27


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