Can`t Setup ONERA optimization case
Hello All,
I am trying to setup the ONERA optimization case but I am not able to, I tried to use the guide of github but couldn't make it, i can`t run the SU2_DEF inv_ONERAM6_adv.cfg , if anyone could tell me how to make it I'd be very glad. Thanks very much in advance |
Hi,
can you describe the problem that you have ? What exactly is not working ? Tim |
2 Attachment(s)
Thanks very very much for your reply
Excuse me cause i don`t have good experience in Linux I am having a problem in running the python script in the terminal it`s in both cases , onera and naca0012 2D i have already the numpy and scipy and all required libraries for example when i run the naca0012 case by using "`$ python shape_optimization.py -f inv_NACA0012_basic.cfg'" i have the attached error and also for the onera using this command "SU2_DEF inv_ONERAM6_adv.cfg" i have another error Kindly find attached Thanks very much for your support and concern :)) |
Have you compiled SU2 with python wrapper?
If this is not the case, follow this: https://github.com/su2code/SU2/wiki/...-Wrapper-Build |
Quote:
First of all make sure that you have set the environment variables correctly like it is described here: https://github.com/su2code/SU2/wiki/...ment-variables Second, it seems that the version you have try to run with SU2_DEF does not match with the version of the test cases. It may be related to the first issue (maybe your PATH variable points to an older version of SU2, use the command "which SU2_DEF" in the terminal to check that). Tim |
Quote:
Thanks for your reply no i haven`t i tried to use the command and i have this : Mich@MMcAero:~/SU2v4.0.0$ ./configure --prefix=/path/to/install/SU2 CXXFLAGS="-O3" --enable-mpi ./configure: line 2032: config.log: Permission denied ./configure: line 2042: config.log: Permission denied Mich@MMcAero:~/SU2v4.0.0$ --with-cc=/path/to/mpicc --with-cxx=/path/to/mpicxx --enable-PY_WRAPPER bash: --with-cc=/path/to/mpicc: No such file or directory What shall i do ? |
Quote:
it`s true that i am using SU2 v4 since i am not able to install v5 for parallel computations unti now i followed your advice but found that i shoul add '' export SU2_RUN="your/prefix/bin" export SU2_HOME="/path/to/SU2" export PATH=$PATH:$SU2_RUN to ~/.bashrc file which i cant` find it , where should i find it ? thanks again for your reply and concern |
All times are GMT -4. The time now is 00:16. |