Re: About Namd Installation

From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Sun Jun 16 2013 - 01:23:15 CDT

On Sun, Jun 16, 2013 at 7:14 AM, Vidhya Sankar
<vidhyasankar7928_at_yahoo.com> wrote:
> Dear Namd User I am beginner of Namd
> I have succesfully Built Charm++ But When I configure with Following
> command
> ./config Linux-x86_64-g++ --charm-arch net-linux-x86_64
>
> The New floder has been created namely Linux-x86_64-g++
> Then I have Entered in to that Directory to compile using make command
> then I have go the following error
> mkdir -p inc
> mkdir -p obj
> g++ -m64 -I.rootdir/charm-6.3.2/net-linux-x86_64/include -DCMK_OPTIMIZE=1
> -Isrc -Iinc -Iplugins/include -DSTATIC_PLUGIN
> -I/Projects/namd2/tcl/linux-x86_64/include -DNAMD_TCL
> -I/Projects/namd2/fftw/linux-x86_64/include -DNAMD_FFTW
> -DNAMD_VERSION=\"2.8\" -DNAMD_PLATFORM=\"Linux-x86_64\"
> -DREMOVE_PROXYRESULTMSG_EXTRACOPY -O3 -fexpensive-optimizations
> -ffast-math -o obj/common.o -c src/common.C
> In file included from /usr/include/unistd.h:26:0,
> from src/common.C:12:
> /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or
> directory
> compilation terminated.
> make: *** [obj/common.o] Error 1
>
> How to solve this Error ?

this looks like your linux installation is corrupted and missing some files.

> Wher I have Commited the Mistake

why compile NAMD, if a pre-compiled executable will serve you well?

axel.

>

--
Dr. Axel Kohlmeyer  akohlmey_at_gmail.com  http://goo.gl/1wk0
International Centre for Theoretical Physics, Trieste. Italy.

This archive was generated by hypermail 2.1.6 : Tue Dec 31 2013 - 23:23:20 CST