CHARM++ on Red Storm devHarness

Get the Source

export CVSROOT=":pserver:checkout@charm.cs.uiuc.edu:/cvsroot"
cvs login
cvs co -P charm

cc-gcc4.sh

export MPICH_CC="/usr/local5/kbferre/REL_1_4_45/install/bin/snos64/qk-gcc"
export MPICH_CXX="/usr/local5/kbferre/REL_1_4_45/install/bin/snos64/qk-g++"

conv-mach.sh

CMK_DEFS="-I/usr/local5/kbferre/REL_1_4_45/install/mpich2-64/P2/include -I/usr/local5/kbferre/REL_1_4_45/install/catamount/linux/include"
CMK_LD_DEFS="-L/usr/local5/kbferre/REL_1_4_45/install/mpich2-64/P2//lib "
 
CMK_CPP_CHARM="/lib/cpp -P"
CMK_CPP_C="gcc -E $CMK_DEFS "
CMK_CXXPP="g++ -E $CMK_DEFS "
CMK_CC="gcc $CMK_DEFS "
CMK_CXX="g++  $CMK_DEFS "
CMK_LD="$CMK_CC $CMK_LD_DEFS"
CMK_LDXX="$CMK_CXX $CMK_LD_DEFS"
CMK_LIBS="-lckqt"
 
CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
 
 
# compiler for compiling sequential programs
CMK_SEQ_CC="gcc "
CMK_SEQ_LD="gcc "
CMK_SEQ_CXX="g++ "
CMK_SEQ_LDXX="g++ "
CMK_SEQ_LIBS=""
 
# compiler for native programs
CMK_NATIVE_CC="gcc "
CMK_NATIVE_LD="gcc "
CMK_NATIVE_CXX="g++ "
CMK_NATIVE_LDXX="g++ "
CMK_NATIVE_LIBS=""
 
CMK_RANLIB="ranlib"
CMK_QT="generic64"
 
# for F90 compiler
CMK_CF77="pgftn "
CMK_CF90="pgftn "
CMK_F90LIBS=""
CMK_F90_USE_MODDIR=1
CMK_F90_MODINC="-p"
 
CMK_NO_BUILD_SHARED=true

Build

cd charm
./build charm++ mpi-crayxt3 gcc4
 
/var/www/ssl/data/pages/kurt/charm.txt · Last modified: 2008/01/07 12:37 (external edit)     Back to top