I get not complied error


190
views
0
6 months ago by
Hi all,

I get the following error every time I try to run this piece of code on moving heat source:

In instant.recompile: The module did not compile with command 'make VERBOSE=1'

the log file reads


-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- 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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for one of the modules 'craypetsc_real;PETSc'
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of PetscInt
-- Check size of PetscInt - done
-- Checking for one of the modules 'crayslepc_real;SLEPc'
-- Found SWIG: /usr/bin/swig (found version "3.0.8")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

DEBUG


-- Build files have been written to: /tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e1$
/usr/bin/cmake -H/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a40c48df1d066$
/usr/bin/cmake -E cmake_progress_start /tmp/tmpVFJiQh2018-2-13-17-58_instant_b4$
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a$
make -f CMakeFiles/_dolfin_f85b0126063a682e7a1b3d64dbd479d188aaf040.dir/build.m$
make[2]: Entering directory '/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a$
[ 33%] Swig source
/usr/bin/cmake -E make_directory /tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca$
/usr/bin/swig -python -module dolfin_f85b0126063a682e7a1b3d64dbd479d188aaf040 -$
cd /tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a40c48df1d06698f0755baf7e06$
Dependee "/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a40c48df1d06698f0755$
Dependee "/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a40c48df1d06698f0755$
Scanning dependencies of target _dolfin_f85b0126063a682e7a1b3d64dbd479d188aaf040
make[2]: Leaving directory '/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a4$
make -f CMakeFiles/_dolfin_f85b0126063a682e7a1b3d64dbd479d188aaf040.dir/build.m$
make[2]: Entering directory '/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a$
[ 66%] Building CXX object CMakeFiles/_dolfin_f85b0126063a682e7a1b3d64dbd479d18$
/usr/bin/c++ -DDOLFIN_LA_INDEX_SIZE=4 -DDOLFIN_SIZE_T=8 -DDOLFIN_VERSION=\"20$
/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a40c48df1d06698f0755baf7e06ee/$
/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a40c48df1d06698f0755baf7e06ee/$
VecSqrtAbs(vec->down_cast<PETScVector>().vec());
/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a40c48df1d06698f0755baf7e06ee/$
VecSqrtAbs(vec->down_cast<PETScVector>().vec());
^
/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a40c48df1d06698f0755baf7e06ee/$
VecSqrtAbs(vec->down_cast<PETScVector>().vec());
^
CMakeFiles/_dolfin_f85b0126063a682e7a1b3d64dbd479d188aaf040.dir/build.make:70: $
make[2]: *** [CMakeFiles/_dolfin_f85b0126063a682e7a1b3d64dbd479d188aaf040.dir/d$
make[2]: Leaving directory '/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a4$
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/_dolfin_f85b0126063a682e$
make[1]: *** [CMakeFiles/_dolfin_f85b0126063a682e7a1b3d64dbd479d188aaf040.dir/a$
make[1]: Leaving directory '/tmp/tmpVFJiQh2018-2-13-17-58_instant_b4e166ca629a4$
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2



I honestly couldn't figure out what the log says specially the parts that it points to like "VecSqrtAbs"
Community: FEniCS Project
Do you use FEniCS in python? If so, maybe post the Expression you use for the moving heat source.
written 6 months ago by klunkean  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »