Comments (9)
Two quick questions:
- The cabal.project.local link seems to be broken; is there something interesting in that file?
- What exactly do you mean with this phrase: "Also the system is set to statically link everything."?
from accelerate.
Statically link means that it will statically link the libraries instead of using dynamic linking (which is the default for arch linux with haskell).
I'm gonna try attaching the file again:
cabal.project.local.txt
from accelerate.
Are those ghc options in the cabal.project.local really necessary? (i.e. what happens if you just remove cabal.project.local?) I would expect cabal to be able to figure out where the package db is that it put there itself in ~/.cabal ... On the other hand, it hardly seems related to your issue.
So with static linking you simply mean that you're using ghcup's ghc/cabal/stack without manually adding -dynamic
, and are not using Arch's arguably broken ghc
package? :P The assumption is indeed that you aren't using a "broken" ghc, so that sounds good. I was fearing that you meant some global CFLAGS
or LDFLAGS
or whatever that tells gcc to do all kinds of strange things.
Not at a computer currently; I or someone else will have a look later, hopefully tomorrow.
from accelerate.
I was just including every file that I remember making manually. I'm pretty sure there's nothing wrong with gcc and it's linking. Thank you.
from accelerate.
Sorry, forgot some stuff.
- Are you using accelerate 1.3.0.0 from Hackage or
master
from this git repo? - Can you post the exact terminal output if you
cabal clean
both here and in the~/src/package-sources/accelerate
folder, and run thecabal build
command again, hopefully including the same symlink-related error?
from accelerate.
I'm using the latest from github. All packages mentioned in those files are pulled from github (some of which I had to modify in order to get everything to compile, but that's for the accelerate-llvm package and it's dependencies).
from accelerate.
@noahmartinwilliams Can you checkout the setup-symlink
branch of accelerate
(this PR), and see if that makes it work for you?
from accelerate.
That worked. Thank you.
from accelerate.
Great! Happy to see that we made the right inference about the cause.
Also thanks for reporting and providing info!
from accelerate.
Related Issues (20)
- [BUG] Unexpectedly long phases when training a neural network HOT 1
- Support CUDA 11 HOT 1
- [BUG] CUDA-10 library doesn't support the Turing-based RTX 2060? HOT 8
- `inconsistent valuation @ shared 'Acc'` when trying to lift non-`Acc` function to `Acc` HOT 6
- `Foreign` instance for reference interpreter
- Is there a way to force accelerate operations to be sequentially evaluated? HOT 10
- [BUG] doc bugs
- Could not enable debugging options HOT 5
- Support GHCJS compilation HOT 7
- [BUG] Function hashes have incorrect length causing internal errors HOT 2
- [BUG] undefined symbol: _ZTIN4llvm10CallbackVHE HOT 4
- [BUG] Value 'sm_30' is not defined for option 'gpu-name' HOT 4
- [BUG] typo in Semigroup instance of Exp (Maybe a) HOT 1
- How to realise convolution? HOT 13
- [Tracking Issue] Implementing (Segmented) Single-Pass Look-Back Scans
- [BUG] Internal error in package accelerate and LLVM.PTX backend: CUDA Exception - misaligned address HOT 1
- [BUG] Runtime error with llvm-ptx backend: double free or corruption (!prev)
- [BUG] ptxas fatal error, sm_89 not defined for gpu-name
- [BUG] Cabal.extra-source-files lists many non-existing cbits files HOT 5
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 accelerate.