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

A new Guy in SU2 with some questions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2019, 04:31
Default A new Guy in SU2 with some questions
  #1
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 8
BSengupta is on a distinguished road
Hi All,


I am new to SU2, but trying to learn it. I am encountering few problems. I am listing them.
1. I am trying to run caradonna_tung test case. When I am making NO to RESTART_SOL, the simulation runs well. But when I put YES it gives error, which is: "Error in "void CSolver::Read_SU2_Restart_Metadata(CGeometry*, CConfig*, bool, std::__cxx11::string)":
-------------------------------------------------------------------------
Unable to open restart file solution_flow.dat
------------------------------ Error Exit -------------------------------
"


2. I am trying to run this case in parallel (parallel_computation.py -f rot_caradonna_tung.cfg -n 4) with python script which gives errors as follows: "Traceback (most recent call last):
File "/usr/local/bin/parallel_computation.py", line 40, in <module>
sys.path.append(os.environ['SU2_RUN'])
File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
raise KeyError(key)
KeyError: 'SU2_RUN'
"


3. As I am facing the problem with python script, I decided to do it manually step by step(mpirun -n 4 SU2_PRT rot_caradonna_tung.cfg, mpirun -n 4 SU2_CFD rot_caradonna_tung.cfg, mpirun -n 4 SU2_SOL rot_caradonna_tung.cfg). I am receiving error in that too: "mpirun was unable to find the specified executable file, and therefore
did not launch the job. This error was first reported for process
rank 0; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpirun command
line parameter option (remember that mpirun interprets the first
unrecognized command line token as the executable).

Node: bidesh
Executable: SU2_PRT
--------------------------------------------------------------------------
4 total processes failed to start"


I shall be really grateful to receive feedback so that I can understand the problem conceptually.
Thank you.
BSengupta is offline   Reply With Quote

Old   July 1, 2019, 08:50
Default
  #2
Member
 
Akshay Koodly
Join Date: Aug 2017
Location: The Netherlands
Posts: 43
Rep Power: 9
akoodlyr is on a distinguished road
Hi,


1. Can you check the cfg file for the option 'SOLUTION_FLOW_FILENAME'? It looks like it is currently set to 'solution_flow.dat'. When you run SU2, you should see the restart file named 'restart_flow.dat' written in your current directory by default. You can either rename that to solution_flow.dat or set the SOLUTION_FLOW_FILENAME to 'restart_flow.dat' and run SU2_CFD again.


2.Can you check if the environment variables SU2_RUN, SU2_CFD etc are defined properly i.e. do they point to the location where you have installed SU2?


3. I don't think you need to say SU2_PRT, you can just run with mpirun -n 4 SU2_CFD cfg file. I am copying this line from a presentation by Tom (which you can find at https://su2code.github.io/documents/...v_economon.pdf )

"SU2_CFD handles all grid input and solution data output in a fully parallel manner"


Cheers.
akoodlyr is offline   Reply With Quote

Old   July 1, 2019, 21:57
Default
  #3
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 8
BSengupta is on a distinguished road
Thank you very much. It really solved my present problem.
BSengupta is offline   Reply With Quote

Old   October 1, 2019, 14:17
Default Facing same problem
  #4
Member
 
PENANG
Join Date: Aug 2017
Location: Malaysia
Posts: 40
Rep Power: 9
musa19 is on a distinguished road
Error in "void CSolver::Read_SU2_Restart_Metadata(CGeometry*, CConfig*, bool, std::__cxx11::string)":
-------------------------------------------------------------------------
Unable to open restart file solution_flow.dat
------------------------------ Error Exit -------------------------------

I am doing Unconstrained shape design of a transonic inviscid airfoil.

kindly help to solve this issue. I tried to rename SOLUTION_FLOW_FILENAME and RESTART_FLOW_FILENAME but error still shows same....
musa19 is offline   Reply With Quote

Old   October 7, 2019, 04:35
Default
  #5
Member
 
Akshay Koodly
Join Date: Aug 2017
Location: The Netherlands
Posts: 43
Rep Power: 9
akoodlyr is on a distinguished road
Hi,

Have you tried to run with RESTART_SOL = NO. If so, could you check if you have any file called "solution_flow.dat" or "restart_flow.dat"in your folder? The restart files are written duing the run and you can use those files to restart from your simulation. If you have not run any simulation yet, there wouldn't be any restart files written.

Cheers,
Akshay
akoodlyr is offline   Reply With Quote

Reply

Tags
parallel computing, su2 bug, su2 error


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
New guy with questions - - - - JoeT OpenFOAM 13 August 24, 2019 10:37
New Guy with questions JoeT SU2 2 June 25, 2019 03:17
Introducing SU2 International Developers Society (IDS) fpalacios SU2 News & Announcements 1 June 17, 2019 23:38
Questions about SU2 and CFD JPBLourenco SU2 Shape Design 1 March 28, 2019 01:23
SU2 Shape optimization questions AdriC SU2 Shape Design 6 January 27, 2016 05:25


All times are GMT -4. The time now is 05:41.