Skip to content
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

running fibonacci example #33

Closed
photoszzt opened this issue Sep 9, 2019 · 2 comments
Closed

running fibonacci example #33

photoszzt opened this issue Sep 9, 2019 · 2 comments

Comments

@photoszzt
Copy link

Do I need to run upload.sh manually? I find that if I don't run that script, the code would prompt me saying V5tpA.GDOUdjLVlBznCj61Fi8HvqGhIcV67Ni3YvOkEE001bc520 (the hash of the add binary) is missing.

@photoszzt
Copy link
Author

I'm not running on aws lambda. I'm porting the backend to openfaas. But the code is similar to what gcloud has.

@sadjad
Copy link
Member

sadjad commented Sep 16, 2019

It's necessary for a subtle reason: normally, gg would automatically scan all the thunks at the start of the job, and will upload all of the necessary files in one shot to the storage backend. But, in the Fibonacci example, none of the initial thunks have the add binary -- it's gonna be in the thunks that are generated later.

However, I just made a small change to include add in the initial thunk, so running upload.sh is not necessary anymore.

@sadjad sadjad closed this as completed Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants