should i reinstall dolfin and try demos again.. also what could have gone wrong that module common is not present in cpp directory
*with regards..* *M. Sai Rajeswar* *M-tech Computer Technology* *IIT Delhi----------------------------------Cogito Ergo Sum---------* On Wed, Jun 18, 2014 at 10:51 AM, Sai Rajeshwar <[email protected]> wrote: > also my ..python/site-packages/cpp directory has following files > > __init__.py __init__.pyc > > thanks... > > > > *with regards..* > > *M. Sai Rajeswar* > *M-tech Computer Technology* > > > *IIT Delhi----------------------------------Cogito Ergo Sum---------* > > > On Wed, Jun 18, 2014 at 10:33 AM, Sai Rajeshwar <[email protected]> > wrote: > >> hello sir, >> >> Im running the dolfin demos.. when i came across following errors.. >> for both python and cpp versions---------- thanks for your help in advance. >> >> -------------------------------- python >> ------------------------------------------ >> >> login4$ python demo_poisson.py >> >> Traceback (most recent call last): >> File "demo_poisson.py", line 37, in <module> >> from dolfin import * >> File >> "/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/__init__.py", >> line 16, in <module> >> import cpp >> File >> "/home1/03023/rajeswar/lib/python2.7/site-packages/dolfin/cpp/__init__.py", >> line 42, in <module> >> exec("import %s" % module_name) >> File "<string>", line 1, in <module> >> ImportError: No module named common >> >> >> --------------------------------cpp-------------------------------------------------- >> login4$ make >> >> Scanning dependencies of target demo_poisson >> [100%] Building CXX object CMakeFiles/demo_poisson.dir/main.cpp.o >> Linking CXX executable demo_poisson >> /home1/03023/rajeswar/lib/libdolfin.so: undefined reference to >> `__gmpn_sqr' >> collect2: ld returned 1 exit status >> make[2]: *** [demo_poisson] Error 1 >> make[1]: *** [CMakeFiles/demo_poisson.dir/all] Error 2 >> make: *** [all] Error 2 >> >> >> >> *with regards..* >> >> *M. Sai Rajeswar* >> *M-tech Computer Technology* >> >> >> *IIT Delhi----------------------------------Cogito Ergo Sum---------* >> > >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
