for reference

----- Forwarded message from Kuo Lu <[email protected]> -----

Date: Thu, 23 Jun 2016 03:03:55 -0400
From: Kuo Lu <[email protected]>
To: Andreas Schäfer <[email protected]>
Subject: updated my work so far
X-Mailer: Apple Mail (2.3124)

Hi Mr. Schafer,

I have uploaded my work <https://github.com/kuolu/LibGeoDecompCommandlineTool> 
so far. I mainly studied your bouncingspheres example. And I’m treating the 
object as a point in one dimension.

A few problems for you:

1.) I put my folder (including a CMakeList.txt just like every other examples) 
in /libgeodecomp/src/examples/ and added "add_subdirectory(commandlineTools)” 
in /libgeodecomp/src/examples/CMakeLists.txt but it still gives me

CMake Error at src/examples/commandlineTools/CMakeLists.txt:5 (add_executable):
  add_executable called with incorrect number of arguments


CMake Error at src/examples/commandlineTools/CMakeLists.txt:6 
(set_target_properties):
  set_target_properties Can not find target to add properties to:
  libgeodecomp_examples_commandlineTools


CMake Error at src/examples/commandlineTools/CMakeLists.txt:7 
(target_link_libraries):
  Cannot specify link libraries for target
  "libgeodecomp_examples_commandlineTools" which is not built by this
  project.

Do I need to add more lines in CMakeLists files? If so, which one?

2.) Looking at your /libgeodecomp/src/examples/bouncingspheres/main.cc, I 
figured that I will use SerialSimulator<Container>, which means I will need a 
Container, initializer, and a writer class just like you did. I figured this 
out as I was writing this email while reading the API documentation… thanks!

3.) what debugger do you use? I cannot use g++ to compile because it cannot 
find <libgeodecomp/config.h> but cmake keeps giving me errors.

4.) To be honest, looking at how much I have done so far, I think I’m far from 
what I have promised. I thought I know a lot but I realize that I do not. I 
want to be honest to myself and deserve a bad comment in the midterm 
evaluation, I feel sincerely sorry both to you and to me. 

Blessings,

Kuo

----- End forwarded message -----

-- 
==========================================================
Andreas Schäfer
HPC and Supercomputing
Institute for Multiscale Simulation
Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
+49 9131 85-20866
PGP/GPG key via keyserver
http://www.libgeodecomp.org
==========================================================

(\___/)
(+'.'+)
(")_(")
This is Bunny. Copy and paste Bunny into your
signature to help him gain world domination!

Attachment: signature.asc
Description: Digital signature

_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to