Skip to Content.
Sympa Menu

charm - Re: [charm] Issues trying to run mpi-coexist example

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Issues trying to run mpi-coexist example


Chronological Thread 
  • From: Steve Petruzza <spetruzza AT sci.utah.edu>
  • To: Phil Miller <mille121 AT illinois.edu>
  • Cc: Sam White <white67 AT illinois.edu>, Jozsef Bakosi <jbakosi AT gmail.com>, charm <charm AT lists.cs.illinois.edu>
  • Subject: Re: [charm] Issues trying to run mpi-coexist example
  • Date: Wed, 22 Jun 2016 17:42:13 +0300

Thank you Phil,

I tried both with the error is still the same here the dump (single core):
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
Performing '/opt/local/bin/gmake basics OPTS=-optimize -production QUIET= CONFIG_OPTS=--disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats --enable-tracing' in mpi-darwin-x86_64/tmp
/opt/local/bin/gmake charmxi
gmake[1]: Entering directory '/Users/steve/Research/SCI/workspace/charm/mpi-darwin-x86_64/tmp'
./configure --disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats --enable-tracing
Error checking is disabled
Statistics collection is disabled
Charm tracing is enabled
Charm tracing communication thread is disabled
CharmDebug is disabled
Charm record/replay is disabled
CCS is enabled
Charm control point is disabled
Charm LB user data is disabled
Charm shrink expand 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 -mmacosx-version-min=10.11     "
checking "whether C++ compiler works"... "ok"
checking "C++ linker as"... "mpicxx -m64 -dynamic -fPIC -fno-common -mmacosx-version-min=10.11     "
checking "whether linker works"... "ok"
checking "Native C++ compiler as"... "clang++  -stdlib=libc++ "
checking "Sequential C++ compiler as"... "mpicxx -m64 -dynamic -fPIC -fno-common -mmacosx-version-min=10.11 "
checking "whether compiler accept -fno-stack-protector"... "ok"
checking "whether C++ compiler supports C++11 without flags"... "yes"
checking "whether C++ compiler supports C++11 with '-std=c++0x'"... "yes"
Setting charm++ envelope refnum field to unsigned short
Configuring support for message priorities of arbitrary size (bitvectors)
checking "whether compiler generates code for 64-bit"... "yes"
checking "whether compiler supports std::alignment_of"... "yes"
checking "whether has values.h "... "no"
checking "whether has stdint.h "... "yes"
checking "whether has malloc.h "... "no"
checking "whether has alloca.h "... "yes"
checking "whether has regex.h "... "yes"
checking "whether long long works"... "yes"
checking "whether __int64 works"... "no"
checking "whether __int128 (128-bit integer) works"... "yes"
checking "whether __int128_t (128-bit integer) works"... "yes"
checking "whether long double works"... "yes"
checking "whether ucontext has FPU pointer"... "no"
checking "whether ucontext has pointer (v_regs) of vector type"... "no"
checking "whether ibverbs ibv_port_attr has link_layer field"... "no"
checking "whether inline works in C"... "yes"
checking "whether C++ signed char and char differ"... "yes"
checking "whether C++ allows declaration of varsize array"... "yes"
checking "whether typeinfo/typeid works"... "ok"
checking "whether std::iterator_traits is defined"... "ok"
checking "whether std::distance is defined"... "ok"
checking "whether std::inserter is defined"... "ok"
checking "whether std::unordered_map is defined"... "ok"
checking "whether anon structs are permitted"... "yes"
checking "whether operator delete can be overloaded in same class"... "ok"
checking "whether offsetof is defined"... "yes"
checking "whether GCC x86 assembly works"... "yes"
checking "whether GCC x86 assembly for atomic increment works"... "yes"
checking "whether GCC IA64 assembly works"... "no"
checking "whether asm eieio assembly works"... "no"
checking "whether __thread (Thread Local Storage) is supported"... "yes"
checking "whether synchronization primitives (__sync_add_and_fetch) works in C"... "yes"
checking "whether synchronization primitives (__sync_synchronize) works in C"... "yes"
checking "whether fence intrinsic primitives (__builtin_Xfence_ia32) works in C"... "no"
checking "whether switching TLS register (64-bit) is supported"... "no"
checking "whether build on MPI"... "yes"
checking "whether need to specify MPI library"... "no"
checking "whether MPI_Init_thread is supported"... "yes"
checking "whether macro conflicts occurs due to C++ MPI bindings"... "no"
checking "whether getrusage accepts RUSAGE_THREAD"... "no"
checking "whether has asctime"... "yes"
checking "whether has log2"... "yes"
checking "whether has sqrtf"... "yes"
checking "whether has fabsf"... "yes"
checking "whether has mkstemp"... "yes"
checking "whether has system"... "yes"
checking "whether has sync()"... "yes"
checking "whether has fsync()"... "yes"
checking "whether has fdatasync()"... "no"
checking "whether has sbrk"... "yes"
checking "whether has _setjmp/_longjmp"... "yes"
checking "whether has mstats"... "no"
checking "whether has mallinfo"... "no"
checking "whether has popen"... "yes"
checking "whether has poll"... "yes"
checking "whether has getpagesize"... "yes"
checking "whether has getpid"... "yes"
checking "whether has kill"... "yes"
checking "whether has setpriority"... "yes"
checking "whether to use signal-safe system() "... "no"
checking "whether sched_setaffinity call exists"... "no"
checking "whether pthread_setaffinity_np call exists"... "no"
checking "whether pthread_spin_lock exists"... "no"
checking "whether bindprocessor call exists"... "no"
checking "whether dlopen links without -ldl"... "yes"
checking "whether dlopen links with -ldl"... "yes"
checking "whether gethostname call exists"... "yes"
checking "whether getProcAddress works"... "no"
checking "whether has socklen_t"... "yes"
checking "whether getifaddrs call exists"... "yes"
checking "whether the mmap() syscall exists"... "yes"
checking "whether mmap() accepts MAP_ANON"... "yes"
checking "whether mmap() accepts MAP_NORESERVE"... "yes"
checking "whether has get_myaddress"... "no"
checking "whether has mprotect"... "yes"
checking "whether glibc backtrace works"... "yes"
checking "whether has sleep "... "yes"
checking "whether has usleep "... "yes"
checking "whether personality() and ADDR_NO_RANDOMIZE exist"... "no"
checking "whether has zlib"... "yes"
checking "whether has elf.h "... "no"
checking "whether has Multiprocessing.h for Apple "... "no"
checking "whether ntohl is available"... "yes"
checking "whether has libjpeg"... "yes"
checking "whether Python is installed"... "yes"
checking "whether can build shared library"... "yes"
checking "whether can build shared library with MPI"... "yes"
checking for sync... sync 
checking "F77 compiler as"... "g77 "
checking "whether Fortran 77 compiler works"... "no"
checking "F90 compiler as"... "f90 "
checking "whether Fortran 90 compiler works"... "no"
checking subroutine name used by Fortran 90 compiler... "Fortran compiler not working"
configure: creating ./config.status
config.status: creating libs/ck-libs/ampi/ampiCC
config.status: creating conv-autoconfig.h
config.status: conv-autoconfig.h is unchanged
config.status: executing config-cleanup commands
config.status: executing default commands
../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-main.o ../../src/xlat-i/xi-main.C
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
Fatal Error by charmc in directory /Users/steve/Research/SCI/workspace/charm/mpi-darwin-x86_64/tmp
   Command clang++ -stdlib=libc++ -I../bin/../include -D__CHARMC__=1 -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I. -U_FORTIFY_SOURCE -fno-stack-protector -std=c++0x -c ../../src/xlat-i/xi-main.C -o xi-main.o returned error code 1
charmc exiting...
<builtin>: recipe for target 'xi-main.o' failed
gmake[1]: *** [xi-main.o] Error 1
gmake[1]: Leaving directory '/Users/steve/Research/SCI/workspace/charm/mpi-darwin-x86_64/tmp'
Makefile:276: recipe for target 'headers' failed
gmake: *** [headers] Error 2


Is it looking somewhere else for this min version 10.7? in  src/arch/mpi-darwin-x86_64/conv-mach.sh I changed all the occurrences of 10.7 to 10.11

Steve





On 22 Jun 2016, at 17:36, Phil Miller <mille121 AT illinois.edu> wrote:

src/arch/mpi-darwin-x86_64/conv-mach.sh




Archive powered by MHonArc 2.6.16.

Top of Page