thanks.. that worked and removed the error
but when the demo is about to compile i got the following error
----------------------------------------------------------------------------------------
login1$ python demo_poisson.py
WARNING: Error in initializing MVAPICH2 ptmalloc library.Continuing without
InfiniBand registration cache support.
Calling FFC just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile with command 'make
VERBOSE=1', see
'/home1/03023/rajeswar/.instant/error/ffc_form_91664149f2882d60bf1907194a3e878266b41577/compile.log'
Traceback (most recent call last):
File "demo_poisson.py", line 41, in <module>
V = FunctionSpace(mesh, "Lagrange", 1)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/functions/functionspace.py",
line 468, in __init__
FunctionSpaceBase.__init__(self, mesh, element, constrained_domain)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/functions/functionspace.py",
line 153, in __init__
ufc_element, ufc_dofmap = jit(self._ufl_element)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
line 62, in mpi_jit
return local_jit(*args, **kwargs)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/compilemodules/jit.py",
line 126, in jit
return jit_compile(form, parameters=p)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/ffc/jitcompiler.py",
line 75, in jit
return jit_element(ufl_object, parameters)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/ffc/jitcompiler.py",
line 186, in jit_element
compiled_form, module, form_data, prefix = jit_form(form, parameters)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/ffc/jitcompiler.py",
line 155, in jit_form
cache_dir = cache_dir)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/ffc/backends/ufc/build.py",
line 73, in build_ufc_module
**kwargs)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/instant/build.py", line
559, in build_module
recompile(modulename, module_path, new_compilation_checksum,
build_system)
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/instant/build.py", line
165, in recompile
instant_error(msg % (cmd, compile_log_filename_dest))
File
"/home1/03023/rajeswar/lib/python2.7/site-packages/instant/output.py", line
81, in instant_error
raise RuntimeError(text)
RuntimeError: In instant.recompile: The module did not compile with command
'make VERBOSE=1', see
'/home1/03023/rajeswar/.instant/error/ffc_form_91664149f2882d60bf1907194a3e878266b41577/compile.log'
*with regards..*
*M. Sai Rajeswar*
*M-tech Computer Technology*
*IIT Delhi----------------------------------Cogito Ergo Sum---------*
On Fri, Jun 20, 2014 at 11:52 PM, Sai Rajeshwar <[email protected]> wrote:
> should i build cgal again.. if so what is the format to specify path..
>
> also for running the demo should i specify the path..
>
> can use the libgmp.so in my local lib directory
>
> thanks..
>
> *with regards..*
>
> *M. Sai Rajeswar*
> *M-tech Computer Technology*
>
>
> *IIT Delhi----------------------------------Cogito Ergo Sum---------*
>
>
> On Fri, Jun 20, 2014 at 11:49 PM, Johannes Ring <[email protected]> wrote:
>
>> On Fri, Jun 20, 2014 at 8:06 PM, Sai Rajeshwar <[email protected]>
>> wrote:
>> > login1$ ldd /home1/03023/rajeswar/lib/libdolfin.so | grep gmp
>> > libgmp.so.3 => /usr/lib64/libgmp.so.3 (0x00002ae1e7198000)
>>
>> Yes, that is most likely the wrong gmp library, that is, not the one
>> that CGAL and DOLFIN was built with. We need to make sure CGAL and
>> DOLFIN are built with the same gmp library. The same goes for the
>> demo. You can try to rebuild DOLFIN and set
>> -DGMP_LIBRARIES:FILEPATH=/path/to/your/libgmp.so when configuring
>> DOLFIN with cmake. If that doesn't work, I will try to get back to you
>> tomorrow.
>>
>> Johannes
>>
>
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support