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

About docker usage #17

Open
zhang-rite opened this issue Jun 17, 2021 · 4 comments
Open

About docker usage #17

zhang-rite opened this issue Jun 17, 2021 · 4 comments

Comments

@zhang-rite
Copy link

Hi

Does anyone know how to use the docker image of julia_adfem under the singularity environment?
I have pulled the image. By running "singularity exec ./julia_adfem_v1.sif julia", I can get into a Julia environment. But it shows an empty project, i.e.,"Status ~/.julia/environments/v1.5/Project.toml (empty project)".

In the installation guide of @Ricahrd-Li for AdFem, I did not find the command to run julia_adfem?

For ADCME, I see the command is docker run -ti kailaix/adcme, but I do not know how to translate it for singularity?

Could anyone tell me the right way to use singularity with similar command of docker?

Thanks!

@kailaix
Copy link
Owner

kailaix commented Jun 17, 2021

Hi,

We have not created a singularity container yet. @Ricahrd-Li , do you know why the project is empty?

Maybe you can try a standard installation (using Pkg; Pkg.add("AdFem")) and see if it works.

@zhang-rite
Copy link
Author

Thanks! I have done a standard installation with Pkg.add("AdFem").
Thus since I use externally installed python, I still cannot pass the Segmentation fault when using Mesh as reported in another #16.

@zhang-rite
Copy link
Author

I have also gotten the answer from stackoverflow for running the docker image under singularity with the command singularity run docker://kailaix/adcme . However, the project is still empty.

@zhehaoli1999
Copy link
Contributor

Thanks for the feedback, I'll check it right now.

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

3 participants