Running GenBC in parallel
Posted: Fri Jun 04, 2021 12:58 pm
Hi,
I need to run some coronary simulations with prescribed pressure at the inlet. To do so, I implemented the usual coronary bcs + prescribed pressure at the inlet in GenBC. In serial this seems to work fine, although it's a bit difficult to understand if my implementation is correct.
When I try to run the simulation in parallel with mpirun -n (>= 2), I get weird errors like the following
Considering that these errors occur at lines that I did not modify from the provided USER.f, I am wondering if svsolver fully supports parallel computations when GenBC is used.
Luca
I need to run some coronary simulations with prescribed pressure at the inlet. To do so, I implemented the usual coronary bcs + prescribed pressure at the inlet in GenBC. In serial this seems to work fine, although it's a bit difficult to understand if my implementation is correct.
When I try to run the simulation in parallel with mpirun -n (>= 2), I get weird errors like the following
orAt line 78 of file USER.f (unit = 1)
Fortran runtime error: Cannot open file 'InitialData': File exists
(when run twice).ERROR: Number of Dirichlet Surfaces from Phasta is: 388685675
While nDirichletSrfs is equal to: 0 <- this is correct as all the faces are Neumann
Considering that these errors occur at lines that I did not modify from the provided USER.f, I am wondering if svsolver fully supports parallel computations when GenBC is used.
Luca