Issue 18 in opencurrent: "error: identifier "printf" is undefined" during make

36 views
Skip to first unread message

openc...@googlecode.com

unread,
Jul 5, 2011, 9:14:17 AM7/5/11
to opencurr...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 18 by eskil.au...@gmail.com: "error: identifier "printf" is
undefined" during make
http://code.google.com/p/opencurrent/issues/detail?id=18

What steps will reproduce the problem?
1. Followed instructions in System.cmake.src to cmake.
Had to add the following lines:
SET(NetCDF_INCLUDE_DIR "/usr/include/")
SET(NetCDF_LIBRARY "/usr/lib/libnetcdf.so")

2. Ran make. Got to 8% and were then interrupted by:
<path>/opencurrent-1.1.0/src/ocustorage/transfer_routines.cu(144): error:
identifier "printf" is undefined
<^^Repeated 10 more times for different lines in the same file^^>
11 errors detected in the compilation
of "/tmp/tmpxft_00002674_00000000-4_transfer_routines.cpp1.ii".


What version of the product are you using? On what operating system?
OpenCurrent v1.1.0 release (tar.gz file)
GeForce GTX 580 (compute capability 2.0, 1536 Mb memory).
Ubuntu 11.04 x86_64

Please provide any additional information below.

openc...@googlecode.com

unread,
Aug 24, 2011, 11:35:51 AM8/24/11
to opencurr...@googlegroups.com

Comment #1 on issue 18 by gwj...@hotmail.com: "error: identifier "printf"

I reproduce the problem in Ubuntu 11.04 x86_64, and I add
#include <cstdio>
in the beginning of /src/ocustorage/coarry.h (becuase not only one file
need patched if you edit each .cu files in ocustorage)
then Ok.


Reply all
Reply to author
Forward
0 new messages