There seems to be some issue with OpenMPI + Intel compilers (I used openmpi/4.0.2-intel20.4 on Bridges2).
Update: same issue below occurs with intelmpi
- Adding
add_compile_options(-O1) to cmakelists.txt is required to pass tests
export FC=ifort; export CC=icc; export CXX=icc; before compiling is required (shouldn't this be picked up automatically by cmake? it otherwise tries to use GNU)
If one removes the optimization flag above, then we get error
[ 97%] Time step 50 of 51 @ t_step = 49
NaN(s) in timestep output. 0 0 0 0
50 49 39 0
NaN(s) in timestep output.
for test Test tests/55533234: 2D -> bc=-1...
So, this issue appears not to be related to viscous + bubbles, but rather this is the first 2D test case. I think the confusion comes from the fact that the test immediately before this one is viscous + bubbles, but after double checking that one, it does indeed pass fine. This 2D case quickly throws NaNs.
This issue is related to the comments on PR: #152
There seems to be some issue with OpenMPI + Intel compilers (I used
openmpi/4.0.2-intel20.4on Bridges2).Update: same issue below occurs with
intelmpiadd_compile_options(-O1)tocmakelists.txtis required to pass testsexport FC=ifort; export CC=icc; export CXX=icc;before compiling is required (shouldn't this be picked up automatically by cmake? it otherwise tries to use GNU)If one removes the optimization flag above, then we get error
for test
Test tests/55533234: 2D -> bc=-1...So, this issue appears not to be related to viscous + bubbles, but rather this is the first 2D test case. I think the confusion comes from the fact that the test immediately before this one is viscous + bubbles, but after double checking that one, it does indeed pass fine. This 2D case quickly throws NaNs.
This issue is related to the comments on PR: #152