loganoz / horses3d

HORSES3D: A high-order discontinuous Galerkin solver for flow simulations and multi-physics applications
https://loganoz.github.io/horses3d/
MIT License
112 stars 24 forks source link

Omarino dev #169

Closed oscarmarino closed 9 months ago

loganoz commented 1 year ago

@oscarmarino, I could compile and run the code in debug mode and got some extra information. The problem appears to be here:

forrtl: severe (153): allocatable array or pointer is not allocated Image PC Routine Line Source
HexMesh 0000000000A86129 nodalstorageclass 154 NodalStorageClass.f90 HexMesh 000000000041FC55 testtwoboxesmeshc 256 HexMeshTests.f90 HexMesh 0000000000B13840 testsuitemanagerc 223 TestSuiteManagerClass.f90 HexMesh 00000000004332F1 MAIN 34 HexmeshTestsMain.f90 HexMesh 0000000000413C4D Unknown Unknown Unknown libc.so.6 00007FA3C3C01D90 Unknown Unknown Unknown libc.so.6 00007FA3C3C01E40 libc_start_main Unknown Unknown HexMesh 0000000000413B65 Unknown Unknown Unknown

oscarmarino commented 1 year ago

It seems that the error is at the end of the test while calling all the destructors. Particularly the NodalStorage destructor, in the deallocate part of the array of nodal storage of gauss. It is rare, as it has and if before that makes sure that it is allocated, it also fails when using the safedeallocate, so not sure why it is an error there.

loganoz commented 1 year ago

@oscarmarino, I commented the problematic test cases. It should work now, can you try to merge with master again? BTW, I also created an action with the problematic test cases to try and fix the issue.