Re: charm++ compile problem on x86_64

From: Steven A. DuChene (sduchene_at_scyld.com)
Date: Fri Jan 14 2005 - 17:09:42 CST

OK, if I try the following:

./build charm++ mpi-linux-amd64 gcc

on scyld 29cz-3 I get a LOT of errors about:

../bin/charmc -c -I. futures.c
../bin/charmc: line 1: mpiCC: command not found
../bin/charmc -c -I. cldb.c
../bin/charmc: line 1: mpiCC: command not found

and then I get the same error about:

../bin/charmc -o ../lib/libconv-core.a convcore.o conv-conds.o queueing.o msgmgr.o cpm.o cpthreads.o futures.o cldb.o topology.o random.o debug-conv.o generate.o edgelist.o conv-ccs.o ccs-builtins.o traceCore.o traceCoreCommon.o converseProjections.o machineProjections.o quiescence.o isomalloc.o conv-counter.o global-nop.o
../bin/charmc: line 1: mpiCC: command not found
Warning: creating ../lib_so/libconv-core.so
/usr/bin/ld: convcore.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
convcore.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Failed to compile Charm++ shared library. You can disable shared !!
!! lib compilation by providing --no-build-shared build option like: !!
!! ./build charm++ net-linux --no-build-shared -O !!
!! or reexecute this charmc command with -nobs compile option !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Fatal Error by charmc in directory /usr/local/src/charm/mpi-linux-amd64-gcc/tmp
   Command gcc -o ../lib_so/libconv-core.so -shared -L/usr/local/src/charm/mpi-linux-amd64-gcc/lib_so convcore.o conv-conds.o queueing.o msgmgr.o cpm.o cpthreads.o futures.o cldb.o topology.o random.o debug-conv.o generate.o edgelist.o conv-ccs.o ccs-builtins.o traceCore.o traceCoreCommon.o converseProjections.o machineProjections.o quiescence.o isomalloc.o conv-counter.o global-nop.o returned error code 1
charmc exiting...

On scyld the mpicc is that rather than mpiCC

-- 
Steven A. DuChene

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:39:07 CST