libpjutils install errors

40 views
Skip to first unread message

Desika Narayanan

unread,
May 20, 2014, 1:38:16 PM5/20/14
to sunri...@googlegroups.com
Hi All,

I'm installing sunrise on a CentOS machine with Intel Xeon processors, the latest icc compilers, and boost 1_48_0, the aforementioned correct changeset of blitz ( d4a8862b671a ), cfitsio3360 and CCfits-2.4.   

I've followed the installation instructions on the wiki verbatim, and so far so good.  On the installation of libpjutils however I call (as suggested):

[desika@fock libpjutil]$ ./configure --prefix=$HOME --with-boost=$HOME

and get the error:

checking whether the Boost::Thread library is available... yes
configure: WARNING: BOOST_CPPFLAGS -pthread 
checking whether the Boost::Serialization library is available... yes
configure: error: Could not find a version of the library!

I have my boost libraries in my $HOME/lib folder:

[desika@fock lib]$ pwd
/home/desika/lib

[desika@fock lib]$ ls
boost         libblitz.a   libCCfits.la  libCCfits.so.0      libcfitsio.a  libhdf5.la        libhdf5.so    libhdf5.so.8.0.1
boost_1_48_0  libblitz.la  libCCfits.so  libCCfits.so.0.0.0  libhdf5.a     libhdf5.settings  libhdf5.so.8  pkgconfig

where 'boost' is a soft link to boost_1_48_0


and boost in my include folder:

[desika@fock include]$ pwd
/home/desika/include

[desika@fock include]$ ls
blitz         fitsio2.h     H5Cpublic.h  H5FDdirect.h  H5FDmpiposix.h  H5Fpublic.h   H5Opublic.h   H5public.h   H5Zpublic.h
boost         fitsio.h      H5Dpublic.h  H5FDfamily.h  H5FDmulti.h     H5Gpublic.h   H5overflow.h  H5Rpublic.h  hdf5.h
boost_1_48_0  H5ACpublic.h  H5Epubgen.h  H5FDlog.h     H5FDpublic.h    H5Ipublic.h   H5PLextern.h  H5Spublic.h  longnam.h
CCfits        H5api_adpt.h  H5Epublic.h  H5FDmpi.h     H5FDsec2.h      H5Lpublic.h   H5Ppublic.h   H5Tpublic.h  random
drvrsmem.h    H5Apublic.h   H5FDcore.h   H5FDmpio.h    H5FDstdio.h     H5MMpublic.h  H5pubconf.h   H5version.h


where 'boost' is a soft link to boost_1_48_0/boost.  I don't find that setting --with-boost-libdir=$HOME/lib  or --with-boost-libdir=$HOME/lib/boost solves the problem.  Has anyone run into this, and if so, do you have any suggestions?


Thanks,
desika


Desika Narayanan

unread,
May 21, 2014, 11:14:17 AM5/21/14
to sunri...@googlegroups.com
Hi All,

To close the thread, Hayward noticed (via offline email) that I had missed the following:

export CC=icc
export CXX=icpc

those fixed this issue.  Thanks Chris!

-desika
Reply all
Reply to author
Forward
0 new messages