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

Could not find NPOIN= keyword with different numbers of cores

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pcg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2021, 21:06
Default Could not find NPOIN= keyword with different numbers of cores
  #1
Senior Member
 
Pay D.
Join Date: Aug 2011
Posts: 166
Blog Entries: 1
Rep Power: 14
pdp.aero is on a distinguished road
Hi there,


I am running bunch of optimization problems. In one when I increase number of cores from 24 to 72, I get this:


------------------- Geometry Preprocessing ( Zone 0 ) -------------------


Error in "void CSU2ASCIIMeshReaderFVM::ReadMetadata()":
-------------------------------------------------------------------------
Could not find NPOIN= keyword.
Check the SU2 ASCII file format.
------------------------------ Error Exit -------------------------------





SU2_DEF has no problem and generates the deformed mesh but when I use the deformed mesh to start a new design iteration with a direct run it seems to fail to read the mesh.


Deformed mesh is okay. I mean inside the mesh I see everything that should be there. NPOIN is there.



Interestingly this issue appears when I increase number of the cores. With 12 and 24 no problem. But with 32, 36, 48 and 72 the above error pops out.


Any trick to run this problem with at least 72 cores?


I am using FADO + SU2 v7.1.1


Thanks,
Pay
pdp.aero is offline   Reply With Quote

Old   July 25, 2021, 06:18
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
Hello,
What happens if you run SU2_DEF on 12-24 cores and CFD on 72.
I had similar issues in the past due to filesystem problems and writing ascii files in parallel.
Is 24 a "magic" number? E.g. it starts using more than one compute node?
Check if the size of the mesh files is approx the same.
pdp.aero likes this.
pcg is offline   Reply With Quote

Old   July 26, 2021, 12:41
Default
  #3
Senior Member
 
Pay D.
Join Date: Aug 2011
Posts: 166
Blog Entries: 1
Rep Power: 14
pdp.aero is on a distinguished road
Quote:
Originally Posted by pcg View Post
Hello,
What happens if you run SU2_DEF on 12-24 cores and CFD on 72.
I had similar issues in the past due to filesystem problems and writing ascii files in parallel.
Is 24 a "magic" number? E.g. it starts using more than one compute node?
Check if the size of the mesh files is approx the same.

Hi Pedro,


Thanks for the reply.


I did what you suggested. I end up with different kinda error. It got stuck writing the restart file. Then I switch all read and write to ASCII including tecplot surface and volume outputs. It worked but again for 24 cores.



Separate question, was this issue solved in 7.1.1?
https://github.com/su2code/SU2/issues/971


If I switch between 24 and 72 in a design iteration when I deform and when I run direct and discrete adjoint I get this:


Error in "virtual void CPhysicalGeometry::SetBoundVolume()":
-------------------------------------------------------------------------
The surface element (1, 200) doesn't have an associated volume element
------------------------------ Error Exit -------------------------------



Which is kinda doesn't make sense because if I direct to the exact same directory and submit a single CFD job with 72 cores including the same deformed mesh and same config file, it runs without this error. This error appears only when I switch number of cores in my FADO python script after the first deform on 24 and second CFD run on 72 cores.



Yes, 24 is the magic number it's max number of cores I could call on a single node.


Yep, size of the deformed mesh doesn't change, like:
15128038 --> without deformation including FFD
then:
15128200 --> after first deformation


Thinking maybe I must submit two separate jobs one when I DEF and one when I run CFD or AD!


Cheers,
Pay
pdp.aero is offline   Reply With Quote

Old   August 1, 2021, 17:40
Default
  #4
Senior Member
 
Pay D.
Join Date: Aug 2011
Posts: 166
Blog Entries: 1
Rep Power: 14
pdp.aero is on a distinguished road
Quote:
Originally Posted by pcg View Post
Hello,
What happens if you run SU2_DEF on 12-24 cores and CFD on 72.
I had similar issues in the past due to filesystem problems and writing ascii files in parallel.
Is 24 a "magic" number? E.g. it starts using more than one compute node?
Check if the size of the mesh files is approx the same.

I just wanna confirm switching between 12 24 cores for DEF and 72 for CFD and AD worked with ASCII restart.


The last error I was getting solved by deleting some unnecessary customized class defined in the FADO's optimization script defined by someone to manipulate ExternalRun to skip the first deform iteration for no reason.


Cheers,
Pay
pdp.aero is offline   Reply With Quote

Old   August 19, 2021, 09:47
Default
  #5
Senior Member
 
Pay D.
Join Date: Aug 2011
Posts: 166
Blog Entries: 1
Rep Power: 14
pdp.aero is on a distinguished road
Quote:
Originally Posted by pdp.aero View Post
I just wanna confirm switching between 12 24 cores for DEF and 72 for CFD and AD worked with ASCII restart.


The last error I was getting solved by deleting some unnecessary customized class defined in the FADO's optimization script defined by someone to manipulate ExternalRun to skip the first deform iteration for no reason.


Cheers,
Pay

Also extra point on SU2_DEF.



It doesn't write the whole mesh when more cores than a node being used. I just had to keep SU2_DEF and SU2_DOT_AD running in serial.
pdp.aero 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
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 00:52
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 06:32
flux required keyword in fvSchemes srinath OpenFOAM Running, Solving & CFD 1 June 19, 2008 11:44
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


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