-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling and running ASPECT on TACC Stampede3 #5569
Comments
@ryanstoner1 did you try starting ASPECT with the |
That makes sense, I haven't yet run it with |
@gassmoeller Ok, no luck with
|
@gassmoeller Seems like the previous issues were likely related to deal.II. I have a functional version of deal.II (9.5.2) downloaded and tested, with step-32 working fine. I'm using the intel compiler. There's some internal error from world builder but the error is from /source/utilities.cc from macro expansion:
Here's my
I also have quite a few warnings from world builder that I'm not familiar with such as:
|
Glad to hear you got farther this time. Does that mean you now have a working version of ASPECT? (if you dont need world builder you can disable it with The world builder issues look like it might be an incompatibility with the new intel compiler. Since Stampede3 uses extremely new compilers and libraries some of our code may not be compatible with it (ASPECT 2.5 came out months before these compilers were released). We can try to look into the specific problems over time and fix them in the development version. If you find any solution before anyone else does, please post them here so we can incorporate them into the main branch. |
As of the previous comment I did not have a working version of ASPECT, but now I do. Seems like it may be a cmake issue in deal.II specific to my particular setup. I went to deal.II/base/config.h and manually changed the lines (450-451):
to
Those not being set by If it's okay, I'd like to keep this issue open until the approach for Stampede3 is documented for the wiki. |
Yes absolutely we should keep this open until we find a better and documented way to solve this (including world builder). So the fix for the MPI version you found likely means while building deal.II cmake could not determine the MPI version correctly (maybe because of the new Intel MPI used on Stampede 3). I will look into this when I have some time. Maybe @tjhei has seen this before? I am compiling ASPECT myself on Stampede 3 right now, let's see if I run into the same issues. |
Okay, I've started a first cut of a new wiki. PR #5574 should help, but unless I'm mistaken isn't Sundials a requirement moving forward? I couldn't install ASPECT cloning from main. In that case there'll be another section using candi for Sundials. I'm also following the PR for candi with Trilinos 14.4. |
Thanks for the wiki page! Please let me know when you are done with the editing. I also compiled ASPECT last night and are working through some updates that may make it a bit easier (like #5574). I would also recommend using candi to install sundials, astyle, and deal.II, because it allows to include some optimizations (you are right, your ASPECT is probably not compiling right now, because deal.II is missing sundials). |
I updated the description in the wiki to how to use candi to install astyle, sundials (required for ASPECT 2.6.0), and deal.II. It also includes instructions for how to disable the annoying warnings and the PR that caused the MPI issues is merged as well. Finally, my instructions for candi enable vector instructions for deal.II, which improves the performance of the GMG preconditioner significantly. @ryanstoner1 could you give the new instructions a try? Edits and improvements are welcome too. |
Yes, I changed a couple of things on the wiki. The main ones are that I was unsuccessful in getting ASPECT 2.4 to work with my instructions (assuming it's the combination with deal.II 9.5.2). Also, the maximum time limit for Stampede3 is now 24 hours. Testing the new set of instructions today. |
Ok, successfully tested the latest version. Two last issues:
|
Thanks, your changes make sense. Just for curiosity, do you need the Regarding 2. Can you describe what |
There is an actual bug, but only if using the Intel compiler, it seems. If I compiled in release mode then no files would be saved after the first timestep, but they would be saved in debug mode. The reason is The |
Oh wow, I didn't think about this before! We use NaN in the control logic and compiling with O3 will break this. You will need to go to O2 or disable the floating point optimizations regarding NaNs. |
I added Is the control logic safe with this modification? |
I modified the wiki because master of deal.II was not compiling on Stampede3. Now it does. Currently that issue is open, and in the future there may be alternative workarounds than me adding an extra If there's no more additions or modifications then I'll close this issue in the coming week. Many thanks for all the help! |
Compiling and running ASPECT on TACC Stampede3 diverges from Stampede2 because gcc/9.1.0 is no longer available (see the excellent and helpful previous wiki). I've successfully compiled ASPECT on Stampede3, but I run into a segfault when trying to run ASPECT.
Running
mpirun -np 2 aspect convection-box.prm
for the convection box cookbook:Output for the debug (!) version of ASPECT:
BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES RANK 0 PID 211033 RUNNING AT c455-011 KILLED BY SIGNAL: 11 (Segmentation fault)
Currently Stampede 3 uses gcc 13, and I'm using candi for the install. I correct the compiling issues that are mentioned in #5186 by splitting the candi.sh into two files. In the first, the packages are downloaded and extracted. The issues from #5186 are fixed, and then the second file is run.
The currently loaded modules (
module list
) are:1) autotools/1.3 2) xalt/3.0.1 3) TACC 4) cmake/3.28.1 5) gcc/13.2.0 6) mkl/24.0 7) impi/21.11
As far as I know candi doesn't have a .platform file for Rocky Linux, which is what Stampede3 is using. I was using centos7 as the closest equivalent. Otherwise I was using Trilinos 13.2., deal.II-9.5.2 (although I tried with 9.5.1 with the same result), but otherwise used the same packages as the previous wiki.
This may be related to the already open #5566, but is different in that I'm able to compile ASPECT.
The text was updated successfully, but these errors were encountered: