2015-10-01 9:34 GMT-06:00 rjadrich2 <[email protected]>:
> Thanks again for getting back to me! I got tied up for a few days and never
> got back to the forum, but I did resolve the issue (I post below in case
> anyone else has a similar issue).
>
> I simply added the line:
>
> ----------------------------------------------------------------------------------------
>  set (ENV{BOOST_ROOT}
> "C:/my/local/boost/directory/containing/include/and/lib/folders/")
> ----------------------------------------------------------------------------------------
>
> to the "CMakeLists.txt" files found in the "tools" and "csg" folders. This
> line is added to the files right before the line in "CMakeLists.txt" calls
> CMake to find the boost directory.
That seems a bit hacky, usually

export 
BOOST_ROOT=C:/my/local/boost/directory/containing/include/and/lib/folders/
(in bash)
or
setenv BOOST_ROOT
C:/my/local/boost/directory/containing/include/and/lib/folders/
(in tsch)
or
cmake 
-DBOOST_ROOT=C:/my/local/boost/directory/containing/include/and/lib/folders/
should do the same.

However, maybe Windows needs the BOOST_ROOT hint feed in a different way.
Also I am not sure if that the iterative framework (csg_inverse) will
actually run under windows due it is bash/perl dependencies.

>
> Thanks again for the help and responsiveness!
>
> One last question though, do you have a PDF version of the manual anywhere
> online so as not to have to download Latex to build (I use ShareLatex for
> everything and am not sure how to integrate the manual into it). If you
> don't plan to upload this I will obviously do the build.
Sure here for older versions:
<https://github.com/votca/downloads>
and here for newer versions:
<https://github.com/votca/csg-manual/releases>

