Comments (9)
Hi,
I just compiled FFTW version 3.3.8 and installed it under my home folder (Ubuntu 16.04) since I do not have sudo
rights on our cluster. I want to point out a minor thing to avoid possible confusions for other users. In my case, there was no include
folder. The header files were located under the api
folder. Also, the lib
is called .libs
. As a result, I created the binary for fast_tsne using the following command:
g++ -std=c++11 -O3 src/sptree.cpp src/tsne.cpp src/nbodyfft.cpp -I ~/fftw-3.3.8/api/ -L ~/fftw-3.3.8/.libs/ -o bin/fast_tsne -pthread -lfftw3 -lm
Lastly, thanks for figuring out how to install FIt-SNE without privileges.
from fit-sne.
Good point. Note that if one installs FFTW without the --prefix
then this is not needed and the g++
call works as is, but this probably requires root privileges and so I guess can be inconvenient on a server.
from fit-sne.
@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.
from fit-sne.
Thanks for the reply. Yes that makes sense, so this is probably only an issue for users who are installing without root privileges.
from fit-sne.
I installed fftw
using conda
as suggested here: https://github.com/KlugerLab/pyFIt-SNE. But saw the same fftw3.h: No such file or directory
error. Had to specify the fftw paths to make it work. Took me a while to find this post; I think it would be helpful to add some comments or a link to this issue.
from fit-sne.
@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?
from fit-sne.
@dkobak Ah, missed that. Thanks. I think I missed that because as a noob, I didn't know the error is related to sudo
rights, until I saw your comment above. By the way I falled back to compile myself instead of pip install fitsne
because pip install failed with the message:
Collecting fitsne
Using cached https://files.pythonhosted.org/packages/46/1c/1f28558d49fbc8b719103cf999d12fa76f9e80959b1066803b0bc56bb015/fitsne-0.2.9.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-QvvPHM/fitsne/setup.py", line 10, in <module>
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function
I was wondering if this error is related to the path issue.
from fit-sne.
@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.
from fit-sne.
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.
from fit-sne.
Related Issues (20)
- Passing perplexity_list in R? HOT 1
- dyld: Library not loaded: @rpath/libfftw3.3.dylib with conda FFTW HOT 4
- Confusing instructions for Windows installation HOT 1
- Always get an error about version when using this in SEURAT 3.1.5 HOT 3
- Using no AVX instructions HOT 5
- Installation error in OSX HOT 1
- Error in pip install fitsne HOT 9
- Could not run in Google Colab HOT 1
- need to require rsvd package in R wrapper HOT 3
- Is the PyPI version up to date? HOT 3
- Memory Allocation Failed - Large Datasets HOT 7
- FFT supports only 2 components
- results file (results_date_seed-.dat) is not created HOT 3
- compile fitsne error HOT 3
- Segmentation fault sometime
- Windows installation - HOT 1
- Windows executable for Version 1.2.0 not compiling HOT 5
- How to install KlugerLab / FIt-SNE for Seurat usage in Windows 10 system
- Recommended Parameters for > 3 million cells HOT 8
- Error while compiling FIt-SNE v1.1.0 or 1.0.0 solved Fedora 31 5.6.8-200 while using with Seurat 3.1 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fit-sne.