Changed the interOperate to a global variable so that it is initialized from
[charm.git] / src / arch / net-linux-amd64-cuda / special.sh
1 #!/bin/sh
2
3 echo "---------------------- special.sh for cuda executing ----------------"
4
5 ./gathertree ../../src/arch/cuda .
6
7 # make links
8 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
9
10 #make library
11 export CHARMINC=../include
12 . ./conv-config.sh
13
14 #cat > Makefile.cuda << EOF
15 #PPU_CC = $CMK_CC \$(OPTS)
16 #PPU_CXX = $CMK_CXX \$(OPTS)
17 #SPU_CC = $CMK_SPE_CC \$(OPTS)
18 #SPU_CXX = $CMK_SPE_CXX \$(OPTS)
19 #SPU_LD = $CMK_SPE_LD
20 #SPU_LDXX = $CMK_SPE_LDXX
21 #SPU_AR = $CMK_SPE_AR
22 #PPU_EMBEDSPU = $CMK_PPU_EMBEDSPU
23 #SPERT_LIBS = $CMK_SPERT_LIBS
24 #EOF