Christoph
>
> Best Regards,
>
> Ryan
>
>
> On Friday, September 25, 2015 at 5:38:34 PM UTC-5, Christoph Junghans wrote:
>>
>> 2015-09-25 10:01 GMT-06:00 rjadrich2 <[email protected]>:
>> > Thanks Christoph! I set BOOST_ROOT appropriately and now it get past the
>> > aforementioned issue. However, now when in the "working on csg" portion
>> > I
>> > get:
>> >
>> >
>> > ---------------------------------------------------------------------------------------------------------------------------------------------------------
>> > CMake Error at
>> > /opt/apps/cmake/3.1.0/share/cmake-3.1/Modules/FindBoost.cmake:1182
>> > (message):
>> >   Unable to find the requested Boost libraries.
>> >
>> >   Unable to find the Boost header files.  Please set BOOST_ROOT to the
>> > root
>> >   directory containing Boost or BOOST_INCLUDEDIR to the directory
>> > containing
>> >   Boost's headers.
>> > Call Stack (most recent call first):
>> >   CMakeLists.txt:68 (find_package)
>> >
>> > ---------------------------------------------------------------------------------------------------------------------------------------------------------
>> >
>> > Why would this happen given I set BOOST_ROOT and the prior thing is now
>> > resolved?  Thanks!
>> Not sure what is going on.
>>
>> What is the command you are trying to use to build VOTCA?
>>
>> Christoph
>> >
>> > Best,
>> >
>> > Ryan Jadrich
>> >
>> >
>> >
>> >
>> > On Thursday, September 24, 2015 at 12:25:27 PM UTC-5, Christoph Junghans
>> > wrote:
>> >>
>> >> 2015-09-24 11:00 GMT-06:00 rjadrich2 <[email protected]>:
>> >> > To whom this may concern,
>> >> >
>> >> > The new version of VOTCA sounds great  and I look forward to using
>> >> > it.
>> >> > However, after attempting to move to the newly released version of
>> >> > VOTCA
>> >> > I
>> >> > have encountered some install issues. I appreciate any help!
>> >> >
>> >> > I cannot seem to get the VOTCA install to recognize the boost
>> >> > program. I
>> >> > have attempted to use both the pre-built version on the
>> >> > supercomputing
>> >> > system as well as installing my own local version. No matter what I
>> >> > try
>> >> > I
>> >> > receive this error:
>> >> >
>> >> >
>> >> > -----------------------------------------------------------------------------------------------------------------------------------------
>> >> >   Unable to find the requested Boost libraries.
>> >> >
>> >> >   Unable to find the Boost header files.  Please set BOOST_ROOT to
>> >> > the
>> >> > root
>> >> >   directory containing Boost or BOOST_INCLUDEDIR to the directory
>> >> > containing
>> >> >   Boost's headers.
>> >> > Call Stack (most recent call first):
>> >> >   CMakeLists.txt:56 (find_package)
>> >> >
>> >> >
>> >> > -----------------------------------------------------------------------------------------------------------------------------------------
>> >> >
>> >> > I checked that after my local build of boost that the
>> >> > BOOST_INCLUDEDIR
>> >> > variable is set and pointing correctly. BOOST_ROOT is not pointing to
>> >> > anything but it appears that VOTCA is OK with one or the other (am I
>> >> > correct?).
>> >> >
>> >> > I also get:
>> >> >
>> >> >
>> >> >
>> >> > -----------------------------------------------------------------------------------------------------------------------------------------
>> >> > CMake Error: The following variables are used in this project, but
>> >> > they
>> >> > are
>> >> > set to NOTFOUND.
>> >> > Please set them or make sure they are set and tested correctly in the
>> >> > CMake
>> >> > files:
>> >> > Boost_INCLUDE_DIR (ADVANCED)
>> >> >    used as include directory in directory
>> >> > /home1/03428/rbj428/votca/src/tools
>> >> >    used as include directory in directory
>> >> > /home1/03428/rbj428/votca/src/tools
>> >> >    used as include directory in directory
>> >> > /home1/03428/rbj428/votca/src/tools/src/libtools
>> >> >    used as include directory in directory
>> >> > /home1/03428/rbj428/votca/src/tools/src/libtools
>> >> >    used as include directory in directory
>> >> > /home1/03428/rbj428/votca/src/tools/src/tools
>> >> >    used as include directory in directory
>> >> > /home1/03428/rbj428/votca/src/tools/src/tools
>> >> >    used as include directory in directory
>> >> > /home1/03428/rbj428/votca/src/tools/share/man
>> >> >    used as include directory in directory
>> >> > /home1/03428/rbj428/votca/src/tools/share/doc
>> >> >
>> >> > -- Configuring incomplete, errors occurred!
>> >> > See also
>> >> > "/home1/03428/rbj428/votca/src/tools/CMakeFiles/CMakeOutput.log".
>> >> > See also
>> >> > "/home1/03428/rbj428/votca/src/tools/CMakeFiles/CMakeError.log".
>> >> > login1.stampede(96)$
>> >> > login1.stampede(96)$   Unable to find the requested Boost libraries.
>> >> > -bash: Unable: command not found
>> >> > login1.stampede(97)$
>> >> > login1.stampede(97)$   Unable to find the Boost header files.  Please
>> >> > set
>> >> > BOOST_ROOT to the root
>> >> > -bash: Unable: command not found
>> >> > login1.stampede(98)$   directory containing Boost or BOOST_INCLUDEDIR
>> >> > to
>> >> > the
>> >> > directory containing
>> >> > -bash: directory: command not found
>> >> > login1.stampede(99)$   Boost's headers.
>> >> >> Call Stack (most recent call first):
>> >> >>   CMakeLists.txt:56 (find_package)
>> >> >
>> >> >
>> >> > -----------------------------------------------------------------------------------------------------------------------------------------
>> >> >
>> >> > I only appear to have CMake file material in the src/tools directory.
>> >> > The
>> >> > others appear to be devoid of any CMake files.
>> >> >
>> >> > Am I doing something dumb? Is more info needed?
>> >> VOTCA needs at least Boost 1.39.0  with the program_options filesystem
>> >> system packages.
>> >> VOTCA is using cmake's module to detect Boost.
>> >>
>> >> Looking at /usr/share/cmake/Modules/FindBoost.cmake:
>> >> # This module reads hints about search locations from variables::
>> >> #
>> >> #   BOOST_ROOT             - Preferred installation prefix
>> >> #    (or BOOSTROOT)
>> >> #   BOOST_INCLUDEDIR       - Preferred include directory e.g.
>> >> <prefix>/include
>> >> #   BOOST_LIBRARYDIR       - Preferred library directory e.g.
>> >> <prefix>/lib
>> >> #   Boost_NO_SYSTEM_PATHS  - Set to ON to disable searching in
>> >> locations
>> >> not
>> >> #                            specified by these hint variables. Default
>> >> is
>> >> OFF.
>> >> #   Boost_ADDITIONAL_VERSIONS
>> >> #                          - List of Boost versions not known to this
>> >> module
>> >> #                            (Boost install locations may contain the
>> >> version)
>> >> So basically you need to set BOOSTROOT as an environment variable or
>> >> cmake variable if boost is in a non-system location.
>> >>
>> >> Christoph
>> >>
>> >> >
>> >> > Thanks for the help!
>> >> >
>> >> > Best,
>> >> >
>> >> > Ryan Jadrich
>> >> >
>> >> >
>> >> > --
>> >> > 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/d/optout.
>> >>
>> >>
>> >>
>> >> --
>> >> 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/d/optout.
>>
>>
>>
>> --
>> 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/d/optout.



-- 
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/d/optout.

Reply via email to