Re: problem compiling NAMD

From: Ivan Gregoretti (ivangreg_at_gmail.com)
Date: Tue Feb 25 2014 - 13:23:23 CST

Hi Hassan,

I am wondering if the following instructions may solve the compilation problems:
http://www.dkvermalinux.in/2011/04/how-to-install-namd-in-linux.html

Please let us know if it works. I plan to try it myself soon, and I
may not be the only one.

Ivan

Ivan Gregoretti, PhD
Bioinformatics

On Tue, Feb 25, 2014 at 1:39 PM, David Hardy <dhardy_at_ks.uiuc.edu> wrote:
> Dear Hassan,
>
> It sounds like the NAMD make files don't have the correct path information to your Charm++ library.
>
> When you go into the NAMD base directory and run ./config, you sill see a list of options used to generate correct path information to the makefiles. You probably need to rerun and specify --charm-base and --charm-arch to your particular subdirectory and charm++ build. There are additional options for fftw and tcl path information that you will also need to specify.
>
> Best regards,
> Dave
>
>
> On Feb 25, 2014, at 12:22 PM, Hassan Kianinejad <hasan_at_cs.ucla.edu> wrote:
>
>> Thank you so much for the illustration; but I just followed that notes, and downloaded and built charm++ library; I also ran some tests: sayHello and also "megatest" and it said it was built successfully ! However when I want to build NAMD (line 517 notes.txt) I am getting the same ERROR that "command not found". I am just following the instructions. I would really appreciate it if you could help me.
>>
>> Kind regards,
>>
>> Hassan Kianinejad
>> Graduate Student
>> VLSI CAD Lab, UCLA
>>
>>
>> ----- Original Message -----
>> From: "David Hardy" <dhardy_at_ks.uiuc.edu>
>> To: "Hassan Kianinejad" <hasan_at_cs.ucla.edu>
>> Cc: namd-l_at_ks.uiuc.edu
>> Sent: Monday, February 24, 2014 11:18:32 AM
>> Subject: Re: namd-l: problem compiling NAMD
>>
>> Dear Hassan,
>>
>> It looks like you didn't first build the Charm++ library. You can download the latest version of Charm++ from http://charm.cs.uiuc.edu/software/. Please also see the instructions in the notes.txt file under the heading "Compiling NAMD."
>>
>> Best regards,
>> Dave
>>
>>
>> On Feb 24, 2014, at 10:48 AM, Hassan Kianinejad <hasan_at_cs.ucla.edu> wrote:
>>
>>> Hi
>>>
>>> I am getting this error after download and installing TCL and FFTW libraries, when I cd to Linux-x86_64-g++ and want to compile: (I would be glad if you could help me fix this problem)
>>>
>>> -bash-3.2$ pwd
>>> /curr/hassan/NAMD/NAMD_CVS-2014-02-24_Source/Linux-x86_64-g++
>>> -bash-3.2$ make
>>> cp src/Node.ci inc
>>> /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc inc/Node.ci
>>> make: /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc: Command not found
>>> make: *** [inc/Node.decl.h] Error 127
>>> -bash-3.2$ gmake -j4
>>> cp src/Node.ci inc
>>> cp src/PatchMgr.ci inc
>>> cp src/ComputeMoaMgr.ci inc
>>> cp src/ComputeMgr.ci inc
>>> /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc inc/Node.ci
>>> gmake: /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc: Command not found
>>> gmake: *** [inc/Node.decl.h] Error 127
>>> gmake: *** Waiting for unfinished jobs....
>>> /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc inc/ComputeMoaMgr.ci
>>> gmake: /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc: Command not found
>>> gmake: *** [inc/ComputeMoaMgr.decl.h] Error 127
>>> /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc inc/ComputeMgr.ci
>>> gmake: /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc: Command not found
>>> gmake: *** [inc/ComputeMgr.decl.h] Error 127
>>> /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc inc/PatchMgr.ci
>>> gmake: /Projects/namd2/charm-6.6/multicore-linux64/bin/charmc: Command not found
>>> gmake: *** [inc/PatchMgr.decl.h] Error 127
>>>
>>>
>>> Kind regards,
>>>
>>> Hassan Kianinejad
>>> Graduate Student
>>> VLSI CAD Lab, UCLA
>>>
>>
>> --
>> David J. Hardy, Ph.D.
>> Theoretical and Computational Biophysics
>> Beckman Institute, University of Illinois
>> dhardy_at_ks.uiuc.edu
>> http://www.ks.uiuc.edu/~dhardy/
>
> --
> David J. Hardy, Ph.D.
> Theoretical and Computational Biophysics
> Beckman Institute, University of Illinois
> dhardy_at_ks.uiuc.edu
> http://www.ks.uiuc.edu/~dhardy/
>
>

This archive was generated by hypermail 2.1.6 : Wed Dec 31 2014 - 23:22:11 CST