Skip to Content.
Sympa Menu

charm - Re: [charm] C++ Compiler Not Working

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] C++ Compiler Not Working


Chronological Thread 
  • From: Eric Bohm <ebohm AT illinois.edu>
  • To: #ABHISHEK NANDA# <ABHI0023 AT e.ntu.edu.sg>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] C++ Compiler Not Working
  • Date: Thu, 10 Jun 2010 07:12:37 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

From your quoted output:

checking "whether C++ compiler works"... "no"

Your problem is that you don't have a working compiler in your path. The usual linux compiler would be the GNU g++ compiler that was not found on that test line. If you have the intel compiler installed instead then you should add icc as an option to your build line. If your machine does not have a compiler installed then you should download the binary distributed of NAMD.


#ABHISHEK NANDA# wrote:
I am unable to build Charm++ because of the following errors:

checking machine name... net-linux-x86_64
checking "C++ compiler as"... "g++ -fPIC -m64 -O -DCMK_OPTIMIZE=1 -nobs"
checking "whether C++ compiler works"... "no"
Cannot compile C++ programs with g++ -fPIC -m64 (check your charm++ version)
make[1]: *** [conv-autoconfig.h] Error 1
make[1]: Leaving directory `/home/abhi0023/Desktop/NAMD_2.7b2_Source/charm-6.1.3/net-linux-x86_64/tmp'
make: *** [headers] Error 2


Regards
Abhishek Nanda
------------------------------------------------------------------------

_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm





Archive powered by MHonArc 2.6.16.

Top of Page