Error: Sacado.hpp- No such file or directory

42 views
Skip to first unread message

Amogh Sanjay

unread,
Aug 24, 2023, 10:59:44 PM8/24/23
to deal.II User Group
Hello everyone, 

I had installed my deal.ii v9.4.0 in my home directory. I then created a new partition and moved it there. Everything worked fine for some time until I was unable to make my code. 

I can compile the build scripts using cmake but cannot proceed further due to an error that says:

[ 50%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o
In file included from /mnt/116bae52-4a8e-4b7e-a3f7-857a4ec210ed/dealii-candi/deal.II-v9.4.0/include/deal.II/base/config.h:544,
                 from /mnt/116bae52-4a8e-4b7e-a3f7-857a4ec210ed/dealii-candi/deal.II-v9.4.0/include/deal.II/grid/tria.h:20,
                 from /mnt/116bae52-4a8e-4b7e-a3f7-857a4ec210ed/dealii-candi/deal.II-v9.4.0/examples/step-1/step-1.cc:22:
/mnt/116bae52-4a8e-4b7e-a3f7-857a4ec210ed/dealii-candi/deal.II-v9.4.0/include/deal.II/base/numbers.h:146:12: fatal error: Sacado.hpp: No such file or directory
  146 | #  include <Sacado.hpp>
      |            ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/step-1.dir/build.make:76: CMakeFiles/step-1.dir/step-1.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:90: CMakeFiles/step-1.dir/all] Error 2
make: *** [Makefile:91: all] Error 2


Will I have to uninstall and reinstall it? 
Thanks in advance.
 

Wolfgang Bangerth

unread,
Aug 25, 2023, 7:51:31 PM8/25/23
to dea...@googlegroups.com
On 8/24/23 20:59, Amogh Sanjay wrote:
>
> Will I have to uninstall and reinstall it?

Yes, likely. You can't install in one location and then move that directory
somewhere else. The paths to that directory are hardcoded in a number of places.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/


Amogh Sanjay

unread,
Aug 25, 2023, 11:01:03 PM8/25/23
to deal.II User Group
Okay, thank you.

Amogh.

Reply all
Reply to author
Forward
0 new messages