ruoxi-wang / BBFMM3D

Other
23 stars 13 forks source link

Get started tutorial failed #1

Open fbusabiaga opened 10 years ago

fbusabiaga commented 10 years ago

Hi, I was following the get started tutorial but it failed very early. I found two problems: 1) I was not able to compile the code in the repository with "make binary_file_mykernel". I think that the line 74 of "BBFMM3D/include/compute.hpp" should be commented.

2) If I comment the line given above then I'm able to compile the code but when I tried to run the executable "BBFMM3D/exec/binary_file_mykernel" the code crash with

Pre-Compute files do not exit. Creating now ... Segmentation fault (core dumped)

I have not tried anything else as I wanted to run the basic tutorial first. Thanks

ruoxi-wang commented 10 years ago

Hi,

I am sorry about the compiling error, I just updated the code today and I guess I messed up with the comment. Now I have commented line 74.

I also tried running binary_file_mykernel, but for me everything is fine. I get the following results:

Reading pre-compute files ... Direct calculation starts from: 0 to 0. Pre-computation time: 0.008698 FMM computing time: 0.010668 Exact computing time: 0.024205 Relative Error: 2.21292e-05

This is what I did just now:

  1. make binary_file_mykernel
  2. cd exec/
  3. ./binary_file_mykernel

Can I know did you change the input or other parameters so I can understand why there is a seg fault.

Best, Ruoxi

On Sep 26, 2014, at 4:15 PM, fbusabiaga notifications@github.com wrote:

Hi, I was following the get started tutorial but it failed very early. I found two problems: 1) I was not able to compile the code in the repository with "make binary_file_mykernel". I think that the line 74 of "BBFMM3D/include/compute.hpp" should be commented.

2) If I comment the line given above then I'm able to compile the code but when I tried to run the executable "BBFMM3D/exec/binary_file_mykernel" the code crash with

Pre-Compute files do not exit. Creating now ... Segmentation fault (core dumped)

I have not tried anything else as I wanted to run the basic tutorial first. Thanks

— Reply to this email directly or view it on GitHub.

fbusabiaga commented 10 years ago

Hi Ruoxi, Thanks for the quick response.

Can I know did you change the input or other parameters so I can understand why there is a seg fault. No, I only commented the line I told you (BTW I think that the code in the repository is not yet updated).

Now I have to run away from the computer but I'll come back to this on Monday.

Thanks for the help. Floren

ruoxi-wang commented 10 years ago

I think now what is in the github is the same as what is in my local computer. So mine works fine, try it again and if it still doesn't work let me know.

Best, Ruoxi On Sep 26, 2014, at 4:38 PM, fbusabiaga notifications@github.com wrote:

Hi Ruoxi, Thanks for the quick response.

Can I know did you change the input or other parameters so I can understand why there is a seg fault. No, I only commented the line I told you (BTW I think that the code in the repository is not yet updated).

Now I have to run away from the computer but I'll come back to this on Monday.

Thanks for the help. Floren

— Reply to this email directly or view it on GitHub.

vktsn0303 commented 6 years ago

Hi Ruoxi,

I'm using BBFMM3D and github for the first time. I downloaded the files pertaining to this library but I get an error when I perform the To Get Started tutorial. when I type 'make binary_file_mykernel' I get the following error:

fatal error: rfftw.h: No such file or directory

Can you please let me know what I must do? I'm sorry if this is a very basic question. I'm very new to using github and BBFMM3D.

Regards vktsn0303

ruoxi-wang commented 6 years ago

You need to download and install the FFTW library yourself. Please download the fftw2 version. http://www.fftw.org/download.html

On Wed, Dec 20, 2017 at 12:32 PM, vktsn0303 notifications@github.com wrote:

Hi Ruoxi,

I'm using BBFMM3D and github for the first time. I downloaded the files pertaining to this library but I get an error when I perform the To Get Started tutorial. when I type 'make binary_file_mykernel' I get the following error:

fatal error: rfftw.h: No such file or directory

Can you please let me know what I must do? I'm sorry if this is a very basic question. I'm very new to using github and BBFMM3D.

Regards vktsn0303

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ruoxi-wang/BBFMM3D/issues/1#issuecomment-353174774, or mute the thread https://github.com/notifications/unsubscribe-auth/AE18-AHjt-ddNPtlHDmDqRI5Gjo48Yfdks5tCW7OgaJpZM4CnpFn .

vktsn0303 commented 6 years ago

Hi Ruoxi,

Thanks for your quick response. I shall install fftw2 version.

Kind regards, vktsn0303

vktsn0303 commented 6 years ago

Hi Ruoxi,

I deleted my previous comment as I fixed a few things already (after installing fftw2) and didn't want to cause any confusion. But, this is what I get now:

image

The compiler seems to say that it cannot find fftw and rfftw. Please let me know what I must do here. I'm completely lost.

Regards Vktsn0303

jonghyunharrylee commented 6 years ago

You can compile with -L option (-L/your/fftw/path) and also set LD_LIBRARY_PATH to see whether it works.

FYI, I guess BBFMM3D was tested extensively on Linux distributions. If you have to stick to Windows and you are using Windows 10, you would want to test it with "Ubuntu on Windows" rather than Cygwin.

Harry

On Wed, Dec 20, 2017 at 12:54 PM, vktsn0303 notifications@github.com wrote:

Hi Ruoxi,

I deleted my previous comment as I fixed a few things already (after installing fftw2) and didn't want to cause any confusion. But, this is what I get now:

[image: image] https://user-images.githubusercontent.com/34693213/34232526-f0a0c616-e5e0-11e7-9b15-297255dadf5e.png

The compiler seems to say that it cannot find fftw and rfftw. Please let me know what I must do here. I'm completely lost.

Regards Vktsn0303

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ruoxi-wang/BBFMM3D/issues/1#issuecomment-353206750, or mute the thread https://github.com/notifications/unsubscribe-auth/AKWe5FzX-6a9Vbd2tbx64tTmB-91xXe7ks5tCZA5gaJpZM4CnpFn .