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

Parallel error when doing M6 optimization in Tutorial 9

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2013, 05:55
Default Parallel error when doing M6 optimization in Tutorial 9
  #1
New Member
 
feeling
Join Date: Jan 2013
Posts: 21
Rep Power: 13
sxhqjfl is on a distinguished road
I use Ubuntu system. My conditions are:

1. install python, numpy, scipy, metis, mpich2,such as
sudo apt-get install mpich2

2. I set the SU2_RUN= /home/username/SU2v2.0/trunk/SU2Py

3. I type "python ./build_SU2.py -o redhat", so the executable files (SU2_CFD, SU2_GPC etc.) are generated in SU2Py directory.

4. Move the inv_ONERAM6.cfg and mesh_ONERAM6_inv.su2 into SU2Py directory

5. Type python shape_optimization.py -f inv_ONERAM6.cfg -p 4

At the beginning, the preparing process goes well, I can see the generation of Domain 1, Domain 2,Domain 3,Domain 4, but then I obtain some errors:



SU2 Suite (Domain Decomposition Code) |
-------------------------------------------------------------------------

------------------------ Physical case definition -----------------------
Input mesh file name: mesh_ONERAM6_inv.su2

-------------------------- Output information ---------------------------
Don't visualize the partitions.

------------------- Config file boundary information --------------------
Euler wall boundary marker(s): UPPER_SIDE, LOWER_SIDE, TIP.
Far-field boundary marker(s): XNORMAL_FACES, ZNORMAL_FACES, YNORMAL_FACE.
Symmetry plane boundary marker(s): SYMMETRY_FACE.

---------------------- Read grid file information -----------------------
Three dimensional problem.
582752 interior elements. 108396 points.
7 surface markers.
17284 boundary elements in index 0 (Marker = LOWER_SIDE).
2597 boundary elements in index 1 (Marker = TIP).
16573 boundary elements in index 2 (Marker = UPPER_SIDE).
173 boundary elements in index 3 (Marker = XNORMAL_FACES).
142 boundary elements in index 4 (Marker = ZNORMAL_FACES).
153 boundary elements in index 5 (Marker = YNORMAL_FACE).
1834 boundary elements in index 6 (Marker = SYMMETRY_FACE).

----------------------- Preprocessing computations ----------------------
Identifying vertices.

--------------------------- Read FFD information ------------------------
1 Free Form Deformation (FFD) chunks.
1 Free Form Deformation (FFD) nested levels.
FFD box tag: 0. FFD box level: 0. Degrees: 5, 4, 1.
Number of parent boxes: 0. Number of child boxes: 0.
Corner points: 8. Control points: 0. Surface points: 0.

---------------------- Performing mesh partitioning ---------------------
Finished partitioning using METIS 4.0.3. (8307 edge cuts).

----------------------------- Write mesh files --------------------------
Domain 1: 28156 points (958 ghost points).
Domain 2: 28372 points (1302 ghost points).
Domain 3: 29097 points (1497 ghost points).
Domain 4: 27665 points (1137 ghost points).

------------------------- Exit Success (SU2_DDC) ------------------------

mpiexec_jiafeilin-desktop: cannot connect to local mpd (/tmp/mpd2.console_jiafeilin); possible causes:
1. no mpd is running on this host
2. an mpd is running but was started without a "console" (-n option)
In case 1, you can start an mpd on this host with:
mpd &
and you will be able to run jobs just on this host.
For more details on starting mpds on a set of hosts, see
the MPICH2 Installation Guide.
Merging grid files (.su2)... 0%Traceback (most recent call last):
File "/home/jiafeilin/SU2v2.0/trunk/SU2Py/merge_grid_su2.py", line 53, in <module>
input_file = open("%s_%s.%s" % (mesh_out_filename.split(".")[0], domain+1, mesh_out_filename.split(".")[1]))
IOError: [Errno 2] No such file or directory: 'mesh_opt_MDC_inv_ONERAM6_1.su2'
mpiexec_jiafeilin-desktop: cannot connect to local mpd (/tmp/mpd2.console_jiafeilin); possible causes:
1. no mpd is running on this host
2. an mpd is running but was started without a "console" (-n option)
In case 1, you can start an mpd on this host with:
mpd &
and you will be able to run jobs just on this host.
For more details on starting mpds on a set of hosts, see
the MPICH2 Installation Guide.
Traceback (most recent call last):
File "/home/jiafeilin/SU2v2.0/trunk/SU2Py/merge_solution.py", line 84, in <module>
if math_problem == "DIRECT": input_file = open("%s_%s.plt" % (volume_flow_filename, domain+1))
IOError: [Errno 2] No such file or directory: 'flow_1.plt'
NIT FC OBJFUN GNORM
Traceback (most recent call last):
File "shape_optimization.py", line 676, in <module>
acc=1e-12, iprint=2, full_output=1, epsilon=1.0e-10)
File "/usr/lib/python2.6/dist-packages/scipy/optimize/slsqp.py", line 268, in fmin_slsqp
fx = func(x)
File "/usr/lib/python2.6/dist-packages/scipy/optimize/optimize.py", line 97, in function_wrapper
return function(x, *args)
File "shape_optimization.py", line 255, in f
rename_data()
File "shape_optimization.py", line 610, in rename_data
os.rename(output_names[key][0],output_names[key][1])
OSError: [Errno 2] No such file or directory
sxhqjfl is offline   Reply With Quote

Old   January 11, 2014, 23:18
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Could you please try again with the latest version of the code in the GitHub repository ( https://github.com/su2code/SU2 ) ?

Thanks!

Francisco
fpalacios is offline   Reply With Quote

Old   January 12, 2014, 07:01
Default
  #3
New Member
 
feeling
Join Date: Jan 2013
Posts: 21
Rep Power: 13
sxhqjfl is on a distinguished road
Quote:
Originally Posted by fpalacios View Post
Could you please try again with the latest version of the code in the GitHub repository ( https://github.com/su2code/SU2 ) ?

Thanks!

Francisco
I will try again. Thank you!
sxhqjfl is offline   Reply With Quote

Reply


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
Case running in serial, but Parallel run gives error atmcfd OpenFOAM Running, Solving & CFD 18 March 26, 2016 13:40
Parallel processing problem newbie29 OpenFOAM Running, Solving & CFD 1 June 22, 2012 05:23
[mesh manipulation] refineMesh -parallel crashes (in cavity tutorial) andras OpenFOAM Meshing & Mesh Conversion 0 August 8, 2010 15:52
BOOK ON OPTIMIZATION OF FORTRAN CODES Alberto Main CFD Forum 3 November 10, 2008 07:07
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 13:00


All times are GMT -4. The time now is 11:50.