You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using FEniCS
mesh = UnitSquareMesh(8,8)
V = FunctionSpace(mesh,"P",1)
u_D = Expression("1+x[0]*x[0]+2*x[1]*x[1]", degree=2)
Unexpected error message:
ERROR: PyError (ccall(@pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, arg, kw)) <type 'exceptions.RuntimeError'>
RuntimeError("In instant.recompile: The module did not compile with command 'cmake -DDEBUG=TRUE .', see '/Users/cmey/.cache/instant/python2.7/error/dolfin_13c8f1f6cddc673505d96f856bef922a9fa66419/compile.log'",)
File "/Users/cmey/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/dolfin/functions/expression.py", line 679, in __new__
mpi_comm=kwargs.get("mpi_comm"))
File "/Users/cmey/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/dolfin/compilemodules/expressions.py", line 266, in compile_expressions
mpi_comm=mpi_comm)
File "/Users/cmey/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/dolfin/compilemodules/expressions.py", line 183, in compile_expression_code
mpi_comm=mpi_comm)
File "/Users/cmey/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/dolfin/compilemodules/jit.py", line 70, in mpi_jit
return local_jit(*args, **kwargs)
File "/Users/cmey/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/dolfin/compilemodules/compilemodule.py", line 603, in compile_extension_module
**instant_kwargs)
File "/Users/cmey/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/instant/build.py", line 577, in build_module
build_system)
File "/Users/cmey/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/instant/build.py", line 158, in recompile
instant_error(msg % (cmd, compile_log_filename_dest))
File "/Users/cmey/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/instant/output.py", line 96, in instant_error
raise RuntimeError(text)
Error log (compile.log) says:
-- The C compiler identification is AppleClang 9.0.0.9000039
-- The CXX compiler identification is AppleClang 9.0.0.9000039
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:12 (FIND_PACKAGE):
By not providing "FindDOLFIN.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "DOLFIN", but
CMake did not find one.
Could not find a package configuration file provided by "DOLFIN" with any
of the following names:
DOLFINConfig.cmake
dolfin-config.cmake
Add the installation prefix of "DOLFIN" to CMAKE_PREFIX_PATH or set
"DOLFIN_DIR" to a directory containing one of the above files. If "DOLFIN"
provides a separate development package or SDK, be sure it has been
installed.
It looks like I need to manually install DOLFIN. Is that expected or should it get installed automatically during Pkg.add("FEniCS")?
If the former, any pointers on how to install it on macOS? It looks like it's not available on brew.
Best,
Christophe
The text was updated successfully, but these errors were encountered:
You might want to just install the FEniCS Docker and put Julia on that, and see if that installation process is easier. FEniCS seems to really push their Docker install as "the true install", so maybe we need to just use it.
Environment:
Steps to reproduce:
Unexpected error message:
Error log (compile.log) says:
It looks like I need to manually install DOLFIN. Is that expected or should it get installed automatically during
Pkg.add("FEniCS")
?If the former, any pointers on how to install it on macOS? It looks like it's not available on brew.
Best,
Christophe
The text was updated successfully, but these errors were encountered: