Skip to Content.
Sympa Menu

charm - Re: [charm] please help me - question about installation

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] please help me - question about installation


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: tetyana orynchak <tetyana1234 AT yahoo.com>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] please help me - question about installation
  • Date: Wed, 28 Apr 2010 14:46:01 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

On Wed, Apr 28, 2010 at 14:41, tetyana orynchak
<tetyana1234 AT yahoo.com>
wrote:
>
> Hello,
>
> I am a new user and I would really appreciate if somebody can tell me what
> I am doing wrong. I want to use NAMD on Linux.
>
> I downloaded the main and source tar.gz files and tried to follow the steps
> described in the release note for 64-bit Linux workstation example. I
> successfully unpacked NAMD and matching Charm++ source code and entered the
> charm-6.1.3 directory. Then according to release note I was supposed to
> build Charm++/Converser library. So after entering the command:
> ./build charm++ net-linux-x86_64 --no-build-shared -O -DCMK_OPTIMIZE=1
> I received the following message (since it is long I include only the lower
> part of it with an error code):
>
> /usr/bin/gmake headerlinks
> gmake[1]: Entering directory
> `/home/Tanya/NAMD/NAMD_2.7b2_Source/charm-6.1.3/net-linux-x86_64/tmp'
> ./configure
> checking machine name... net-linux-x86_64
> checking "C++ compiler as"... "g++ -fPIC -m64      --nobuild-shared -O
> -DCMK_OPTIMIZE=1 "
> checking "whether C++ compiler works"... "no"
> Cannot compile C++ programs with g++ -fPIC -m64
>  (check your charm++ version)
> gmake[1]: *** [conv-autoconfig.h] Error 1
> gmake[1]: Leaving directory
> `/home/Tanya/NAMD/NAMD_2.7b2_Source/charm-6.1.3/net-linux-x86_64/tmp'
> gmake: *** [headers] Error 2
> -------------------------------------------------
> Charm++ NOT BUILT. Either cd into net-linux-x86_64/tmp and try
> to resolve the problems yourself, visit
>     http://charm.cs.uiuc.edu/
> for more information. Otherwise, email the developers at
> charm AT cs.uiuc.edu

This suggests that you do not have a compiler installed, or it's not
installed correctly.

If you run "g++ --version", what output do you get? What Linux
distribution and version are you running (run 'cat /etc/issue' if you
don't know)?

On Debian or Ubuntu systems, installing the 'build-essential' package
should provide everything you would need. I don't know the equivalent
on Redhat or Suse.

Phil





Archive powered by MHonArc 2.6.16.

Top of Page