I’ve added some examples to a undertaking. Nevertheless, once I take a look at them at GrB bundle – github.com/intel/forGraphBLASGo/GrB – Go Packages I can not execute them. The playground studies that it doesn’t discover the exported identifiers of the bundle in query.
I’ve checked every part domestically, each with go check and with go construct in a clear folder, and there every part works nice.
I’m at a loss proper now. What am I lacking?
Thanks loads for any hints upfront,
There are additionally some limitations like
The playground can use many of the commonplace library, with some exceptions. The one communication a playground program has to the surface world is by writing to straightforward output and commonplace error.
Within the playground the time begins at 2009-11-10 23:00:00 UTC (figuring out the importance of this date is an train for the reader). This makes it simpler to cache packages by giving them deterministic output.
There are additionally limits on execution time and on CPU and reminiscence utilization.
The one merchandise from this listing which may apply is the restrict on the execution time, primarily as a result of compiling the library takes considerably lengthy. Thanks loads to your reply!
I hope this helps you clear up your drawback…!
I’m not a Go Playground knowledgeable, however I’m assuming it has one thing to do along with your use of cgo:
// #embody "GraphBLAS.h"
I couldn’t discover something particularly on “does go assist cgo within the playground” or “find out how to allow cgo within the playground”, however I think that’s your drawback. If, for instance, you attempt to use cgo immediately you’ll get the next outcome:
bundle play: construct constraints exclude all Go information in /tmp/sandbox4004760245 Go construct failed.
You possibly can see within the supply that cgo is disabled:
That is conjecture, however, I’m wondering if there’s an error within the toolchain that’s being swallowed, which is then inflicting downstream issues. I’m actually undecided what occurs in the event you construct a undertaking with cgo and have
CGO_ENABLED=0 (I don’t use cgo personally). Additionally – verify this reply out:
In the event you run the included playground hyperlink it’ll affirm that your drawback might be not execution time (compiling that playground hyperlink takes fairly some time!). It is perhaps value opening a difficulty within the official go repo to see what they are saying. I’m assuming they’ll inform you that you simply’re out of luck with cgo however once more, I’ve no expertise with it.