– ====================================================
– ============ Configuring ASPECT ====================
– ====================================================
– Setting up ASPECT for DebugRelease mode.
CMake Error at CMakeLists.txt:108 (MESSAGE):
*** Could not find a suitably recent version of deal.II. ***
You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake
or set an environment variable “DEAL_II_DIR” that contains a path to a
sufficiently recent version of deal.II.
Following the manual
I input “git clone https://github.com/dealii/candi” and“ cd candi ./candi.sh -p INSTALL_PATH ” and I can find folder ‘deal.Ⅱ toolchain’ .
Do I need any other steps to install deal.Ⅱ
By the way I want to install Aspect on HPC through Singularity Is this a feasible way
Did you replace INSTALL_PATH with desired installation folder on your system? INSTALL_PATH is just a placeholder for
and I can find folder ‘deal.Ⅱ toolchain
That folder is not part of the installed library, but rather part of the candi installer package.
Do you by chance have the terminal output saved from when you ran candi? Once it is finished, it will provide information regarding where the libraries were installed.
By the way I want to install Aspect on HPC through Singularity Is this a feasible way
I believe that has been done on at least one HPC system (Frontera), but don’t recall the details. In most cases, we installed deal.II/ASPECT with candi.
Loading dealii-prepare
Fetching opencascade 0.18.3
Verifying OCE-0.18.3.tar.gz
OCE-0.18.3.tar.gz: OK(sha256)
OCE-0.18.3.tar.gz already downloaded and verified.
./candi.sh: Line 436: cd: dellII/tmp/unpack: There is no file or directory for that
Unpacking OCE-0.18.3.tar.gz
delII/tmp/src/OCE-0.18.3.tar.gz does not exist. Please download first.
ruthless12@ruthless12-Precision-3551:~/ubuntu/candi$
In the first error message, it says that the directory does not exist, but you
say that it exists. You have to find out why you get that error message. My
suggestion would be to start the whole process from scratch, in a new and
empty directory.
Running just “./candi.sh”.The installation process starts. But there is still an error
-- Configuring incomplete, errors occurred!
See also "/home/ruthless12/dealii-candi/tmp/build/symengine-0.8.1/CMakeFiles/CMakeOutput.log".
Failure with exit status: 1Exit message: There was a problem configuring symengine 0.8.1.
Open MPI tried to fork a new process via the “execve” system call but
failed. Open MPI checks many things before attempting to launch a
child process, but nothing is perfect. This error may be indicative
of another problem on the target host, or even something as silly as
having specified a directory for your application. Your job will now
abort.
Local host: ruthless12-Precision-3551
Working dir: /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/examples
Application name: ./step-32
Error: Permission denied
mpirun was unable to start the specified application as it encountered an
error:
Error code: -125
Error name: The specified application failed to start
Node: ruthless12-Precision-3551
when attempting to start process rank 0.
2 total processes failed to start
[ruthless12-Precision-3551:20895] 1 more process has sent help message help-orte-odls-default.txt / execve error
[ruthless12-Precision-3551:20895] Set MCA parameter “orte_base_help_aggregate” to 0 to see all help / error messages
ruthless12@ruthless12-Precision-3551:~/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/examples$ cd step-32
ruthless12@ruthless12-Precision-3551:~/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/examples/step-32$ ls
candi.cfg CMakeFiles doc step-32.cc
CMakeCache.txt CMakeLists.txt local.cfg step-32.prm
ruthless12@ruthless12-Precision-3551:~/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/examples/step-32$ mpirun -n 2 ./step-32
mpirun was unable to launch the specified application as it could not access
or execute an executable:
@leisurely The error message you get actually says what is happening: You are calling mpirun -np 2 ./step-32 in ~/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/examples where step-32 is the name of a sub-directory. But it needs to be the name of an executable. It should work if you do
@leisurely From your directory listing, I can see that you called cmake in this directory. Did that work? If so, when you call make, does that produce an executable?
I will note that you’re doing all of this in the source directory. But you should never touch that. You should be working in the installation directory instead, which is where I would expect the executables to be located.
Unable to “cmake.” success in sub-directory step-32.
ruthless12@ruthless12-Precision-3551:~/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/examples/step-32$ cmake .
– Using the deal.II-9.5.1 build directory found at /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_add_test.cmake
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_initialize_cached_variables.cmake
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_invoke_autopilot.cmake
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_pickup_tests.cmake
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_query_git_information.cmake
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_deal_ii_setup_target.cmake
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_shell_escape_option_groups.cmake
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_target_compile_flags.cmake
– Include macro /home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1/share/deal.II/macros/macro_target_link_flags.cmake
CMake Error at CMakeLists.txt:44 (message):
Error! This tutorial requires a deal.II library that was configured with
the following options:
DEAL_II_WITH_MPI = ON
DEAL_II_WITH_P4EST = ON
DEAL_II_WITH_TRILINOS = ON
However, the deal.II library found at
/home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1 was
configured with these options:
DEAL_II_WITH_MPI = OFF
DEAL_II_WITH_P4EST = OFF
DEAL_II_WITH_TRILINOS = OFF
@leisurely The error message is actually quite informative I believe:
Error! This tutorial requires a deal.II library that was configured with
the following options:
DEAL_II_WITH_MPI = ON
DEAL_II_WITH_P4EST = ON
DEAL_II_WITH_TRILINOS = ON
However, the deal.II library found at
/home/ruthless12/ubuntu2/candi/dealII/tmp/unpack/deal.II-v9.5.1 was
configured with these options:
DEAL_II_WITH_MPI = OFF
DEAL_II_WITH_P4EST = OFF
DEAL_II_WITH_TRILINOS = OFF
This conflicts with the requirements.
In essence, the error message says that in order to run this tutorial, you need to have certain other libraries installed as well on your system, but you don’t.
You seem to be struggling with a lot of relatively basic problems in dealing with installing software, the command line, etc. We can help you with questions on ASPECT, but this problem is too slow in teaching you which directories you need to look into, or how to read error messages. (In addition to the fact that we can not teach everyone these basic skills, within the time we have for user support every day.) Can I suggest that you find someone locally at your university who perhaps has already been using ASPECT, or at least who is experienced in using Linux, with whom you can work and who you can ask for help? I think that will be a better learning experience for you, and will make sure that we can use this forum for questions that are about ASPECT itself.