charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Isaac Dooley <idooley2 AT uiuc.edu>
- To: Bruno Rodrigues <bbrodrigues AT gmail.com>
- Cc: charm AT cs.uiuc.edu
- Subject: Re: [charm] Compile Charm++ on Mac OS
- Date: Fri, 30 Jul 2010 17:05:52 -0500
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
Do you have a powerpc or intel based mac?
Can you try to see if either of these builds works:
./build charm++ net-darwin-x86
./build charm++ net-darwin-x86_64
Isaac
On Fri, Jul 30, 2010 at 4:59 PM, Bruno Rodrigues <bbrodrigues AT gmail.com> wrote:
Hi,
I' trying to build charm++ on a Mac OS with MPI. I tried many combinations but none of them seem to work.
Bruno-Barbosa-Rodriguess-MacBook:charm-6.2.1 bbrodrigues$ sudo ./build charm++ mpi-darwin-ppc gcc
Selected Compiler: gcc
Selected Options:
Creating dir: mpi-darwin-ppc-gcc
Creating dir: mpi-darwin-ppc-gcc/tmp
Copying src/scripts/Makefile to mpi-darwin-ppc-gcc/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-ppc-gcc/tmp/conv-mach-pre.sh
Generating mpi-darwin-ppc-gcc/tmp/conv-mach-opt.h, conv-mach-opt.sh
Performing 'make basics OPTS= QUIET=' in mpi-darwin-ppc-gcc/tmp
pwd
/Users/bbrodrigues/Documents/doc_ufmg/programs/source_codes/NAMD_2.7b3_Source/charm-6.2.1/mpi-darwin-ppc-gcc/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/util .
./gatherflat ../../src/ck-perf .
./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/xlat-i .
./gatherflat ../../src/xlatcpm .
./gathertree ../../src/QuickThreads QuickThreads
./gathertree ../../src/libs libs
./gathertree ../../src/arch/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
if [ -x ./special.sh ] ; then ./special.sh ; fi
if [ ! -f conv-common.h ] ; then ( touch conv-common.h ) ; fi
touch dirs+sources
make charmxi
./configure
checking machine name... mpi-darwin-ppc-gcc
checking "C++ compiler as"... "g++ -fPIC -Wno-deprecated -Wno-long-double -dynamic -fno-common "
checking "whether C++ compiler works"... "no"
Cannot compile C++ programs with g++ -fPIC -Wno-deprecated
(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-ppc-gcc/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
I have Xcode for C/C++. I also checked if my c++ compiler is working:
Bruno-Barbosa-Rodriguess-MacBook:charm-6.2.1 bbrodrigues$ g++ -fPIC -Wno-deprecated
i686-apple-darwin10-g++-4.2.1: no input files
Thank you very much.
--
--
Msc. Bruno B. Rodrigues
Prof. de Ensino Básico, Técnico e Tecnologico
Escola Preparatória de Cadetes do Ar - EPCAR
_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm
- [charm] Compile Charm++ on Mac OS, Bruno Rodrigues, 07/30/2010
- Re: [charm] Compile Charm++ on Mac OS, Isaac Dooley, 07/30/2010
- Re: [charm] Compile Charm++ on Mac OS, Bruno Rodrigues, 07/30/2010
- Re: [charm] Compile Charm++ on Mac OS, Aaron Becker, 07/30/2010
- Re: [charm] Compile Charm++ on Mac OS, Bruno Rodrigues, 07/30/2010
- Re: [charm] Compile Charm++ on Mac OS, Isaac Dooley, 07/30/2010
Archive powered by MHonArc 2.6.16.