[Wrf-users] Wrf compilation with cuda module on debian squeeze 64

ugo merlini ugomerlini at hotmail.com
Thu Aug 9 06:31:00 MDT 2012


Hi,

I'm trying to compile the cuda part of the wrf model

I downloaded the file tar xzvf wsm5_3.2_standalone.tar.gz edited the makefile disabling LIBCUBLASEMU (i don't have this library)

cuda toolkit 4.2 is installed 

/lib/cpp -C -P   -DDEBUG_I=59 -DDEBUG_J=45 -DDEBUG_K=1  -DRWORDSIZE=4 module_mp_wsm5.F > module_mp_wsm5.f90
module_mp_wsm5.F:1:53: warning: missing terminating ' character
gfortran  -c -O3 -fconvert=big-endian -frecord-marker=4 -ffree-form module_mp_wsm5.f90
gfortran  -o wsm5_driver_vanilla  module_mp_wsm5.o libmassv.o microclock.o 
m4 wsm5.cu | sed "s/float/float/g" > y.cu
nvcc -DCUDA -ccbin /usr/bin  -cuda    -DDEBUG_I=59 -DDEBUG_J=45 -DDEBUG_K=1  -DXXX=8 -DYYY=8 -DMKX=28 --host-compilation 'C++' --use_fast_math y.cu
nvcc warning : option 'host-compilation' has been deprecated and is ignored
y.cu(136): warning: omission of exception specification is incompatible with previous function "bzero"
/usr/include/string.h(457): here

y.cu(137): warning: omission of exception specification is incompatible with previous function "strcpy"
/usr/include/string.h(127): here

y.cu(146): warning: variable "m" was declared but never referenced

y.cu(324): warning: variable "k" was declared but never referenced

y.cu(216): warning: variable "i" was declared but never referenced

y.cu(216): warning: variable "j" was declared but never referenced

y.cu(216): warning: variable "k" was declared but never referenced

y.cu(217): warning: variable "bigbuf" was set but never used

y.cu(218): warning: variable "s1" was declared but never referenced

y.cu(218): warning: variable "e1" was declared but never referenced

y.cu(473): warning: missing return statement at end of non-void function "get_wsm5_gpu_levels_"

y.cu(136): warning: omission of exception specification is incompatible with previous function "bzero"
/usr/include/string.h(457): here

y.cu(137): warning: omission of exception specification is incompatible with previous function "strcpy"
/usr/include/string.h(127): here

y.cu(146): warning: variable "m" was declared but never referenced

y.cu(324): warning: variable "k" was declared but never referenced

y.cu(216): warning: variable "i" was declared but never referenced

y.cu(216): warning: variable "j" was declared but never referenced

y.cu(216): warning: variable "k" was declared but never referenced

y.cu(217): warning: variable "bigbuf" was set but never used

y.cu(218): warning: variable "s1" was declared but never referenced

y.cu(218): warning: variable "e1" was declared but never referenced

y.cu(473): warning: missing return statement at end of non-void function "get_wsm5_gpu_levels_"

/bin/mv y.cu.cpp wsm5.cu.cpp
/bin/mv: impossibile eseguire stat di "y.cu.cpp": No such file or directory
make: *** [wsm5.cu.o] Error 1


Regards

Ugo
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20120809/7a2d7075/attachment.html 


More information about the Wrf-users mailing list