Installation issues
Hello Sir,
I am using Mac OS(High Seirra) and have pulled 2016.1.0 stable version of fenics inside a docker container. I wish to install DOLFWAVE inside this container along with fenics. I followed the steps as in you bitbucket repository : https:/
During make I get the following error ,
(Including only starting and final lines of error messsage)
66%] Building CXX object src/CMakeFiles/
[ 66%] Building CXX object src/CMakeFiles/
/home/fenics/
/home/fenics/
functional
.....
.
.
.
.
/home/fenics/
src/CMakeFiles/
make[2]: *** [src/CMakeFiles
CMakeFiles/
make[1]: *** [src/CMakeFiles
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Please help me to install it successfully.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFWAVE Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi, Dear Sudhi Sharma Padillath Vasudevan,
Unfortunately I'm not maintaining the code for some time now, so I'm not sure if I can help you.
However, did you tweaked the file dolfwave.conf in order to match your system?
I Just compiled the code in my osx (Mojave) and everything went ok.
What are the output of your dolfin-version and "ffc --version"? It should be 1.6.0.
Since the compilation went ok until 66%,
I'm guessing the problem is related with your FEniCS installation version vs Dolfwave.
In those times, the interface for some of dolfin and ffc libraries were changing fast.
I used to have Ubuntu and OSX installations,
In Ubuntu I used the dorsal installation of FEniCS but in OSX I use the binaries.
My script to config the bash in OSX is the following: (it replaces the dolfwave.conf)
Please change in order to match your system.
#######
# .bash_profile
clear
#FEniCS_
FEniCS_
export PATH=$FEniCS_
export DYLD_FALLBACK_
export PYTHONPATH=
export PKG_CONFIG_
export MANPATH=
export BOOST_DIR=
export SWIG_LIB=
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export OPAL_PREFIX=
OSX_VERSION=
if [ -z "$FENICS_
# Clear screen
clear
# Set prompt
export PS1="\[
# Set terminal title
echo -n -e "\033]0;FEniCS\007"
fi
### DOLFWAVE CONFIG
export DOLFWAVE_
export FENICS_
export DYLD_FALLBACK_
export PATH=${
export DOLFWAVE_
export DOLFWAVE_
export DOLFWAVE_
# Variables to solve DSO Linkage problems
# Check the CMakeLists.txt in each demo
export DOLFIN_
#######
I hope it helps,
Moreover, could you please let me know what do you plan to do with dolfwave?
Cheers,
Nuno
Revision history for this message
|
#2 |
Hello Sir,
What are the output of your dolfin-version and "ffc --version"? It should be 1.6.0.
Did you mean 16.1.0 ?? In one of the readme file i saw the compatible version is 2016.1.0.
My version output reads,
dolfin-version
2016.1.0
fenics@
This is FFC, the FEniCS Form Compiler, version 2016.1.0.
UFC backend version 2016.1.0, signature 1b14b3cad537cb9
For further information, visit https:/
I am trying out the edited config file given by you, but it still fails at the same place. I think its related to the version itself.
Also,
I am working on quantifying uncertainty for high fidelity problems using domain decomposition based solvers.
I wish to try out examples from DOLFWAVE and see whether I can adopt my methods to solve these problems for non-linear time dependant cases.
Revision history for this message
|
#3 |
Hi,
It should be
"$dolfin-version
>>>1.6.0
$ffc --version
>>>This is FFC, the FEniCS Form Compiler, version 1.6.0.
>>>For further information, visit http://
The FEniCS libraries were changing at the time...probably It should be a FEniCS version 2016.1 and not 2016.1.0.
And please if you decide to keep the effort, use the bitbucket repository.
Please, Let me know of you were able to install the libraries.
Revision history for this message
|
#4 |
Hello Sir,
I have checked the fenics bit bucket repo to see the available versions and i got a version for 1.6.0
https:/
Now, my dolfin-version reads,
dolfin-version
1.6.0
ffc --version
This is FFC, the FEniCS Form Compiler, version 1.6.0.
For further information, visit http://
But still, after cmake with FFC recompilation
make results in error,
77%] Building CXX object src/CMakeFiles/
[ 80%] Building CXX object src/CMakeFiles/
[ 80%] Building CXX object src/CMakeFiles/
/home/fenics/
/home/fenics/
...
...
...
/usr/include/
(NAME)(const Eigen::
^
In file included from /usr/include/
/usr/include/
template<typename T> EIGEN_DEVICE_FUNC bool (isinf) (const T &x) { return internal:
src/CMakeFiles/
make[2]: *** [src/CMakeFiles
CMakeFiles/
make[1]: *** [src/CMakeFiles
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
My, dolfwave config file reads,
#######
# .bash_profile
clear
#FEniCS_
FEniCS_RESOURCES = /home/fenics/build
#FEniCS_
export PATH=$FEniCS_
export DYLD_FALLBACK_
export PYTHONPATH=
export PKG_CONFIG_
export MANPATH=
export BOOST_DIR=
export SWIG_LIB=
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
export OPAL_PREFIX=
OSX_VERSION=
if [ -z "$FENICS_
# Clear screen
clear
# Set prompt
export PS1="\[
# Set terminal title
echo -n -e "\033]0;FEniCS\007"
fi
### DOLFWAVE CONFIG
export DOLFWAVE_
export FENICS_
export DYLD_FALLBACK_
export PATH=${
export DOLFWAVE_
export DOLFWAVE_
export DOLFWAVE_
# Variables to solve DSO Linkage problems
# Check the CMakeLists.txt in each demo
export DOLFIN_
#######
The way I download the fenics stable version through docker is :
docker run -ti -v $(pwd):
docker run -ti -v $(pwd):
(https:/
I don't know whether DOLFWAVE uses any other minor update version or not ?
Revision history for this message
|
#5 |
Hi,
Partially good news :)
Now that appears to be a Xcode, command-line tools, xctoolchain, installation issue.
If you google it you will find the isnan isinf issue on OSX.. Good luck.
/usr/include/
That lines are to avoid "infinite" or "not a number" in the iterative errors.
You could try to comment that lines in the code in order to see if the compilation continues to the end.
Nuno
Revision history for this message
|
#6 |
Hello Sir,
After searching for a bit and adding some header files I was able to finally install the DOLFWAVE inside docker.
I also did
source dolfwave.conf
after that.
But now trying out the demos again gives some errors. May be I am missing some steps here.
Could you also please tell me how to run these demos ?
I tried cmake CMakeLists.txt and then make , but here again it gives error.
fenics@
[ 33%] Linking CXX executable 1HD_horizontalL
CMakeFiles/
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
main.cpp:
CMakeFiles/
main.cpp:
main.cpp:
main.cpp:
CMakeFiles/
main.cpp:
CMakeFiles/
main.cpp:
main.cpp:
CMakeFiles/
main.cpp:
CMakeFiles/
main.cpp:
CMakeFiles/
CMakeFiles/
CMakeFiles/
main.cpp:
CMakeFiles/
main.cpp:
CMakeFiles/
Depth.cpp:
Depth.cpp:
Depth.cpp:
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
CMakeFiles/
collect2: error: ld returned 1 exit status
CMakeFiles/
make[2]: *** [1HD_horizontal
CMakeFiles/
make[1]: *** [CMakeFiles/
Makefile:83: recipe for target 'all' failed
Revision history for this message
|
#7 |
Hi,
I think the problem is due to the linkage of the libraries.
Check the CMakeFiles.txt in the demo dir and also try to adapt the previous bash script for FEniCs and Dolfwave configuration.
However, I wasn't never able to install Dolfwave with the docker version of FEniCS.
Good luck.
Can you help with this problem?
Provide an answer of your own, or ask Sudhi Sharma Padillath Vasudevan for more information if necessary.