xavierandrade / fortrancl Goto Github PK
View Code? Open in Web Editor NEWFortranCL: a Fortran 90 interface for OpenCL
License: GNU Lesser General Public License v3.0
FortranCL: a Fortran 90 interface for OpenCL
License: GNU Lesser General Public License v3.0
I try to compile fortrancl on a Xeon server, OS: Ubuntu server, 12.04.4. Intel
OpenCL SDK 2013 and AMD OpenCL SDK have been tried. Fortrancl library can be
compiled correctly while examples in package could not generated correctly.
What steps will reproduce the problem?
1. Platform: Intel Xeon 2653, with Intel OpenCL SDK 2013, AMD SDK gives same
error
2. Compiler: ifort + gcc, ifort + icc give same error
3. Make fortrancl library works fine. But compile and link examples in
fortrancl failed.
4. Noticed warning messages likes
checking CL/cl.h usability... yes
checking CL/cl.h presence... no
configure: WARNING: CL/cl.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: CL/cl.h: proceeding with the compiler's result
checking for CL/cl.h... yes
When I try to compile and link examples, it will failed like
Furthermore, I have tried to use fortrancl on my Mac and a personal computer
with AMD SDK and ubuntu 12.04.4 and without any problem and no above warning
message given.
The "fortrancl" is a cute tools.
Original issue reported on code.google.com by [email protected]
on 4 May 2014 at 10:18
Attachments:
install cygwin on windows7 64 bit
add fortran xe studio 2013 for ifort intel compiler
add path to cygwin
start
./configure FC=ifort
later it will claim that it is unable to compile .f90 files
is this a problem with the current version of ifort?
config.log is attached
Original issue reported on code.google.com by [email protected]
on 16 Oct 2013 at 3:27
Attachments:
After compiling with Intel Fortran (latest version)
, the example code "sum" run as following :
-----------------------------------------------------
CL device:
Caicos
"/tmp/OCLc88xhl.cl", line 1: error: expected a declaration
/oi 1 r
^
At e
nd of source: warning: parsing restarts here after previous syntax error
1 err
or detected in the compilation of "/tmp/OCLc88xhl.cl".
Internal error: clc com
piler invocation failed.
Error: program build failed.
------------------------------------------------------
My OS is scientific linux 63
Thanks
Original issue reported on code.google.com by [email protected]
on 6 Sep 2012 at 10:19
Looks like to many C&P for me ;)
Original issue reported on code.google.com by [email protected]
on 3 Apr 2012 at 4:55
Attachments:
The code will not work if the Fortran compiler uses 8 bytes integers by default.
Original issue reported on code.google.com by xavier.andrade.valencia
on 18 Dec 2011 at 4:49
What steps will reproduce the problem?
1. Create a command queue with CL_QUEUE_PROFILING_ENABLE
2. Call a C function who uses it. "call cfunction(command_queue)" "void
cfuction(cl_command_queue *cmd_queue)"
3. call clGetEventProfilingInfo to get info about the event who used the
*cmd_queue
What is the expected output? What do you see instead?
Info about the event. CL_PROFILING_INFO_NOT_AVAILABLE.
What version of the product are you using? On what operating system?
Running on Debian 6 kernel 2.6.32, ifort and icpc as compilers.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 May 2013 at 6:25
There are multiple definitions in fortrancl.pc.in. The multiple definitions of
prefix cause an error with pkg-config --all. See the patch.
Original issue reported on code.google.com by [email protected]
on 13 Jul 2013 at 11:05
Attachments:
At line 91 of cl_kernel_low.c is:
void FC_FUNC_(clgetkernelworkgroupinfo_int64, CLGETKERNELWORKGROUPINFO_int64)
The second argument should be all uppercase.
Original issue reported on code.google.com by [email protected]
on 30 Aug 2013 at 7:50
I would like to propose a few enhancement to the build system:
1) allow to build both shared and static libs, (while defaulting to shared) [1]
2) install .pc file
3) don't install module to flat namespace.
Reasoning behind 1) is mostly described in provided link, 2) is just for
convience, 3) will allow in the future to install simultaneously multiple
modules for multiple compilers.
Please note that supplied patch also fixes possible parallel build issues.
Original issue reported on code.google.com by [email protected]
on 15 Jan 2012 at 1:35
Attachments:
The implementation of CLGetPlatformIDs isn't consistent with the OpenCL API and
fails if there is more than one platform. The _single entry passes a 1:1 array
but allows clgetplatformids_listall to overwrite num_platforms with the actual
number of platforms. The subsequent DO loop in clgetplatforms_list then tries
to write to elements past 1, either corrupting memory or causing a run-time
error.
I note that the Fortran interface of CLGetPlatformIDs doesn't correspond to the
spec in the way that num_entries is used. Ideally, the Fortran interface would
mimic the C interface as close as possible, using OPTIONAL arguments to allow
for platforms to be omitted. Having a signature that allows a scalar platform
is a bit odd and encourages improper application programming.
I've got a temporary fix for this that works, but I'd be happier if it were
restructured to match the API for ease of programming and translation. Perhaps
it can be done without an incompatible change on the Fortran side. I will be
playing with this more over the coming months.
That said, I did get it to build and run the SUM sample (with modifications of
the sample as well) using Intel Visual Fortran on Windows and the Intel OpenCL
SDK.
Original issue reported on code.google.com by [email protected]
on 30 Aug 2013 at 8:00
It is very useful! And I want to thank you for your time and energy.
Original issue reported on code.google.com by [email protected]
on 16 Dec 2013 at 12:42
It appears that clSetKernelArgLocal is not added to the library when i build
it.
I am using clSetKernelArgLocal_low now, but then the next iteration fails when
calling clEnqueueWriteBuffer with a CL_MEM_OBJECT_ALLOCATION_FAILURE.
Is clSetKernelArgLocal supposed to be not included?
Original issue reported on code.google.com by [email protected]
on 13 Nov 2013 at 11:46
The only types accepted when compiling the kernel are int and float. The wiki
suggests double may be used for real(8). Here is the error message:
"/tmp/OCLkFtnN3.cl", line 2: error: identifier "double" is undefined
Original issue reported on code.google.com by [email protected]
on 31 Oct 2012 at 6:28
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.