Fortran Help with Setting Up FortranCL Programming Environment

  • Thread starter Thread starter Tusike
  • Start date Start date
AI Thread Summary
The discussion centers on setting up FortranCL, a Fortran implementation of OpenCL, on a Windows environment. The user, Tusike, initially struggles with running the `./configure` command due to using the wrong command prompt. Participants clarify that the command should be executed in the MSYS environment that comes with MinGW, not the standard DOS terminal. After installing MSYS, Tusike successfully runs the command. The next step involves downloading the OpenCL SDK from Intel's website to proceed with the installation. The conversation highlights the importance of using the correct environment for compiling and configuring FortranCL on Windows.
Tusike
Messages
137
Reaction score
0
Hi!

I wanted to ask if anybody here has any experience with FortranCL, the Fortran implementation of OpenCL.

If so, I would be really thankful if you could help me in setting up the programming environment to use it. So far, I downloaded the MinGW compilers for fortran and c, and the latest release of fortranCL:

https://code.google.com/p/fortrancl/downloads/detail?name=fortrancl-0.1alpha4.tar.gz&can=2&q=

I'm not really sure what to do with the files contained in the above package. The readme says to open up the command prompt and type in `./configure' as a first step, but I get the error '.' not recognized as an internal or external command...

Any help is greatly appreciated!

-Tusike
 
Technology news on Phys.org
First are you in the proper directory ie it should have a file named configure and second you need to type ./configure with no spaces between the . the slash and then configure.

Try it now.
 
Hi!
Thanks for the quick reply.

Yes, I am in the proper directory, and there is a file named 'configure', no extension.
I'm using Windows 7, but I read that fortranCL should work there too. I hope that's not the problem.

upload_2014-11-1_21-21-41.png
 
On the command line, just type configure, without the . and /. If that doesn't work, it's most likely because configure isn't an executable file.
 
Disclaimer: I have never used Fortrancl

I see you are working on Windows...

Have you ever written and compiled a Fortran program in Windows? I ask this because it seems to me that you may have just downloaded MinGW and probably don't know how to use it...?

The thing is that I suspect that such "./configure" command that you are supposed to run it is supposed to be run from within the "Linux-like" environment of the "msys" prompt command that came with MinGW...and NOT the DOS terminal that you show in your screenshot.
 
Yes, you are perfectly right that I don't really know how to use MinGW. (I am able to use it to compile fortran code in windows though).

I didn't know about MSYS, and I didn't include it when installing MinGW. But now I installed it as well, and the ./configure command is working!

My next step is to install the openCL tools FortranCL uses; I believe to do that I just have to download the SDK package from Intel's site (I have Intel HD Graphics 3000), the first two from here: https://software.intel.com/en-us/articles/opencl-drivers

If I run into any other problems I will ask them again here.

Thanks for everyone's help so far!

-Tusike
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...
Back
Top