Menu

#1 Bugs in install-routine

open
5
2007-08-03
2007-05-29
Anonymous
No

Dear tpo++ admins,

I have been experimenting with tpo++ and am considering integrating it into my code (a lattice Boltzmann implementation) which I am in the process of converting for parallel execution. I thought you might like to know of some issues I faced when compiling and installing tpo++.

1) On my linux machine (Fedora 4) I had to add LDFLAGS="-lpthread" to get configure to run successfully. If I omit this, it fails when checking for mpi, since linking of the automatically generated conftest programme against mpi fails without this flag. I did not encounter this problem when configuring tpo++ on the cluster I use (which uses Suse).

2) It is not possible to "make install" into a specified prefix directory, which is a little annoying. I would like to be able to keep the distribution separate from the built libraries and the headers required when linking against tpo++. At the moment, I am having to move the libraries and headers by hand, or put up with having them in the distribution directories. It would be great if I could use "./configure --prefix=/my/usual/library/location" and then use "make install" to put everything relevant there.

3) Compiling with --enable-debug failed due to a problem with scope resolution of some std library variables. I added "using namespace std;" to line 12 of request.H and the problem went away (though this was a fairly brute force solution!!).

Good luck with tpo++ - I think it is a very useful tool!

Ed Llewellin.

Discussion

  • P. Heckeler

    P. Heckeler - 2007-08-03

    Logged In: YES
    user_id=1749246
    Originator: NO

    On my kubuntu (feisty fawn) machine the configure-script only works when i set the MPICHHOME environment variable mentioned in the user guide (chapter "installation").
    The "--with-mpich=<path to mpich>" switch has no effect.

     
  • P. Heckeler

    P. Heckeler - 2007-08-03
    • assigned_to: nobody --> pheckeler
     
  • P. Heckeler

    P. Heckeler - 2007-08-03
    • labels: --> Install-Procedure
    • summary: Comments about installation --> Bugs in install-routine
     

Log in to post a comment.

MongoDB Logo MongoDB