Created
November 21, 2020 15:59
-
-
Save isaacabraham/a1b82f70f36502d83d27956a7191a5e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "nuget:MBrace.Thespian" | |
open MBrace | |
open MBrace.Thespian | |
MBrace.Thespian.ThespianWorker.LocalExecutable <- "C:/Users/Isaac/.nuget/packages/mbrace.thespian/1.5.4/tools/mbrace.thespian.worker.exe" | |
let cluster = ThespianCluster.InitOnCurrentMachine(workerCount = 4) | |
(* | |
System.TypeInitializationException: The type initializer for 'MBrace.Thespian.Runtime.WorkerConfiguration' threw an exception. ---> System.TypeInitializationException: The type initializer for '<StartupCode$MBrace-Thespian>.$Configuration' threw an exception. ---> System.MissingMethodException: Method not found: 'Void Argu.ProcessExiter..ctor(Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Argu.ErrorCode,Microsoft.FSharp.Core.FSharpOption`1<System.ConsoleColor>>>)'. | |
at <StartupCode$MBrace-Thespian>.$Configuration..cctor() | |
--- End of inner exception stack trace --- | |
at MBrace.Thespian.Runtime.WorkerConfiguration..cctor() in C:\Users\eirik.tsarpalis\devel\mbrace\MBrace.Core\src\MBrace.Thespian\Worker\Configuration.fs:line 0 | |
--- End of inner exception stack trace --- | |
at MBrace.Thespian.Runtime.WorkerConfiguration.spawnAsync(String nodeExecutable, Boolean runAsBackground, WorkerConfiguration config) | |
at <StartupCode$MBrace-Thespian>.$Client.SpawnAsync@175.Invoke(Unit unitVar) in C:\Users\eirik.tsarpalis\devel\mbrace\MBrace.Core\src\MBrace.Thespian\Client.fs:line 175 | |
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386 | |
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 105 | |
at MBrace.Core.Internals.AsyncExtensions.Async.RunSync[T](FSharpAsync`1 workflow, FSharpOption`1 cancellationToken) in C:\Users\eirik.tsarpalis\devel\mbrace\MBrace.Core\src\MBrace.Core\Utils\AsyncExtensions.fs:line 99 | |
at MBrace.Thespian.ThespianCluster.InitOnCurrentMachine(Int32 workerCount, FSharpOption`1 hostClusterStateOnCurrentProcess, FSharpOption`1 fileStore, FSharpOption`1 faultPolicy, FSharpOption`1 resources, FSharpOption`1 quiet, FSharpOption`1 logger, FSharpOption`1 logLevel) in C:\Users\eirik.tsarpalis\devel\mbrace\MBrace.Core\src\MBrace.Thespian\Client.fs:line 326 | |
at <StartupCode$FSI_0008>.$FSI_0008.main@() in C:\Users\Isaac\Source\Repos\Samples\MBThes.fsx:line 9 | |
Stopped due to error | |
*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment