cubed icon indicating copy to clipboard operation
cubed copied to clipboard

Needed to set environment variables

Open TomNicholas opened this issue 3 years ago • 3 comments

I got the first example to run :champagne:

python examples/lithops-add-asarray.py "s3://cubed-$USER-temp" cubed-runtime

But to get it to run on AWS (I don't have a Modal account) I did have to export some environment variables that weren't documented (thank you @yuvipanda):

AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION

I also had to use sudo for some docker commands.

TomNicholas avatar Jul 18 '22 03:07 TomNicholas

Glad it worked!

We can update the docs to mention those environment variables.

I also had to use sudo for some docker commands.

Was this when running lithops runtime build or something else?

tomwhite avatar Jul 18 '22 10:07 tomwhite

Another thing that's missing from the docs is setting ulimit

ulimit -n 1024

I found I needed this for running the larger lithops examples.

tomwhite avatar Jul 18 '22 11:07 tomwhite

Another thing that's missing from the docs is setting ulimit

I added a note about this in https://github.com/cubed-dev/cubed/commit/4a371a9c5c7c9458ade56463f5b23d3271d1cafd

tomwhite avatar Feb 22 '24 11:02 tomwhite