dolfwave on ubuntu precise 64 bit make problem

Asked by osman

I am trying to install dolfwave on ubuntu precise (12.04 LTS) x86_64. Kernel 3.2.0-48 generic. Looks like I have dolfin 1.2.0.
cmake works ok without errors. make works up to 100% complete but errors out at the end with:

make[2]: *** No rule to make target `/usr/lib/libf77blas.so', needed by `src/libdolfwave.so'. Stop.
make[1]: *** [src/CMakeFiles/dolfwave.dir/all] Error 2

I don't have that lib. I also did a symb link from libgslcblas.so to libcblas.so earlier due to the first make error for not finding libcblas.so.

what can I do to make dolfwave ?
Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFWAVE Edit question
Assignee:
No assignee Edit question
Solved by:
osman
Solved:
Last query:
Last reply:
Revision history for this message
Nuno Lopes (ndlopes) said :
#1

The current dolfwave trunk version should be compiled with dolfin 1.1.0
(via DORSAL).
In that case it should work with Ubuntu 12.04.
I'm not sure if it works with dolfin 1.2.0.
Unfortunately, right now I do not have time to update the code in order to
work with dolfin 1.2.0.
I'm planning to do that in a few weeks.

Sorry for not being able to help right now.

On Wed, Dec 18, 2013 at 6:36 PM, osman <<email address hidden>
> wrote:

> New question #241002 on DOLFWAVE:
> https://answers.launchpad.net/dolfwave/+question/241002
>
> I am trying to install dolfwave on ubuntu precise (12.04 LTS) x86_64.
> Kernel 3.2.0-48 generic. Looks like I have dolfin 1.2.0.
> cmake works ok without errors. make works up to 100% complete but errors
> out at the end with:
>
> make[2]: *** No rule to make target `/usr/lib/libf77blas.so', needed by
> `src/libdolfwave.so'. Stop.
> make[1]: *** [src/CMakeFiles/dolfwave.dir/all] Error 2
>
> I don't have that lib. I also did a symb link from libgslcblas.so to
> libcblas.so earlier due to the first make error for not finding
> libcblas.so.
>
> what can I do to make dolfwave ?
> Thanks in advance
>
> --
> You received this question notification because you are an answer
> contact for DOLFWAVE.
>

Revision history for this message
osman (osman) said :
#2

Thanks Nuno. I was able to find the problem and changed dolfin config file to point to /usr/lib/atlas-base not /usr/lib for those linear algebra math libs. Now I geta 100% completion without any errors. But now "make demo" doesn't know where dolfwave.h resides. I did a make install. but still the same problem. If I knew all the compile flags of how to compile I would have done it manually but it is burries deep in bunch of cmake/make files. :-( I know you said you don't have time right now but wanted to let you know at least the libs build without problems with dolfin 1.2.0
Thanks,
Osman

Revision history for this message
Nuno Lopes (ndlopes) said :
#3

Hi,
did you set and sourced the paths for your dolfwave directories?
Regarding dolfin and dolfwave local directories I have the following lines
in my .bashrc:

#use (DORSAL_1.0.X for dev version of FEniCS) (DORSAL_1.0.0 for stable
version) (DORSAL_1.1.0 for new version)
export DORSALVERSION="DORSAL_1.0.X"
#Use dolfwave-dev or dolfwave-trunk
export DOLFWAVEVERSION="dolfwave-dev"

#Uptodate version of DOLFWAVE
export LD_LIBRARY_PATH=/home/nuno/$DORSALVERSION/$DOLFWAVEVERSION/src
export DOLFWAVE_SOURCE_PATH=/home/nuno/$DORSALVERSION/$DOLFWAVEVERSION/src
export PATH=/home/nuno/$DORSALVERSION/$DOLFWAVEVERSION/tools/bin:$PATH
export
PKG_CONFIG_PATH=/home/nuno/$DORSALVERSION/$DOLFWAVEVERSION/local/lib/pkgconfig:$PKG_CONFIG_PATH
export
DOLFWAVE_LIB_SO=/home/nuno/$DORSALVERSION/$DOLFWAVEVERSION/src/libdolfwave.so

#Uptodate version of FEniCS in use (1.0.X) or (1.1.0)
export LD_LIBRARY_PATH=/home/nuno/$DORSALVERSION/FEniCS/lib:$LD_LIBRARY_PATH
export PATH=/home/nuno/$DORSALVERSION/FEniCS/bin:$PATH
export
PKG_CONFIG_PATH=/home/nuno/$DORSALVERSION/FEniCS/lib/pkgconfig:$PKG_CONFIG_PATH
export
PYTHONPATH=/home/nuno/$DORSALVERSION/FEniCS/lib/python2.7/site-packages:/home/nuno/$DORSALVERSION/FEniCS/lib/python2.7/site-packages:$PYTHONPATH
export MANPATH=/home/nuno/$DORSALVERSION/FEniCS/share/man:$MANPATH

# Variable to help find dolfin-config.cmake
export DOLFIN_CMAKE_CONFIG_PATH=/home/nuno/$DORSALVERSION/FEniCS/share/cmake

# TO SOLVE LD DSO LINKAGE PROBLEMS
export DOLFIN_LIB_SO=/home/nuno/$DORSALVERSION/FEniCS/lib/libdolfin.so
export MPI_CXX_LIB_SO=/usr/lib/libmpi_cxx.so
export MPI_LIB_SO=/usr/lib/libmpi.so
export TEUCHOS_LIB_SO=/home/nuno/$DORSALVERSION/FEniCS/lib/libteuchos.so

Adapt it for your paths...
Hope it helps.

On Thu, Dec 19, 2013 at 3:36 PM, osman <<email address hidden>
> wrote:

> Question #241002 on DOLFWAVE changed:
> https://answers.launchpad.net/dolfwave/+question/241002
>
> Status: Answered => Solved
>
> osman confirmed that the question is solved:
> Thanks Nuno. I was able to find the problem and changed dolfin config file
> to point to /usr/lib/atlas-base not /usr/lib for those linear algebra
> math libs. Now I geta 100% completion without any errors. But now "make
> demo" doesn't know where dolfwave.h resides. I did a make install. but
> still the same problem. If I knew all the compile flags of how to compile I
> would have done it manually but it is burries deep in bunch of cmake/make
> files. :-( I know you said you don't have time right now but wanted to let
> you know at least the libs build without problems with dolfin 1.2.0
> Thanks,
> Osman
>
> --
> You received this question notification because you are an answer
> contact for DOLFWAVE.
>