Closed ricitron closed 5 years ago
Out of curiosity, what happens if you run in debug mode instead of release mode?
I get the same error with no additional output.
Hi Robert, We need a bit more information to figure out what is going on. Does the problem also happen for smaller models? Do you group output in less files than processors or does each processor write its own output? Which visualization plugins did you activate? All of our test output is fine, so either you discovered a bug with your particular model setup (can you upload a simple reproducible parameter file that causes the error?), or it is something about the combination of ASPECT and deal.II version. We recently did internal changes to the visualization postprocessor (see #2925), maybe that caused something.
Here is the input file:
Maybe it is something about the combination of ASPECT and deal.II version. I have tried compiling and running aspect-2.2.0-pre on two clusters now, both without success. In both cases ASPECT successfully compiled but crashed when running. On one cluster it occurred before any timesteps were complete. On the second cluster it is the error I posted above; aspect runs but crashes on the visualization postprocessor. On both clusters I had previously compiled working versions of aspect-2.1. I've been trying to do a clean install of deal.II to see if the most recent version of deal.II fixes the issue, but I keep running into errors compiling the candi deal.II package.
On the other cluster where it crashes before starting a single timestep, I get the following error output:
Not sure what is going on, but the model you sent runs on my system (logfile attached). I have slightly different ASPECT and deal.II versions though. Can you try two variations of your model:
Visualization
subsection: set Number of grouped files = 0
. This switches off MPI-IO which we had trouble with before.The model does run without the visualization postprocessor.
With your fix of set Number of grouped files = 0
, it did run when the output format was set to vtu
, but not when it was set to hdf5
. When it was set to hdf5
I received a bunch of errors but it is probably something messed up with the aspect build on my system.
I was able to reinstall deal.II and aspect and the issue was resolved, so it appears to have been an issue with a deal.ii and aspect mismatch. Thanks Rene.
One thing I noticed when recompiling the most recent version of aspect was that I got the following error:
[ 98%] Building CXX object CMakeFiles/aspect.dir/unit_tests/parse_map_to_double_array.cc.o
[ 98%] Building CXX object CMakeFiles/aspect.dir/unit_tests/termination_criteria.cc.o
[100%] Building CXX object CMakeFiles/aspect.dir/unit_tests/utilities.cc.o
[100%] Linking CXX executable aspect
CMakeFiles/aspect.dir/source/material_model/viscoelastic_plastic.cc.o:viscoelastic_plastic.cc:function aspect::MaterialModel::ViscoelasticPlastic<2>::create_additional_named_outputs(aspect::MaterialModel::MaterialModelOutputs<2>&) const: error: undefined reference to 'aspect::MaterialModel::ElasticAdditionalOutputs<2>::ElasticAdditionalOutputs(unsigned int)'
CMakeFiles/aspect.dir/source/material_model/viscoelastic_plastic.cc.o:viscoelastic_plastic.cc:function aspect::MaterialModel::ViscoelasticPlastic<3>::create_additional_named_outputs(aspect::MaterialModel::MaterialModelOutputs<3>&) const: error: undefined reference to 'aspect::MaterialModel::ElasticAdditionalOutputs<3>::ElasticAdditionalOutputs(unsigned int)'
collect2: error: ld returned 1 exit status
CMakeFiles/aspect.dir/build.make:7187: recipe for target 'aspect' failed
make[2]: *** [aspect] Error 1
CMakeFiles/Makefile2:356: recipe for target 'CMakeFiles/aspect.dir/all' failed
make[1]: *** [CMakeFiles/aspect.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
This error appeared when compiling the release version (the debug version compiled without error). It appears related to the recently merged ViscoelasticPlastic model. When I revert to a commit prior to the inclusion of this model aspect compiles the release version without error.
Please update to the newest github version -- I think we merged the patch for this a few minutes ago.
Thank you! Yes everything is working now.
Great, thanks for letting us know about the issues, that is always helpful.
The most recent version of ASPECT crashes for me during the visualization processor:
...
...
[c8-81:17061] PMIX ERROR: NOT-FOUND in file server/pmix_server_ops.c at line 2166
The code compiled without errors. When I remove the visualization postprocessor then aspect runs fine for multiple timesteps. It is only with the visualization postprocessor that it crashes.
Any ideas?