Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Cuda Make Linux

Cuda Make Linux

Ratings: (0)|Views: 153|Likes:
Published by Robert Hembree

More info:

Published by: Robert Hembree on Jun 22, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

06/22/2012

pdf

text

original

 
SHELL=csh#####################intelcompiler##############CC=icc#FC=ifort#CFLAGS=-w-O3-ip-c#FCFLAGS=-alignall-FR-convertbig_endian-fno-alias-fno-fnalias#OPT=-O3#LD=$(FC)#LDOPT=#settingsforGT240MXXX=32YYY=16#settingsforGTX280#XXX=32#YYY=8#settingsfor5600QuadroandGTX8800#XXX=8#YYY=8#####################gcc/gfortran###############CC=gccFC=gfortranFCFLAGS=-fconvert=big-endian-frecord-marker=4-ffree-formOPT=-O3LD=$(FC)#-rpath/usr/local/cuda/lib64/LDOPT=###################################################donotchangethisdefinition,changetheonefurtherdownFLOAT=floatRWORDSIZE=4#####################cudalocation###############eces-shell#CUDALIBPATH=~/emu/cuda/lib#ncsaCUDALIBPATH=/usr/local/cuda/lib64LIBCUBLAS=$(CUDALIBPATH)/libcublas.soLIBCUDART=$(CUDALIBPATH)/libcudart.so.3LIBCUBLASEMU=$(CUDALIBPATH)/libcublasemu.so########################THISSECTIONYOUCANCHANGE####################Hardcodednumberoflevels(35forconus,28forjan00)MKX=28#uncommentthistouseFLOAT4datatype(optimization)#FLOAT4=-DFLOAT_4=4#thismustalwaysbedefinedbuttheydonotdoanythingunless#othersettingsaresetDEBUG_I=59DEBUG_J=45DEBUG_K=1DEBUGOUTPUT=-DDEBUG_I=$(DEBUG_I)-DDEBUG_J=$(DEBUG_J)-DDEBUG_K=$(DEBUG_K)$(FLOAT4)#uncommenttorunonemulatorinsteadofthedevice#DEVICEEMU=-DDEVICEEMU#DEVICEEMU_NVCC=-deviceemu$(DEVICEEMU)#LIBCUBLAS=$(LIBCUBLASEMU)
 
#uncommenttooutputdetaileddebugdataoutput#musthaveDEVICEEMUsettingsuncommentedabove#DEBUGOUTPUT=-DDEBUGOUTPUT-DDEBUG_I=$(DEBUG_I)-DDEBUG_J=$(DEBUG_J)-DDEBUG_K=$(DEBUG_K)$(FLOAT4)#uncommenttoallowsettingstoforcecloseragreement#DEBUGDEBUG=-DDEBUGDEBUG#uncommentfortopromoteto8bytefloats#note,ifyoudothiswithoutDEVICEEMUabove,compilerwillcomplainitdoesnothaveenoughsharedmem#PROMOTE=-DPROMOTE#FLOAT=double#FCFLAGS=-fconvert=big-endian-frecord-marker=4-fdefault-real-8#RWORDSIZE=8########################ENDOFSECTIONYOUCANCHANGE#################NVCC=nvcc-DCUDANVCC=/usr/local/cuda/bin/nvcc-DCUDA-ccbin/usr/bin#--ptxas-options=-vPHASE=-ptxPHASE=-cudaNVOPT=$(DEVICEEMU_NVCC)$(PROMOTE)$(DEBUGDEBUG)$(DEBUGOUTPUT)\-DXXX=$(XXX)-DYYY=$(YYY)-DMKX=$(MKX)--host-compilation'C++'--use_ fast_math.SUFFIXES:all:vanillachocolatecompare_snapswsm5.cu.o:wsm5.cum4wsm5.cu|sed"s/float/$(FLOAT)/g">y.cu$(NVCC)$(PHASE)$(NVOPT)y.cu/bin/mvy.cu.cppwsm5.cu.cpp$(CC)$(CFLAGS)-cwsm5.cu.cppwsm5_gpu.cu.o:wsm5_gpu.cuspt.hm4wsm5_gpu.cu|spt.pl|sed"s/float/$(FLOAT)/g">x.cu$(NVCC)$(PHASE)$(NVOPT)x.cu/bin/mvx.cu.cppwsm5_gpu.cu.cpp$(CC)$(CFLAGS)-cwsm5_gpu.cu.cpplibmassv.o:libmassv.F/lib/cpp-C-Plibmassv.F>libmassv.f90$(FC)-c$(OPT)$(FCFLAGS)libmassv.f90microclock.o:microclock.c$(CC)-c$(CFLAGS)-DMKX=$(MKX)microclock.c#vanilla:module_mp_wsm5.Flibmassv.omicroclock.o#/lib/cpp-C-P$(DEBUGDEBUG)$(DEVICEEMU)$(DEBUGOUTPUT)-DRWORDSIZE=$(RWORDSIZE)module_mp_wsm5.F>module_mp_wsm5.f90#$(FC)-c$(OPT)$(FCFLAGS)module_mp_wsm5.f90#$(LD)-owsm5_driver_vanilla$(LDOPT)module_mp_wsm5.olibmassv.omicroclock.o$(LIBCUBLASEMU)vanilla:module_mp_wsm5.Flibmassv.omicroclock.o/lib/cpp-C-P$(DEBUGDEBUG)$(DEVICE)$(DEBUGOUTPUT)-DRWORDSIZE=$(RWORDSIZE)module_mp_wsm5.F>module_mp_wsm5.f90

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->