Is aspect installed successfully?

Hi there,
** I followed the steps for local installation , I think I have installed and compiled ASPECT succesfully. When I run make, it reaches the 100.**
** But I’m having some problems and I’m not sure if I successfully installed aspect :**
**1、 In the overview section, I noticed that my build directory doesn’t have parameter-file.prm **
2、 To learn the visualization of the results, I run in the build directory ./aspect cookbooks/convection-box/convection-box.prm, but encountered the following error :
-----------------------------------------------------------------------------
– This is ASPECT –
– The Advanced Solver for Planetary Evolution, Convection, and Tectonics. –
-----------------------------------------------------------------------------
– . version 2.6.0-pre (main, e3a102e7b)
– . using deal.II 9.5.0
– . with 32 bit indices and vectorization level 2 (256 bits)
– . using Trilinos 13.2.0
– . using p4est 2.3.2
– . running in DEBUG mode
– . running with 1 MPI process
-----------------------------------------------------------------------------

----------------------------------------------------
**Exception ‘ExcMessage (std::string(“Could not open file <”) + filename + “>.”)’ on rank 0 on processing: **

--------------------------------------------------------
An error occurred in line <1505> of file </home/aspect/aspect/source/utilities.cc> in function
** std::string aspect::Utilities::read_and_distribute_file_content(const string&, ompi_communicator_t* const&)**
The violated condition was: **
** false

Additional information: **
** Could not open file <cookbooks/convection-box/convection-box.prm>.

Stacktrace:
-----------
#0 ./aspect: aspect::Utilities::read_and_distribute_file_content(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, ompi_communicator_t const&)*
#1 ./aspect: read_parameter_file(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, ompi_communicator_t)*
#2 ./aspect: main
--------------------------------------------------------

Aborting!
----------------------------------------------------
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.

When I execute mpirun -np 4 ./ aspect cookbooks/convection-box/convection-box.prm, I get the following error :
-----------------------------------------------------------------------------
– This is ASPECT –
– The Advanced Solver for Planetary Evolution, Convection, and Tectonics. –
-----------------------------------------------------------------------------
– . version 2.6.0-pre (main, e3a102e7b)
– . using deal.II 9.5.0
– . with 32 bit indices and vectorization level 2 (256 bits)
– . using Trilinos 13.2.0
– . using p4est 2.3.2
– . running in DEBUG mode
– . running with 4 MPI processes
-----------------------------------------------------------------------------

----------------------------------------------------
**Exception ‘ExcMessage (std::string(“Could not open file <”) + filename + “>.”)’ on rank 0 on processing: **

--------------------------------------------------------
An error occurred in line <1505> of file </home/aspect/aspect/source/utilities.cc> in function
** std::string aspect::Utilities::read_and_distribute_file_content(const string&, ompi_communicator_t* const&)**
The violated condition was: **
** false

Additional information: **
** Could not open file <cookbooks/convection-box/convection-box.prm>.

Stacktrace:
-----------
#0 ./aspect: aspect::Utilities::read_and_distribute_file_content(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, ompi_communicator_t const&)*
#1 ./aspect: read_parameter_file(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, ompi_communicator_t)*
#2 ./aspect: main
--------------------------------------------------------

Aborting!
----------------------------------------------------
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

**There were no errors during the installation process, so I’m not sure if I installed successfully. **
I hope to get your suggestions .
best regards

HangWu
detailed.log (2.1 KB)

Dear HangWu,

ASPECT requires the correct relative or absolute path to the prm file as argument. If you are running ASPECT from the recommended build directory (i.e., $ASPECTDIR/build), the correct command will be:
./aspect ../cookbooks/convection-box/convection-box.prm

Best wishes,
Bob

That great!Thanks Bob!
I have tried to execute with absolute path before, but also reported wrong. Now, I can run it successfully.