From: Jérôme Hénin (jerome.henin_at_ibpc.fr)
Date: Mon Nov 12 2018 - 07:45:37 CST
The magic is not working for me... GCC says it can't find tcl.h.
> I don't change anything in arch/ other than CUDA locations
Here I'm trying a non-CUDA build, changing precisely nothing from the git
On Fri, 9 Nov 2018 at 23:21, Jim Phillips <jim_at_ks.uiuc.edu> wrote:
> The config script is magic like that. -Jim
> On Fri, 9 Nov 2018, Vermaas, Joshua wrote:
> > Hi Jerome,
> > Weird. When I build NAMD with 18.04, gnu compilers looks in the system
> directories by default, so I don't change anything in arch/ other than CUDA
> locations when I rebuild NAMD with a new release.
> > -Josh
> > On 2018-11-09 06:01:10-07:00 Jérôme Hénin wrote:
> > Thanks Josh!
> > That said, in my tests the system library locations are not searched, as
> the default line in the arch file is:
> > TCLDIR=/Projects/namd2/tcl/tcl8.5.9-linux-x86_64-threaded
> > Jerome
> > On Thu, 8 Nov 2018 at 18:51, Vermaas, Joshua <Joshua.Vermaas_at_nrel.gov
> <mailto:Joshua.Vermaas_at_nrel.gov>> wrote:
> > The other option is to use dynamically loaded fftw and tcl. On ubuntu, I
> think the relevant packages are "fftw-dev" or "libfftw3-dev" and either
> "tcl8.5-dev" or "tcl8.6-dev", which put things where the default Makefile
> expects to find them.
> > -Josh
> > On 2018-11-08 10:29:37-07:00 owner-namd-l_at_ks.uiuc.edu<mailto:
> owner-namd-l_at_ks.uiuc.edu> wrote:
> > We’ll look into it. Thanks for reporting that, Jerome.
> > Julio
> > On Nov 8, 2018, at 11:18 AM, Jérôme Hénin <jerome.henin_at_ibpc.fr<mailto:
> jerome.henin_at_ibpc.fr>> wrote:
> > Dear all,
> > just an announcement to anyone who'd run into trouble building NAMD with
> GCC as shipped with recent Ubuntu distros. They enable PIE by default:
> > which will break if you try to link NAMD with, say, a static FFTW that
> wasn't built with that option. Then you'll see errors like this:
> >> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
> making a PIE object; recompile with -fPIC
> > This can be fixed by adding the option -no-pie to CXXOPTS in the
> relevant arch file (eg. Linux-x86_64-g++.arch).
> > Jerome
This archive was generated by hypermail 2.1.6 : Tue Dec 31 2019 - 23:20:20 CST