Hello,
I installed the latest version of Aspect (git clone GitHub - geodynamics/aspect: A parallel, extensible finite element code to simulate convection in both 2D and 3D models.) in our Linux cluster.
My shell env is csh with:
setenv CC mpicc
setenv CXX mpicxx
setenv FC mpif90
setenv FF mpif77
setenv F90 mpif90
setenv CMAKECXX mpicxx
module load gcc-5.5.0
module load mpc-1.0.1
module load mpfr-3.1.4
module load mpich-3.2.1
setenv CMAKE_CXX_FLAGS “-fPIC -std=c++14”
setenv CFLAGS “-fPIC”
setenv CXXFLAGS “-fPIC -std=c++14”
setenv FFLAGS “-fPIC”
and candi.cfg has inputs for static lib linking (based on Installation FAQ · geodynamics/aspect Wiki · GitHub) as below:
Choose additional configuration and components of deal.II
DEAL_CONFOPTS="-DDEAL_II_WITH_THREADS=OFF
-DDEAL_II_WITH_MPI=ON
-DDEAL_II_STATIC_EXECUTABLE=ON)"
TRILINOS_WITH_COMPLEX=ON
TRILINOS_CONFOPTS="-DBUILD_SHARED_LIBS=OFF -DTPL_FIND_SHARED_LIBS=OFF"
Using candi, I was successful in installing dealii 9.3.1 (git clone GitHub - dealii/dealii: The development repository for the deal.II finite element library. deal.II-v9.3.1), along with zlib, bzip2, git, cmake, boost, numdiff, openblas, hdf5, p4est and trillinos.
Following this Aspect installation was done successfully (though it never showed the message
– Creating a statically linked executable
– Disabling dynamic loading of plugins from the input file)
After that I tried to do a test run aspect with a .prm file from the cookbooks (shell_simple_2d.prm) as below:
mpirun /home4/earnest/progs/aspect-2.3.0/build/aspect shell_simple_2d.prm
and the program crashes with the following message:
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 61467 RUNNING AT login2.cmmacs.ernet.in
= EXIT CODE: 139
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
Aspect “make test” also fails with following error message:
make test
Consolidate compiler generated dependencies of target aspect
[ 97%] Built target aspect
[ 98%] Running tests …
Running tests…
Test project /home4/earnest/progs/aspect-2.3.0/build/tests
Start 1: quick_mpi
1/1 Test #1: quick_mpi …***Failed 29.29 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 29.30 sec
The following tests FAILED:
1 - quick_mpi (Failed)
Errors while running CTest
Output from these tests are in: /home4/earnest/progs/aspect-2.3.0/build/tests/Testing/Temporary/LastTest.log
Use “–rerun-failed --output-on-failure” to re-run the failed cases verbosely.
I am attaching my dealii and aspect installation logs herewith.
dealii_install.log (415.4 KB)
aspect_cmake_run.log (3.1 KB)
aspect_make.log (11.8 KB)
I am completely clueless on how to resolve this and make Aspect running.
I will be very much thankful for any help in this regard.
Thanks and regards
- Anil
Bangalore, India.