Issue during compiling plugin

Dear all,

I wanna compile /opt/bin/aspect/cookbooks/inner_core_convection/inner_core_convection.cc according the manual.

but I got the following messages:

[root@ln01 inner_core_convection]# cmake -D Aspect_DIR=/opt/bin/aspect/build/ .

– The C compiler identification is GNU 4.8.5

– The CXX compiler identification is GNU 4.8.5

– Check for working C compiler: /usr/bin/cc

– Check for working C compiler: /usr/bin/cc – works

– Detecting C compiler ABI info

– Detecting C compiler ABI info - done

– Detecting C compile features

– Detecting C compile features - done

– Check for working CXX compiler: /opt/openmpi-3.0.0-gnu/bin/mpicxx

– Check for working CXX compiler: /opt/openmpi-3.0.0-gnu/bin/mpicxx – works

– Detecting CXX compiler ABI info

– Detecting CXX compiler ABI info - done

– Detecting CXX compile features

– Detecting CXX compile features - done

– Setting up plugin:

– name <inner_core_convection>

– using ASPECT_DIR /opt/bin/aspect/build

– in Debug mode

– Configuring done

– Generating done

– Build files have been written to: /opt/bin/aspect/cookbooks/inner_core_convection

[root@ln01 inner_core_convection]# make

Scanning dependencies of target inner_core_convection

[ 50%] Building CXX object CMakeFiles/inner_core_convection.dir/inner_core_assembly.cc.o

make[2]: *** No rule to make target /usr/lib64/liblapack.so', needed bylibinner_core_convection.so’. Stop.

make[1]: *** [CMakeFiles/inner_core_convection.dir/all] Error 2

make: *** [all] Error 2

[root@ln01 inner_core_convection]# pwd

/opt/bin/aspect/cookbooks/inner_core_convection

Let me know if you need further information,

Many thanks for any suggestion.

Ze

Hi Ze,
it looks like your compiler is not finding a LAPACK installation at usr/lib64 that probably existed when you compiled deal.II, but now no longer exists. Did you compile this on different nodes of a cluster? (e.g. different login nodes, or a login node and a compute node)? You will need to provide a LAPACK installation also for compiling the ASPECT plugins, maybe you need to load a module on your cluster?

Best,
Rene