You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instructions for submitting batch jobs via an appbundle. My main codefile includes a single julia file with function definitions and then executes function calls. The job fails when calling include because the julia file with function definitions cannot be found. Since the job was submitted as an appbundle, I am expecting the codefile to be able to include other source files within the appbundledirectory.
To Reproduce
Clone the MWE repo and run submit.jl. The job will fail with the following message:
LoadError: SystemError: opening file "/opt/juliahub/common.jl": No such file or directory
I'd say that this is working as expected. Conceptually, the appbundle gets unpacked as:
main.jl
appbundle/common.jl
so you need to do include("appbundle/common.jl") in the main.jl script. #53 will clarify the docs around this a bit.
Edit: actually, after discussing this with @pfitzseb, the include call (with a relative path) is currently somewhat undefined. So the plan is to make this work as expected, i.e. that you should be able to just include the code as you'd expect (i.e. the includes can stay relative to the script file you are submitting).
Description
I followed the instructions for submitting batch jobs via an appbundle. My main
codefile
includes a single julia file with function definitions and then executes function calls. The job fails when callinginclude
because the julia file with function definitions cannot be found. Since the job was submitted as anappbundle
, I am expecting thecodefile
to be able to include other source files within theappbundle
directory
.To Reproduce
Clone the MWE repo and run
submit.jl
. The job will fail with the following message:Full job lob: Log for jr-awf3mbo64g.json
Environment
v0.1.4
juliahub.com
v1.9.2
The text was updated successfully, but these errors were encountered: