Wrap all RTS functions exposed to AMPI programs in special macros
[charm.git] / src / arch / common / special.sh
blobdb063f031ccc7b1998fcf65295a03de0a65828d8
1 #!/bin/sh
3 export CHARMINC=../include
4 . ./conv-config.sh
6 if test -n "$BUILD_CUDA"
7 then
8 echo "---------------------- special.sh for cuda executing ----------------"
9 if [ "$CMK_GDIR" == "gni" ] ; then
10 export CRAY_CUDA_PROXY=1
13 ./gathertree $SRCBASE/arch/cuda .
15 # make links
16 test ! -f "../include/hapi_impl.h" && ./system_ln "../tmp/hybridAPI/hapi_impl.h" ../include
17 test ! -f "../include/hapi_functions.h" && ./system_ln "../tmp/hybridAPI/hapi_functions.h" ../include
18 test ! -f "../include/hapi.h" && ./system_ln "../tmp/hybridAPI/hapi.h" ../include
19 test ! -f "../include/hapi_nvtx.h" && ./system_ln "../tmp/hybridAPI/hapi_nvtx.h" ../include
21 #make library
22 export CHARMINC=../include
23 . ./conv-config.sh