Re: [ppl] Compliling NAMD in RedHat

From: Phil Miller (mille121_at_illinois.edu)
Date: Tue Aug 02 2011 - 10:10:18 CDT

Somehow, your system is making configure think that the C compiler is
'g' and not 'gcc'. Is your CC environment variable set? Did something
in NAMD's makefile get edited by accident?

Also, at a higher level, will you be doing NAMD development, or just
using it? You should be able to get precompiled NAMD binaries for your
platform.

On Tue, Aug 2, 2011 at 04:13, HARESH AJANI <ajaniharesh_at_gmail.com> wrote:
> My name is Haresh Ajani, I'm new in NAMD. I am trying to install it in a
> Redhat Linux computer. But when I ran ./build charm net-linux I obtained the
> following: >Creating dir: net-linux >Creating dir: net-linux/tmp >Copying
> src/scripts/Makefile to net-linux/tmp >Soft-linking over bin >Soft-linking
> over lib >Soft-linking over lib_so >Soft-linking over include >Soft-linking
> over tmp >Generating net-linux/tmp/conv-mach-pre.sh >Generating
> net-linux/tmp/conv-mach-opt.h, conv-mach-opt.sh >Performing 'make charm
> OPTS= -O -DCMK_OPTIMIZE=1' in net-linux/tmp >rm -f .gdir >(cd .. ; basename
> "`pwd`" | sed -e 's_at_-.*@@') > .gdir >pwd
>>/home/karina/NAMD_2.5_Source/charm/net-linux/tmp >find . -type l -exec rm
> {} \; >rm -rf QuickThreads >rm -rf libs >rm -rf ../bin ; mkdir ../bin >rm
> -rf ../lib ; mkdir ../lib >rm -rf ../lib_so ; mkdir ../lib_so >rm -rf
> ../pgms >rm -rf ../doc ; ln -s ../doc ../doc >../../src/scripts/gatherflat
> ../../src/scripts . >./gatherflat ../../src/conv-core . >./gatherflat
> ../../src/conv-ldb . >./gatherflat ../../src/conv-ccs . >./gatherflat
> ../../src/conv-perf . >./gatherflat ../../src/ck-core . >./gatherflat
> ../../src/util . >./gatherflat ../../src/ck-perf . >./gatherflat
> ../../src/ck-ldb . >./gatherflat ../../src/langs/simplemsg . >./gatherflat
> ../../src/langs/pvmc . >./gatherflat ../../src/langs/bluegene .
>>./gatherflat ../../src/langs/f90charm . >./gatherflat ../../src/xlat-i .
>>./gatherflat ../../src/xlatcpm . >./gathertree ../../src/QuickThreads
> QuickThreads >./gathertree ../../src/libs libs >./gathertree
> ../../src/arch/util . >./gathertree ../../src/langs langs >./gathertree
> ../../src/arch/common . >./gathertree ../../src/arch/`cat .gdir` .
>>./gatherflat ../../src/arch/`cat .vdir` . >./gathertree ../../pgms ../pgms
>>rm -f ../bin/charmc ; cp charmc ../bin/ >chmod x ../bin/charmc >rm -f .gdir
>>rm -rf ../include ; mkdir ../include >./system_ln ../tmp/conv-*.*h
> ../include >./system_ln ../tmp/cc-*.*h ../include >if [ ! -f conv-common.h ]
> ; then ( touch conv-common.h ) ; fi >touch dirs sources >./configure
>>creating cache ./config.cache >checking machine name... net-linux >set C
> compiler as: g -Wno-deprecated >checking whether C compiler works... no
>>Cannot compile C programs with g -Wno-deprecated > (check your charm
> version) >make: *** [conv-autoconfig.h] Error 1
>>------------------------------------------------- >Charm NOT BUILT. Either
> cd into net-linux/tmp and try I have installed gcc in my linux system but
> still i got these error Please help me out. thanks in advance
> _______________________________________________
> ppl mailing list
> ppl_at_cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/ppl
>
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:57:32 CST