Nightly snapshot binary for Mac 10.7 doesn't run

Asked by Shiyuan

Nightly snapshot binary for Mac 10.7 doesn't run with the following error:

$ python demo_subdomains-poisson.py
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile with command 'cmake -DDEBUG=TRUE . ', see '/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log'
Traceback (most recent call last):
  File "demo_subdomains-poisson.py", line 73, in <module>
    g_L = Expression("- 10*exp(- pow(x[1] - 0.5, 2))")
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/functions/expression.py", line 523, in __new__
    cpp_base, members = compile_expressions([cppcode])
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/expressions.py", line 176, in compile_expressions
    code_snippets), classnames)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/expressions.py", line 114, in compile_expression_code
    compiled_module = compile_extension_module(code)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py", line 66, in mpi_jit
    return local_jit(*args, **kwargs)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/compilemodule.py", line 446, in compile_extension_module
    **instant_kwargs)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py", line 541, in build_module
    recompile(modulename, module_path, new_compilation_checksum, build_system)
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py", line 137, in recompile
    instant_error(msg % (cmd, compile_log_filename_dest))
  File "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/output.py", line 49, in instant_error
    raise RuntimeError(text)
RuntimeError: In instant.recompile: The module did not compile with command 'cmake -DDEBUG=TRUE . ', see '/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log'

Question information

Language:
English Edit question
Status:
Answered
For:
FEniCS Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Kent-Andre Mardal (kent-and) said :
#1

Can you list the contents of
'/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log'

On 11 February 2013 17:41, Shiyuan <email address hidden>wrote:

> New question #221602 on FEniCS Project:
> https://answers.launchpad.net/fenics/+question/221602
>
> Nightly snapshot binary for Mac 10.7 doesn't run with the following error:
>
> $ python demo_subdomains-poisson.py
> Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
> In instant.recompile: The module did not compile with command 'cmake
> -DDEBUG=TRUE . ', see
> '/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log'
> Traceback (most recent call last):
> File "demo_subdomains-poisson.py", line 73, in <module>
> g_L = Expression("- 10*exp(- pow(x[1] - 0.5, 2))")
> File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/functions/expression.py",
> line 523, in __new__
> cpp_base, members = compile_expressions([cppcode])
> File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/expressions.py",
> line 176, in compile_expressions
> code_snippets), classnames)
> File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/expressions.py",
> line 114, in compile_expression_code
> compiled_module = compile_extension_module(code)
> File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
> line 66, in mpi_jit
> return local_jit(*args, **kwargs)
> File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/compilemodule.py",
> line 446, in compile_extension_module
> **instant_kwargs)
> File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py",
> line 541, in build_module
> recompile(modulename, module_path, new_compilation_checksum,
> build_system)
> File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py",
> line 137, in recompile
> instant_error(msg % (cmd, compile_log_filename_dest))
> File
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/output.py",
> line 49, in instant_error
> raise RuntimeError(text)
> RuntimeError: In instant.recompile: The module did not compile with
> command 'cmake -DDEBUG=TRUE . ', see
> '/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log'
>
>
>
> --
> You received this question notification because you are a member of
> FEniCS Team, which is an answer contact for FEniCS Project.
>

Revision history for this message
Shiyuan (gshy2014) said :
#2

/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log:
CMake Error at CMakeLists.txt:11 (INCLUDE):
  include could not find load file:

    /Users/johannr/fenics-snapshot/local/share/dolfin/cmake/UseDOLFIN.cmake

-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found SWIG: /Applications/FEniCS.app/Contents/Resources/bin/swig (found version "2.0.8")
-- Configuring incomplete, errors occurred!

Revision history for this message
Shiyuan (gshy2014) said :
#3

/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685ec
a0/compile.log:
CMake Error at CMakeLists.txt:11 (INCLUDE):
  include could not find load file:

    /Users/johannr/fenics-snapshot/local/share/dolfin/cmake/UseDOLFIN.cmake

-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found SWIG: /Applications/FEniCS.app/Contents/Resources/bin/swig (found
version "2.0.8")
-- Configuring incomplete, errors occurred!

On Mon, Feb 11, 2013 at 12:11 PM, Kent-Andre Mardal <
<email address hidden>> wrote:

> Your question #221602 on FEniCS Project changed:
> https://answers.launchpad.net/fenics/+question/221602
>
> Status: Open => Answered
>
> Kent-Andre Mardal proposed the following answer:
> Can you list the contents of
>
> '/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log'
>
> On 11 February 2013 17:41, Shiyuan
> <email address hidden>wrote:
>
> > New question #221602 on FEniCS Project:
> > https://answers.launchpad.net/fenics/+question/221602
> >
> > Nightly snapshot binary for Mac 10.7 doesn't run with the following
> error:
> >
> > $ python demo_subdomains-poisson.py
> > Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
> > In instant.recompile: The module did not compile with command 'cmake
> > -DDEBUG=TRUE . ', see
> >
> '/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log'
> > Traceback (most recent call last):
> > File "demo_subdomains-poisson.py", line 73, in <module>
> > g_L = Expression("- 10*exp(- pow(x[1] - 0.5, 2))")
> > File
> >
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/functions/expression.py",
> > line 523, in __new__
> > cpp_base, members = compile_expressions([cppcode])
> > File
> >
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/expressions.py",
> > line 176, in compile_expressions
> > code_snippets), classnames)
> > File
> >
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/expressions.py",
> > line 114, in compile_expression_code
> > compiled_module = compile_extension_module(code)
> > File
> >
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
> > line 66, in mpi_jit
> > return local_jit(*args, **kwargs)
> > File
> >
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/dolfin/compilemodules/compilemodule.py",
> > line 446, in compile_extension_module
> > **instant_kwargs)
> > File
> >
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py",
> > line 541, in build_module
> > recompile(modulename, module_path, new_compilation_checksum,
> > build_system)
> > File
> >
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/build.py",
> > line 137, in recompile
> > instant_error(msg % (cmd, compile_log_filename_dest))
> > File
> >
> "/Applications/FEniCS.app/Contents/Resources/lib/python2.7/site-packages/instant/output.py",
> > line 49, in instant_error
> > raise RuntimeError(text)
> > RuntimeError: In instant.recompile: The module did not compile with
> > command 'cmake -DDEBUG=TRUE . ', see
> >
> '/Users/sgu/.instant/error/dolfin_compile_code_15762b25357c2f73180f8d5a1685eca0/compile.log'
> >
> >
> >
> > --
> > You received this question notification because you are a member of
> > FEniCS Team, which is an answer contact for FEniCS Project.
> >
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/fenics/+question/221602/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/fenics/+question/221602
>
> You received this question notification because you asked the question.
>

Revision history for this message
Shiyuan (gshy2014) said :
#4

the directory path is wrong:
 /Users/johannr/fenics-snapshot/local/share/dolfin/cmake/UseDOLFIN.cmake

Revision history for this message
Johannes Ring (johannr) said :
#5

Thanks for digging. I will fix this tomorrow.

Revision history for this message
Johannes Ring (johannr) said :
#6

This should be fixed now.

Can you help with this problem?

Provide an answer of your own, or ask Shiyuan for more information if necessary.

To post a message you must log in.