CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   SU2 3.2 parrallel bug in shape_optimization.py? (https://www.cfd-online.com/Forums/su2/138358-su2-3-2-parrallel-bug-shape_optimization-py.html)

RLangtry July 2, 2014 21:27

SU2 3.2 parrallel bug in shape_optimization.py?
 
Was wondering if there is a bug in the new shape_optimization.py script in SU2 3.2. Trying to run shape_optimization.py on the standard rans_optimization test cases and it runs in serial but fails in parallel on the first design run with the following partition error:

------------------------- Exit Success (SU2_PRT) ------------------------

cstr=mesh_NACA0012_inv.su2
There is no geometry file (GetnZone))!
cstr=mesh_NACA0012_inv.su2
There is no geometry file (GetnZone))!

parallel_computation.py works for ver. 3.2 so I don't believe it is my cluster/mpi setup. Also I have no problems with shape_optimization.py in SU2 3.1.

Anyone else encountered this?

shirazbj July 2, 2014 22:55

Quote:

Originally Posted by RLangtry (Post 499747)
Was wondering if there is a bug in the new shape_optimization.py script in SU2 3.2. Trying to run shape_optimization.py on the standard rans_optimization test cases and it runs in serial but fails in parallel on the first design run with the following partition error:

------------------------- Exit Success (SU2_PRT) ------------------------

cstr=mesh_NACA0012_inv.su2
There is no geometry file (GetnZone))!
cstr=mesh_NACA0012_inv.su2
There is no geometry file (GetnZone))!

parallel_computation.py works for ver. 3.2 so I don't believe it is my cluster/mpi setup. Also I have no problems with shape_optimization.py in SU2 3.1.

Anyone else encountered this?

Did you get n mesh files after su2_prt? How many zones you specified?

RLangtry July 3, 2014 00:20

yes I ran:

shape_optimization.py -f inv_NACA0012_adv.cfg -n 16

and ended up with 16 mesh files in the /DSN_001/DIRECT/ directory. I can launch the solver manually with mpirun -n 16 /home/SU2/bin/SU2_CFD config_CFD.cfg which makes me think there is a bug in the shape_optimization.py script.

Could it be a race condition? Perhaps the partitions have not all been written before it starts the mpirun?


All times are GMT -4. The time now is 15:16.