Re: [Towhee-users] Problem making towhee with tramonto
Brought to you by:
marcus_martin
|
From: Marcus M. <mar...@us...> - 2008-10-12 15:19:56
|
On Wed, Oct 8, 2008 at 12:58 PM, Babak Fazel <bk...@ya...> wrote: > I have successfully configured towhee-6.0.0 with the options below, but it > produces the following error during the 'make' command. Any suggestions will > be appreciated. > [bfazel@cluster Source]$ make towhee > mpicc -fbounds-check -fbounds-check -o towhee accumulateaverages.o ... towhee.o rex.o > -L../lib > -L/opt/openmpi/lib -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -L/usr/lib/gcc/i386-redhat-linux/4.1.2/../../.. > /usr/bin/ld: cannot find -ldft I snipped this a bit to highlight the key parts. The error message is letting you know that libdft.a was not found (cannot find -ldft). You need to compile Tramonto as a library and then place it in one of the directories that the code is searching for libraries. The default place to put that library is in the ../lib directory (so that would be /towheebase/lib next to the /towheebase/Source directory where you are compiling the code). You need to make that directory and then place the appropriate libraries there. As Tramonto also needs some libraries you may need to place them there as well if they are not already in one of the other default places the Makefile searches on your computer. Laura Frink should be able to help you compile Tramonto as a library. Used to be that a flag had to be changed somewhere in one of the Makefiles, but she might have made this more elegant by now. > Also, is there a capability with towhee to store and report the ensemble > average of squared volume (<v^2>)? Second time someone has asked for this lately. I'll put it in the next version (6.0.2). Marcus -- Marcus G. Martin Director, Useful Bias Incorporated 88 Martinez Road Edgewood NM 87015-8222 ph. (505) 286-4457 www.usefulbias.com www.photobirder.com |