There is no "include" directory within alps. However there is one within lib. I provide its content below. Note that I successfully installed the alps-libs since it has passed all the tests.
ls /home/bulut/alps/lib/alps/
abstract_task.lo abstract_task.o basic_archive.lo basic_archive.o basic_iarchive.lo basic_iarchive.o basic_iserializer.lo basic_iserializer.o basic_oarchive.lo basic_oarchive.o basic_oserializer.lo basic_oserializer.o basic_pointer_iserializer.lo basic_pointer_iserializer.o basic_pointer_oserializer.lo basic_pointer_oserializer.o basic_serializer_map.lo basic_serializer_map.o basic_text_iprimitive.lo basic_text_iprimitive.o basic_text_oprimitive.lo basic_text_oprimitive.o basic_xml_archive.lo basic_xml_archive.o binary_iarchive.lo binary_iarchive.o binary_oarchive.lo binary_oarchive.o bondterm.lo bondterm.o cmdline.lo cmdline.o codecvt_null.lo codecvt_null.o config_file.lo config_file.o convert.lo convert.o copyright.lo copyright.o cpp_regex_traits.lo cpp_regex_traits.o cregex.lo cregex.o c_regex_traits.lo c_regex_traits.o date_generators.lo date_generators.o disorder.lo disorder.o error_code.lo error_code.o evaluator.lo evaluator.o extended_type_info.lo extended_type_info_no_rtti.lo extended_type_info_no_rtti.o extended_type_info.o extended_type_info_typeid.lo extended_type_info_typeid.o factory.lo factory.o fileiter.lo fileiter.o fs_utf8_codecvt_facet.lo fs_utf8_codecvt_facet.o globaloperator.lo globaloperator.o greg_month.lo greg_month.o gregorian_types.lo gregorian_types.o greg_weekday.lo greg_weekday.o icu.lo icu.o info.lo info.o instances.lo instances.o latticedescriptor.lo latticedescriptor.o latticegraphdescriptor.lo latticegraphdescriptor.o latticelibrary.lo latticelibrary.o libalps.la Makefile Makefile.am Makefile.in master_scheduler.lo master_scheduler.o measurement_operators.lo measurement_operators.o modellibrary.lo modellibrary.o montecarlo.lo montecarlo.o mpp_scheduler.lo mpp_scheduler.o nan.lo nan.o observable.lo observable.o observableset.lo observableset.o operations.lo operations.o options_description.lo options_description.o options.lo options.o parameterlist.lo parameterlist.o parameter.lo parameter.o parameters.lo parameters.o parser.lo parser.o parsers.lo parsers.o path.lo path.o polymorphic_iarchive.lo polymorphic_iarchive.o polymorphic_oarchive.lo polymorphic_oarchive.o portability.lo portability.o positional_options.lo positional_options.o posix_api.lo posix_api.o posix_time_types.lo posix_time_types.o po_utf8_codecvt_facet.lo po_utf8_codecvt_facet.o regex_debug.lo regex_debug.o regex.lo regex.o regex_raw_buffer.lo regex_raw_buffer.o regex_traits_defaults.lo regex_traits_defaults.o remote_task.lo remote_task.o remote_worker.lo remote_worker.o rngfactory.lo rngfactory.o scheduler.lo scheduler.o serial_scheduler.lo serial_scheduler.o signal.lo signal.o single_scheduler.lo single_scheduler.o siteterm.lo siteterm.o slave_task.lo slave_task.o static_mutex.lo static_mutex.o stl_port.lo stl_port.o task.lo task.o text_iarchive.lo text_iarchive.o text_oarchive.lo text_oarchive.o throw_exception.lo throw_exception.o unitcell.lo unitcell.o usinstances.lo usinstances.o value_semantic.lo value_semantic.o variables_map.lo variables_map.o void_cast.lo void_cast.o w32_regex_traits.lo w32_regex_traits.o winmain.lo winmain.o worker.lo worker.o workertask.lo workertask.o xdrcore.lo xdrcore.o xdrdump.lo xdrdump.o xmlattributes.lo xmlattributes.o xml_grammar.lo xml_grammar.o xmlhandler.lo xmlhandler.o xml_iarchive.lo xml_iarchive.o xml_oarchive.lo xml_oarchive.o xmlparser.lo xmlparser.o xmlstream.lo xmlstream.o xslt_path.lo xslt_path.o
On Fri, Apr 17, 2009 at 1:53 PM, Matthias Troyer troyer@phys.ethz.chwrote:
Can you tell me the output of ls -l /home/bulut/alps/include/alps
Matthias
On 17 Apr 2009, at 06:36, sinan bulut wrote:
Hi Mathias, here is the configure.log file:
==================== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by alps-applications configure 1.3.4, which was generated by GNU Autoconf 2.62. Invocation command line was
$ ./configure --prefix=/home/bulut/alps/
## --------- ## ## Platform. ## ## --------- ##
hostname = bulut-laptop uname -m = i686 uname -r = 2.6.24-23-generic uname -s = Linux uname -v = #1 SMP Wed Apr 1 21:47:28 UTC 2009
/usr/bin/uname -p = unknown /bin/uname -X = unknown
/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /home/bulut/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /opt/real/RealPlayer
## ----------- ## ## Core tests. ## ## ----------- ##
configure:2188: checking for a BSD-compatible install configure:2256: result: /usr/bin/install -c configure:2267: checking whether build environment is sane configure:2310: result: yes configure:2335: checking for a thread-safe mkdir -p configure:2374: result: /bin/mkdir -p configure:2387: checking for gawk configure:2403: found /usr/bin/gawk configure:2414: result: gawk configure:2425: checking whether make sets $(MAKE) configure:2447: result: yes configure:2636: checking whether to enable maintainer-specific portions of Makefiles configure:2645: result: no configure:2669: checking for ALPS Libraries configure:2675: result: not found configure:2677: error: ALPS Libraries not found.
## ---------------- ## ## Cache variables. ## ## ---------------- ##
ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_make_make_set=yes
## ----------------- ## ## Output variables. ## ## ----------------- ##
ACLOCAL='${SHELL} /home/bulut/applications_alps/config/missing --run aclocal-1.10' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /home/bulut/applications_alps/config/missing --run tar' AR='' AUTOCONF='${SHELL} /home/bulut/applications_alps/config/missing --run autoconf' AUTOHEADER='${SHELL} /home/bulut/applications_alps/config/missing --run autoheader' AUTOMAKE='${SHELL} /home/bulut/applications_alps/config/missing --run automake-1.10' AWK='gawk' BUILD_DIAG_FULLDIAG_FALSE='' BUILD_DIAG_FULLDIAG_TRUE='' BUILD_DIAG_SPARSEDIAG_FALSE='' BUILD_DIAG_SPARSEDIAG_TRUE='' BUILD_DMRG_DMRG_FALSE='' BUILD_DMRG_DMRG_TRUE='' BUILD_DMRG_INTERACTING_FALSE='' BUILD_DMRG_INTERACTING_TRUE='' BUILD_DMRG_PARTICLE_IN_BOX_FALSE='' BUILD_DMRG_PARTICLE_IN_BOX_TRUE='' BUILD_MC_SPINS_FALSE='' BUILD_MC_SPINS_TRUE='' BUILD_QMC_CHECKSIGN_FALSE='' BUILD_QMC_CHECKSIGN_TRUE='' BUILD_QMC_LOOPER_FALSE='' BUILD_QMC_LOOPER_TRUE='' BUILD_QMC_QWL_FALSE='' BUILD_QMC_QWL_TRUE='' BUILD_QMC_SSE2_FALSE='' BUILD_QMC_SSE2_TRUE='' BUILD_QMC_SSE_FALSE='' BUILD_QMC_SSE_LOOP_FALSE='' BUILD_QMC_SSE_LOOP_TRUE='' BUILD_QMC_SSE_TRUE='' BUILD_QMC_WORMS_FALSE='' BUILD_QMC_WORMS_TRUE='' CC='' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='echo' DEFAULT_INCLUDES='' DEFS='' DEPDIR='' DSYMUTIL='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' EXIST_DIAG_FALSE='' EXIST_DIAG_FULLDIAG_FALSE='' EXIST_DIAG_FULLDIAG_TRUE='' EXIST_DIAG_SPARSEDIAG_FALSE='' EXIST_DIAG_SPARSEDIAG_TRUE='' EXIST_DIAG_TRUE='' EXIST_DMRG_DMRG_FALSE='' EXIST_DMRG_DMRG_TRUE='' EXIST_DMRG_FALSE='' EXIST_DMRG_INTERACTING_FALSE='' EXIST_DMRG_INTERACTING_TRUE='' EXIST_DMRG_PARTICLE_IN_BOX_FALSE='' EXIST_DMRG_PARTICLE_IN_BOX_TRUE='' EXIST_DMRG_TRUE='' EXIST_MC_FALSE='' EXIST_MC_SPINS_FALSE='' EXIST_MC_SPINS_TRUE='' EXIST_MC_TRUE='' EXIST_QMC_CHECKSIGN_FALSE='' EXIST_QMC_CHECKSIGN_TRUE='' EXIST_QMC_FALSE='' EXIST_QMC_LOOPER_FALSE='' EXIST_QMC_LOOPER_TRUE='' EXIST_QMC_QWL_FALSE='' EXIST_QMC_QWL_TRUE='' EXIST_QMC_SSE2_FALSE='' EXIST_QMC_SSE2_TRUE='' EXIST_QMC_SSE_FALSE='' EXIST_QMC_SSE_LOOP_FALSE='' EXIST_QMC_SSE_LOOP_TRUE='' EXIST_QMC_SSE_TRUE='' EXIST_QMC_TRUE='' EXIST_QMC_WORMS_FALSE='' EXIST_QMC_WORMS_TRUE='' EXIST_TEST_CHECKSIGN_FALSE='' EXIST_TEST_CHECKSIGN_TRUE='' EXIST_TEST_FALSE='' EXIST_TEST_FULLDIAG_FALSE='' EXIST_TEST_FULLDIAG_TRUE='' EXIST_TEST_LOOPER_FALSE='' EXIST_TEST_LOOPER_TRUE='' EXIST_TEST_MC_FALSE='' EXIST_TEST_MC_SPINS_FALSE='' EXIST_TEST_MC_SPINS_TRUE='' EXIST_TEST_MC_TRUE='' EXIST_TEST_QWL_FALSE='' EXIST_TEST_QWL_TRUE='' EXIST_TEST_SPARSEDIAG_FALSE='' EXIST_TEST_SPARSEDIAG_TRUE='' EXIST_TEST_SSE_FALSE='' EXIST_TEST_SSE_LOOP_FALSE='' EXIST_TEST_SSE_LOOP_TRUE='' EXIST_TEST_SSE_TRUE='' EXIST_TEST_TRUE='' EXIST_TEST_WORMS_FALSE='' EXIST_TEST_WORMS_TRUE='' F77='' FFLAGS='' GREP='' HAVE_IETL_FALSE='' HAVE_IETL_TRUE='' HAVE_LAPACK_FALSE='' HAVE_LAPACK_TRUE='' HAVE_LPSOLVE_FALSE='' HAVE_LPSOLVE_TRUE='' HAVE_MPI_FALSE='' HAVE_MPI_TRUE='' IETL_CPPFLAGS='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDADD='' LDFLAGS='' LDFLAGS_MPI='' LIBOBJS='' LIBS='' LIBS_MPI='' LIBTOOL='' LN_S='' LPSOLVE_CPPFLAGS='' LPSOLVE_LDFLAGS='' LPSOLVE_LIBS='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/bulut/applications_alps/config/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' NMEDIT='' OBJEXT='' PACKAGE='alps-applications' PACKAGE_BUGREPORT='' PACKAGE_NAME='alps-applications' PACKAGE_STRING='alps-applications 1.3.4' PACKAGE_TARNAME='alps-applications' PACKAGE_VERSION='1.3.4' PATH_SEPARATOR=':' RANLIB='' SED='' SET_MAKE='' SHELL='/bin/bash' STRIP='' VERSION='1.3.4' ac_ct_CC='' ac_ct_CXX='' ac_ct_F77='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /home/bulut/applications_alps/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/bulut/alps' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias=''
## ----------- ## ## confdefs.h. ## ## ----------- ##
#define PACKAGE_NAME "alps-applications" #define PACKAGE_TARNAME "alps-applications" #define PACKAGE_VERSION "1.3.4" #define PACKAGE_STRING "alps-applications 1.3.4" #define PACKAGE_BUGREPORT "" #define PACKAGE "alps-applications" #define VERSION "1.3.4" #define ALPS_APPLICATIONS_VERSION "1.3.4"
configure: exit 1
On Fri, Apr 17, 2009 at 1:38 AM, Matthias Troyer troyer@phys.ethz.chwrote:
That should work. if not please send us the configure log file Matthias
On 16 Apr 2009, at 20:32, sinan bulut wrote:
Hi Ryo What you are doing looks more or less the same as what I do I think. What i did was:
ls /home/bulut/ alps-libs alps-apps cd /home/alps-libs ./configure --prefix=/home/alps-libs/ make make install cd /home/alps-apps ./configure --prefix=/home/alps-libs/
and i get the error message here. As you see, the values of "--prefix" is the *same* for both configure scripts. Let me know what you think. I am hesitating to reinstall the libs as you suggested since last time the installation took some 1-2 hours. However, if you are insisting that i should do what you suggest, I can redo the installation.
Thanks,
Cheers.
On Thu, Apr 16, 2009 at 11:16 PM, sinan bulut sbulutw@gmail.com wrote:
Sorry, I just saw your reply. please disregard my last reply.
On Thu, Apr 16, 2009 at 11:14 PM, sinan bulut sbulutw@gmail.com wrote:
Hi again, I put the app files in the same directory as the libs directory, and as i expected it did not work. I don't think that --prefix=... option is used for both lib and app directories. This is because it is explicitly indicated in the wiki page that while configuring the apps installation, --prefix=... stands for the location of the alps "libs": "For easy setup, we have provided a configure script. Just type
$ ./configure --prefix=ALPS_DIR
...ALPS_DIR is the directory where the ALPS *library* is installed"
This makes sense because the script configure for the apps already *knows* its location (which is within the alps apps directory since it belongs there).
Thanks though. let me know what you think.
Cheers.
On Thu, Apr 16, 2009 at 10:49 PM, sinan bulut sbulutw@gmail.comwrote:
Hi Ryo,
So you are suggesting that i should put alps-apps files in the same folder as the alps files. I will give it a shot and let you know about the result soon.
Thanks,
On Thu, Apr 16, 2009 at 10:35 PM, Ryo IGARASHI < rigarash@hosi.phys.s.u-tokyo.ac.jp> wrote:
Hi,
On Fri, Apr 17, 2009 at 11:22 AM, sinan bulut sbulutw@gmail.com wrote: > i am experiencing an un-expected error during installation of the > alps-applications. > When I run the "configure" command, the configuration process stops with the > error that it can not find the alps library. > Well, since that I *expilicitly* indicate the location of the alps libs with > the option "--prefix=/home/bulut/alps", and that I successfully installed > the library (the installation passed *all* the tests successfully) it > doesn't really make sense that I am getting the error message below. > > Have any of you experienced a similar problem or have any idea on what might > cause this? > ============= > bulut@bulut-laptop:~/applications_alps$ ./configure > --prefix=/home/bulut/alps > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for ALPS Libraries... not found > configure: error: ALPS Libraries not found. > =============================
It looks like you don't install ALPS Libraries.
Did you execute $ make install when you build ALPS libraries?
If you sure you did, then I want to ask you another question. What do you specify for the configure script for the ALPS *Libraries* ? The --prefix=/foo/bar option should be the same for Libraries and Applications.
-- Ryo IGARASHI, Ph.D. rigarash@hosi.phys.s.u-tokyo.ac.jp