Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] doubt about compilation AMPI

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] doubt about compilation AMPI


Chronological Thread 
  • From: Michael Robson <mprobson AT illinois.edu>
  • To: Sabrina Bergoch <sabrinabms AT gmail.com>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] [ppl] doubt about compilation AMPI
  • Date: Wed, 17 Sep 2014 14:46:10 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

This is per Phil's earlier suggested on a related thread:

Please add -DMPICH_IGNORE_CXX_SEEK and try it again. This is a known problem with MPI implementations derived from MPICH and compilation of any C++ code, including Charm++ among many others. 

For our reference, may I ask what documentation or directions you followed to construct your build command line?

Sincerely,
Michael Robson

On Wed, Sep 17, 2014 at 1:49 PM, Sabrina Bergoch <sabrinabms AT gmail.com> wrote:
Hello,

I am trying to install AMPI on OSX (Version 10.9.4) with: 

./build ampi mpi-darwin-x86_64

but a problem appear:

icem:charm-6.6.0 inpe$ ./build ampi mpi-darwin-x86_64

Creating dir: mpi-darwin-x86_64

Creating dir: mpi-darwin-x86_64/tmp

Copying src/scripts/Makefile to mpi-darwin-x86_64/tmp

Soft-linking over bin

Soft-linking over lib

Soft-linking over lib_so

Soft-linking over include

Soft-linking over tmp

Generating mpi-darwin-x86_64/tmp/conv-mach-pre.sh

Generating mpi-darwin-x86_64/tmp/conv-mach-opt.h, conv-mach-opt.sh

Performing 'make basics OPTS= QUIET= CONFIG_OPTS=' in mpi-darwin-x86_64/tmp

Makefile:1079: Variable OPTS is defined to an empty string. Are you sure this is what you want?

pwd

/Users/inpe/Documents/Doutorado/DEPOSITO/charm-6.6.0/mpi-darwin-x86_64/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; touch ../lib_so/.charmso

rm -rf ../examples

rm -rf ../tests

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/ck-perf          .

./gatherflat ../../src/ck-tune          .

./gatherflat ../../src/ck-ldb           .

./gatherflat ../../src/ck-com           .

./gatherflat ../../src/ck-cp            .

./gatherflat ../../src/conv-com         .

./gatherflat ../../src/langs/simplemsg  .

./gatherflat ../../src/langs/pvmc       .

./gatherflat ../../src/langs/bluegene   .

./gatherflat ../../src/langs/f90charm   .

./gatherflat ../../src/xlatcpm          .

./gathertree ../../src/QuickThreads     QuickThreads

./gathertree ../../src/libs             libs

./gathertree ../../src/arch/util        .

./gathertree ../../src/util             .

./gathertree ../../src/langs            langs

./gathertree ../../src/langs/jade       langs/jade

./gathertree ../../src/arch/common      .

./gathertree ../../src/arch/`cat .gdir` .

test -f ../../src/arch/`cat .gdir`/gdir_link && cat ../../src/arch/`cat .gdir`/gdir_link > .gdir.new && ./gathertree ../../src/arch/`cat .gdir.new`      . || true

./gatherflat ../../src/arch/`cat .vdir` .

./gathertree ../../examples             ../examples

./gathertree ../../tests                ../tests

rm -f ../bin/dep.pl ; cp dep.pl ../bin/

chmod +x charmc

./system_ln  ../tmp/charmc ../bin/

rm -rf ../include ; mkdir ../include

./system_ln  ../tmp/conv-*.*h ../include

./system_ln  ../tmp/cc-*.*h ../include

./system_ln  ../tmp/conv-mach-opt.sh ../include

if [ -x ./special.sh ] ; then ./special.sh ; fi

if [ ! -f conv-common.h ] ; then ( touch conv-common.h ) ; fi

touch dirs+sources

/Applications/Xcode.app/Contents/Developer/usr/bin/make charmxi

Makefile:1079: Variable OPTS is defined to an empty string. Are you sure this is what you want?

./configure

Error checking is enabled

Statistics collection is enabled

Charm tracing is enabled

Charm tracing communication thread is disabled

CharmDebug is enabled

Charm record/replay is enabled

CCS is enabled

Charm control point is enabled

Charm LB user data is disabled

Setting load balancing timer type as 'double'

checking machine name... mpi-darwin-x86_64

checking "cp command as"... cp -p

checking "C++ compiler as"... "mpicxx -m64 -dynamic -fPIC -fno-common     "

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

Cannot compile C++ programs with mpicxx -m64 -dynamic -fPIC -fno-common   

 (check your charm++ version)

*** Please find detailed output in charmconfig.out ***

make[1]: *** [conv-autoconfig.h] Error 1

make: *** [headers] Error 2

-------------------------------------------------

Charm++ NOT BUILT. Either cd into mpi-darwin-x86_64/tmp and try


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

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





Archive powered by MHonArc 2.6.16.

Top of Page