Re: Compliling NAMD in RedHat9

From: Gengbin Zheng (gzheng_at_ks.uiuc.edu)
Date: Wed May 11 2005 - 22:09:15 CDT

It seems that the autoconfig script determined that the g++ installed on
your machine could not compile a test C++ program.
Please check you compiler installation.

also: -NCMK_OPTIMIZE=1 in
./build charm++ net-linux -O -NCMK_OPTIMIZE=1

should be: -DCMK_OPTIMIZE=1

Gengbin

Karina Martinez wrote:

> Hello,
>
>My name is Karina Martinez, I'm new in NAMD. I am trying to install it in a
>Linux computer. But when I ran ./build charm++ net-linux -O -NCMK_OPTIMIZE=1
>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
>to resolve the problems yourself, visit
> http://charm.cs.uiuc.edu/
>for more information. Otherwise, email the developers at ppl_at_cs.uiuc.edu
>
>
> Thanks in advance
>
>Karina
>
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:40:45 CST