2013/7/28 Chandan Choudhury <[email protected]>:
> Thanks Christoph,
>
> FFTW was build with --enable static option. So, *.so were absent. On
> compiling FFTW with enable-shared did solve.
Actually it should work with libfftw3.a, too. Can you tell me what the
error in get_canonical_option_prefix was?
>
> Another problem which I encounter while doing make is the following
> Command :
> CC=gcc_472 CXX=g++_472
> CMAKE_PREFIX_PATH=/opt/apps/gcc-4.7.2:/opt/apps/fftw/3.3.3/double:/opt/apps/boost/1.51:/opt/apps/txt2tags-2.6:/opt/apps/gsl:/opt/apps/gmx/single/463:/opt/apps/expat
> cmake .. -DCMAKE_INSTALL_PREFIX=/opt/apps/votca && make -j 8 && make install
>
> Scanning dependencies of target linktest
> [100%] Building CXX object
> src/libtools/CMakeFiles/linktest.dir/linktest.cc.o
> Linking CXX executable linktest
> libvotca_tools.so.2: undefined reference to
> `boost::program_options::detail::cmdline::get_canonical_option_prefix()'
get_canonical_option_prefix is part of boost's libboost_program_options library.

You could run make VERBOSE=1 and see if "-lboost_program_options"
shows up in the line where linktest is build.

> collect2: error: ld returned 1 exit status
> make[2]: *** [src/libtools/linktest] Error 1
> make[1]: *** [src/libtools/CMakeFiles/linktest.dir/all] Error 2
> make: *** [all] Error 2
>
> Cannot understand the error. Hope some one can helo me out.
>
> Chandan
>
>
> --
> Chandan kumar Choudhury
> NCL, Pune
> INDIA
>
>
> On Sun, Jul 28, 2013 at 3:11 AM, Christoph Junghans <[email protected]>
> wrote:
>>
>> 2013/7/27 Chandan Choudhury <[email protected]>:
>> > I have installed fftw 3.3.3 double precision and I try to install the
>> > votca
>> > tools. Below is the command:
>> >
>> > CC=gcc_472 CXX=g++_472
>> >
>> > CMAKE_PREFIX_PATH="/opt/apps/gcc-4.7.2:/opt/apps/fftw/3.3.3/double:/opt/apps/boost:/opt/apps/txt2tags-2.6:/opt/apps/gmx/single/463:/opt/apps/expat"
>> > cmake .. -DCMAKE_INSTALL_PREFIX=/opt/apps/votca
>> I think CMAKE_PREFIX_PATH has to be given to cmake with -D !
>>
>> > I get the following error
>> > -- Found EXPAT: /opt/apps/expat/lib64/libexpat.so
>> > -- checking for module 'fftw3'
>> > --   package 'fftw3' not found
>> > -- Could NOT find FFTW3 (missing:  FFTW3_LIBRARY)
>> > CMake Error at src/libtools/CMakeLists.txt:13 (message):
>> >   FFTW3 not found, make sure you have also installed the fftw3 and it's
>> > dev
>> > package
>> You could try to specify libfftw3.so directly, using
>> -DFFTW3_LIBRARY=/opt/apps/fftw/3.3.3/double/lib/libfftw3.so
>>
>> See
>>
>> <https://code.google.com/p/votca/wiki/Installing#Installing_VOTCA_1.2.2_(on_Rocks_6_Cluster)>
>> for help on advanced cmake options.
>>
>> Christoph
>> >
>> > The cmake version is 2.8.11.
>> >
>> > Please suggest am I missing something very trivial or doing wrong.
>> >
>> > Chandan
>> > --
>> > Chandan kumar Choudhury
>> > NCL, Pune
>> > INDIA
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "votca" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > To post to this group, send email to [email protected].
>> > Visit this group at http://groups.google.com/group/votca.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>> >
>> >
>>
>>
>>
>> --
>> Christoph Junghans
>> Web: http://www.compphys.de
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "votca" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/votca.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "votca" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/votca.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



-- 
Christoph Junghans
Web: http://www.compphys.de

-- 
You received this message because you are subscribed to the Google Groups 
"votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/votca.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to