Skip to Content.
Sympa Menu

charm - [charm] Compiling with automake

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Compiling with automake


Chronological Thread 
  • From: Fernando Stump <fstump2 AT illinois.edu>
  • To: charm AT cs.uiuc.edu
  • Subject: [charm] Compiling with automake
  • Date: Mon, 7 Mar 2011 10:57:06 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi,

I'm trying to parallelize a finite element (FE) code with ParFum. The FE code
uses automake to create the makefiles. I'm using g++ (gcc) to compile it.

If I try to substitute CXX=g++ to CXX=charmc, when I call ./configure I get
ab error because charmc cannot create a executable. Below is the error log.

Is thee any manual/tutorial about using automake (or cmake) with charm++ or
ParFum

Thanks
Fernando


configure:5192:
/Users/fstump2/myLibs/charm-6.2/net-darwin-x86-gfortran-gcc/bin/charmc
-verbose -g -I/opt/local/include -I/Users/fstump2/lib/include
-I/usr/lib/include -L/opt/local/lib -L/Users/fstump2/lib/lib conftest.cpp
-lloki >&5
Verbose mode set
Adding file conftest.cpp...
charmc> ----------- Module dependency search complete ------------
Compiling conftest.cpp
charmc: Executing rm -f conftest.o conftest.f.o
charmc: Executing g++ -fPIC -Wno-deprecated -DCMK_GFORTRAN
-I/Users/fstump2/myLibs/charm-6.2/net-darwin-x86-gfortran-gcc/bin/../include
-D__CHARMC__=1 -I/opt/local/include -I/Users/fstump2/lib/include
-I/usr/lib/include -g -c conftest.cpp -o conftest.o
charmc> No target object-- finished
configure:5196: $? = 0
configure:5234: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "yafeq"
| #define PACKAGE_TARNAME "yafeq"
| #define PACKAGE_VERSION "0.0.1"
| #define PACKAGE_STRING "yafeq 0.0.1"
| #define PACKAGE_BUGREPORT "Alejandro Aragon
<alejandro.aragon AT gmail.com>"
| #define PACKAGE_URL ""
| #define PACKAGE "yafeq"
| #define VERSION "0.0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5239: error: in
`/Users/fstump2/Documents/workspace/LibFEM/ssmlib/yafeq_non_linear':
configure:5241: error: C++ compiler cannot create executables






Archive powered by MHonArc 2.6.16.

Top of Page