-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation problems on Linux #35
Comments
Good point. Note that if one installs FFTW without the |
Thanks for the reply. Yes that makes sense, so this is probably only an issue for users who are installing without root privileges. |
Hi,
Lastly, thanks for figuring out how to install FIt-SNE without privileges. |
I installed |
@yimingli A link to this issue is right here https://github.com/KlugerLab/FIt-SNE on the front page in the Installation/Linux section. How would you suggest to make it more prominent? |
@dkobak Ah, missed that. Thanks. I think I missed that because as a noob, I didn't know the error is related to
I was wondering if this error is related to the path issue. |
@yimingli Ah, I understand now. Sorry, I have no idea about this error. I haven't tried to install pyFIt-SNE myself, I am using the old-school Python wrapper in this package (FIt-SNE). Maybe George @linqiaozhi will be able to help. |
@yimingli Are you perhaps using Python2.x? That would explain this error, according to here. The version of FIt-SNE on PyPI requires Python 3. Could you make sure you're using Python3's pip? Note that this is not really a necessary requirement--the person who made the PyPI version used some Python3 functions, and we never got around to making it backwards compatible. Finally, if you're still having trouble, would you mind opening a new issue? This way if other users have the same problem they can find it, as it is not likely related to installing without root privileges as discussed here. |
For me, .libs was not in fftw-3.3.8 directory but instead was in the directory above it. I dont know why. But thanks mshayan, it works. |
Hi, I had some difficulties installing FIt-SNE on our Linux server, which I thought I would mention here in case others have the same problems.
First, I installed FFTW from source, using the source tarball from the provided link. I installed it into my home directory using the standard commands
./configure --prefix=$HOME
,make
, andmake install
.Then, I cloned the FIt-SNE GitHub repository and tried running the
g++
compiler command provided on the readme page. However, this gave the following errors:and
I managed to fix this by adding extra arguments to specify the
include
andlib
directories (where the FFTW files were installed) in theg++
call, as follows:g++ -std=c++11 -O3 src/sptree.cpp src/tsne.cpp src/nbodyfft.cpp -I<path_to_include_directory> -L<path_to_lib_directory> -o bin/fast_tsne -pthread -lfftw3 -lm
I think it would be helpful to include a few comments on this on the readme page, for users who do not have a lot of experience using compilers.
The text was updated successfully, but these errors were encountered: