Changed the interOperate to a global variable so that it is initialized from
[charm.git] / src / arch / mpi-crayxe / special.sh
1 #!/bin/sh
2
3 export CHARMINC=../include
4 . ./conv-config.sh
5
6 if test -n "$BUILD_CUDA"
7 then
8   echo "---------------------- special.sh for cuda executing ----------------"
9
10   ./gathertree ../../src/arch/cuda .
11
12 # make links
13   test ! -f "../include/cuda-hybrid-api.h" && ./system_ln "../tmp/hybridAPI/cuda-hybrid-api.h" ../include && test ! -f "../include/wr.h" && ./system_ln "../tmp/hybridAPI/wr.h" ../include && test ! -f "../include/wrqueue.h" && ./system_ln "../tmp/hybridAPI/wrqueue.h" ../include
14
15 #make library
16   export CHARMINC=../include
17   . ./conv-config.sh
18
19 fi