JohanvandeKoppel / clMussels

OpenCL code for the musselbed self-organization model
MIT License
2 stars 4 forks source link

Naive install fails #1

Closed richelbilderbeek closed 9 years ago

richelbilderbeek commented 9 years ago

A naive installation fails (i.e. an installation following README.md):

Fresh clone:

richel@richel-K73E:~/GitHubs/johanvandekoppel$ git clone https://github.com/JohanvandeKoppel/clMussels.git
Cloning into 'clMussels'...
remote: Counting objects: 29, done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 29 (delta 10), reused 12 (delta 3)
Unpacking objects: 100% (29/29), done.
Checking connectivity... done.

Go into the folder:

richel@richel-K73E:~/GitHubs/johanvandekoppel$ cd clMussels/

Try as in the readme, yet this fails:

richel@richel-K73E:~/GitHubs/johanvandekoppel/clMussels$ cmake ..
CMake Error: The source directory "/home/richel/GitHubs/johanvandekoppel" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

So, which files are present?

richel@richel-K73E:~/GitHubs/johanvandekoppel/clMussels$ ls
CMakeLists.txt  Computing_Kernel.cl  Device_Utilities.cpp  Device_Utilities.h  LICENSE  Main_Program.cpp  PlotMussels.m  PlotMussels.r  README.md  Settings_and_Parameters.h

I am not sure what causes this error. Is there a file missing or is the README.md incorrect.

JohanvandeKoppel commented 9 years ago

Thanks a lot for trying this! My documentation is incomplete.

Install the code Make a subdirectory called "build" : mkdir build go into that directory: cd build. Do as specified!

richelbilderbeek commented 9 years ago

I saw that these instructions now moved to the General-Instructions GitHub. IMHO it is great the documentation is improved, yet I'd prefer a GitHub to be complete, e.g. add an install script to this GitHub, that downloads and installs the General-Instructions GitHub. But hey, that's just me. Keep up the good work!

BTW, IMHO you can close this issue now.

richelbilderbeek commented 9 years ago

I'll suggest a build script somewhere in the future by a Pull Request (you'll see).