unable to install dolfin-0.8.2-hpc
I would like to install Unicorn 0.1.3-hpc. For that, I installed the required old versions of ufc and ffc as stated in README. I am also trying to install dolfin-0.8.2-hpc with the same purpose, however when I complile I get the error:
alba@feo:
Making all in src
make[1]: Entering directory `/home/
Making all in common
make[2]: Entering directory `/home/
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/
Making all in elements
make[2]: Entering directory `/home/
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/
Making all in fem
make[2]: Entering directory `/home/
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/
Making all in function
make[2]: Entering directory `/home/
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/
Making all in graph
make[2]: Entering directory `/home/
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/
Making all in io
make[2]: Entering directory `/home/
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../..
MFile.cpp: In member function 'virtual void dolfin:
MFile.cpp:38:41: error: 'fopen' was not declared in this scope
MFile.cpp:41:22: error: 'fprintf' was not declared in this scope
MFile.cpp:53:12: error: 'fclose' was not declared in this scope
MFile.cpp: In member function 'virtual void dolfin:
MFile.cpp:63:41: error: 'fopen' was not declared in this scope
MFile.cpp:68:34: error: 'fprintf' was not declared in this scope
MFile.cpp:86:28: error: 'fprintf' was not declared in this scope
MFile.cpp:88:45: error: 'fprintf' was not declared in this scope
MFile.cpp:97:52: error: 'fprintf' was not declared in this scope
MFile.cpp:99:50: error: 'fprintf' was not declared in this scope
MFile.cpp:103:65: error: 'fprintf' was not declared in this scope
MFile.cpp:105:62: error: 'fprintf' was not declared in this scope
MFile.cpp:108:18: error: 'fprintf' was not declared in this scope
MFile.cpp:135:12: error: 'fclose' was not declared in this scope
make[2]: *** [MFile.lo] Error 1
make[2]: Leaving directory `/home/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [all-recursive] Error 1
I believe this is not related to the message I got when installing ufc:
alba@feo:
[sudo] password for alba:
scons: Reading SConscript files ...
scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/home/
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/
Checking for SWIG...(cached) yes
Checking for SWIG version > 1.3.35...(cached) yes
Checking for Boost...(cached) yes
Checking for Python...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
scons: done building targets.
-------
*** Warning: Old ufc module
/usr/
still excists in installation path.
Try remove these files with:
scons -c cleanOldUFC=Yes
Note that you may need to be root.
What am I doing wrong?
Many thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Unicorn Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask algra for more information if necessary.